You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 5.6 added a magic method called __debugInfo that returns an array upon calling var_dump on the object. This should be used in place of the debug() method in the classes.
This does not affect compatibility with older PHP versions as the __debugInfo method can be manually called (i.e. $obj->__debugInfo) and var_dump on older PHP versions will return all private, protected, and public variables.
The text was updated successfully, but these errors were encountered:
PHP 5.6 added a magic method called
__debugInfo
that returns an array upon callingvar_dump
on the object. This should be used in place of thedebug()
method in the classes.This does not affect compatibility with older PHP versions as the
__debugInfo
method can be manually called (i.e.$obj->__debugInfo
) andvar_dump
on older PHP versions will return all private, protected, and public variables.The text was updated successfully, but these errors were encountered: