3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array_sample = array( 0 => array( 'ID' => 1, 'Email' => 'email1', ), 1 => array( 'ID' => 2, 'Email' => 'email2', ) ); var_dump(current($array_sample)); end(end($array_sample)); var_dump(current($array_sample));
Output for rfc.property-hooks, git.master, git.master_jit
array(2) { ["ID"]=> int(1) ["Email"]=> string(6) "email1" } Notice: Only variables should be passed by reference in /in/s96tX on line 15 array(2) { ["ID"]=> int(2) ["Email"]=> string(6) "email2" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.11 ms | 2749 KiB | 4 Q