Documentation

Benchmark/Debug


Benchmark/Debug

dump( array )
It prints the variable structure. Used to debug array, object or mixed var.

dump( $array );


output example:

dump 
----------------------

Array
(
[id] => 1
[name] => "Luke"
[agency] => "rebellion"
)

----------------------

 

 

memory_usage_start( memName )
Save the memory used at this point

memory_usage_start();



memory_usage( memName )
Get the memory used and format the result

echo memory_usage();