3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( '', false, null, 0, 0.4, -.1, "\0" ); $arr = array_flip($arr); $arr = array_keys($arr); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: array_flip(): Can only flip string and integer values, entry skipped in /in/8qEgr on line 13 Warning: array_flip(): Can only flip string and integer values, entry skipped in /in/8qEgr on line 13 Warning: array_flip(): Can only flip string and integer values, entry skipped in /in/8qEgr on line 13 Warning: array_flip(): Can only flip string and integer values, entry skipped in /in/8qEgr on line 13 Array ( [0] => [1] => 0 [2] => )

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:
59.96 ms | 406 KiB | 5 Q