php-ref
php-ref copied to clipboard
A better alternative to print_r / var_dump
`Deprecated: Function ReflectionType::__toString() is deprecated in \vendor\digitalnature\php-ref\ref.phpon line 2060`
Since no new PRs have been accepted in a while, nor have issues been getting resolved - perhaps it's best to mark this project as abandoned so someone else may...
Hi - firstly, thanks for writing this - I use it all the time and find it really useful. When the php-ref output is diplayed, e.g. if I did `r($my_array)`...
Depending of which PHP version is running, a slightly different code is executed in order to adapt the code to the deprecations of `ReflectionParameter::isArray()` and `ReflecionParameter::getClass()`. I've based the modifications...
To reproduce: ```php $foo = @r('works'); $bar = @r('oh no'); echo $bar; ``` Interestingly if you echo $foo out first, both render ok...
Hello, I dont think this is an issue with php-ref but i'm not sure how to fix it. I push vendor folder to origin (tsk, tsk, I know). When I...
Seems like "data-exptxt" only gets set once when r() is used inside a loop. For example: `foreach([1,2,3,4,5] as $n) { r($n); }` The result of the above code is that...
In some cases, ``r()`` on php 7.3 were throwing this error: ``count(): Parameter must be an array or an object that implements Countable`` After adding additional condition, this error gone...