{ php } | |
echo_var | |
date | 2004 |
update | 2006 |
code |
<?php
|
description | my most needed function :) prints a complete array readable or the type and value of a variable because the variable is passed by reference you can't print a value directly |
syntax |
<?php
|
explanation | set bool true if you want use dump instead of print_r on arrays, theres nothing to tell, just include it to your project and check what you need to know...
some examples:
<?php
NULL bool(false) int(2) float(2.76) string(5) "Hallo" string(0) "" int(0) Array ( [0] => lala [1] => lolo [ha] => Array ( [a] => Aa [b] => Bb [0] => 123 [1] => 456 ) [2] => Niko [3] => 42 ) array(3) { [0]=> string(4) "lala" ["ha"]=> array(2) { ["a"]=> string(2) "Aa" [0]=> int(456) } [1]=> string(4) "Niko" } |