My print_r - debug function, (*1)
Prints human-readable information about a variable, (*2)
via Composer, (*3)
Dump variable and continue, (*4)
mpr($variable);
Dump variable and exit, (*5)
mpr($variable, 1);
When second parameter given you will get information from which file mpr was called, (*6)
Who called me: mpr/test.php line 14
--MPR--Foo Object ( [name] => Foo [data:protected] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) )
--MPR--Array ( [x] => Hello [y] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) [z] => stdClass Object ( [0] => a [1] => b [2] => c ) )
--MPR--string(5) "Hello"