I need a function like var_dump($object) in php
The problem is that the Var_dump function print every thing on the screen and
I just need the answer in a variable.
I mean sth like $variable=var_dump($object); And I dont want to see anything on screen!
thanks
$variable=var_export($object,true);
you needs var_export
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With