Var dump(): Difference between revisions
No edit summary |
|||
| Line 20: | Line 20: | ||
===Example=== | ===Example=== | ||
<code>$ | |||
<code>var_dump($ | <code>$hot_women = ['Tinashe', 'Senait Gidey', 'Jisoo'];</code><br> | ||
<code>var_dump($hot_women);</code> | |||
Outputs: | Outputs: | ||
| Line 27: | Line 28: | ||
<pre> | <pre> | ||
array(3) { | array(3) { | ||
[0]=> string( | [0]=> string(7) "Tinashe" | ||
[1]=> string( | [1]=> string(12) "Senait Gidey" | ||
[2]=> string( | [2]=> string(5) "Jisoo" | ||
} | } | ||
</pre> | </pre> | ||