3v4l.org

run code in 300+ PHP versions simultaneously
<?php $small_num = '9999'; $large_num = '9999999999999999999999999999999'; $arr = (array)json_decode("{\"$small_num\":\"1\",\"$large_num\":\"1\"}"); var_dump($arr); var_dump(array( 'isset_small_num_key' => isset($arr[$small_num]), 'isset_large_num_key' => isset($arr[$large_num]), ));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [9999]=> string(1) "1" ["9999999999999999999999999999999"]=> string(1) "1" } array(2) { ["isset_small_num_key"]=> bool(true) ["isset_large_num_key"]=> bool(true) }

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:
41.89 ms | 401 KiB | 8 Q