Var dump(): Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 20: | Line 20: | ||
===Example=== | ===Example=== | ||
<code>var_dump($ | <code>$hot_women = ['Tinashe', 'Senait Gidey', 'Jisoo'];</code><br> | ||
<code>var_dump($hot_women);</code> | |||
Outputs: | |||
<pre> | |||
array(3) { | |||
[0]=> string(7) "Tinashe" | |||
[1]=> string(12) "Senait Gidey" | |||
[2]=> string(5) "Jisoo" | |||
} | |||
</pre> | |||
Three items in the array. Each one identified by its position, its type, its length, and its value. | |||
Nothing assumed. Nothing hidden. | |||
===See also=== | ===See also=== | ||