3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array( 'x' => '1x', 'y' => 'fgd', 'z' => 'fd', 'f' =>'fg' ); $y = array_keys( $x ); echo debug_zval_dump( $x ); echo "\n"; echo debug_zval_dump( $y );
Output for git.master, git.master_jit, rfc.property-hooks
array(4) refcount(3){ ["x"]=> string(2) "1x" refcount(1) ["y"]=> string(3) "fgd" refcount(1) ["z"]=> string(2) "fd" refcount(1) ["f"]=> string(2) "fg" refcount(1) } array(4) refcount(2){ [0]=> string(1) "x" interned [1]=> string(1) "y" interned [2]=> string(1) "z" interned [3]=> string(1) "f" interned }

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:
38.92 ms | 402 KiB | 8 Q