3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "id", "6086220176", "6542925762", "6623113406", "6702782948", ['333', [['444']]] ]; var_export( json_decode( json_encode( $array, JSON_NUMERIC_CHECK ), true ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'id', 1 => 6086220176, 2 => 6542925762, 3 => 6623113406, 4 => 6702782948, 5 => array ( 0 => 333, 1 => array ( 0 => array ( 0 => 444, ), ), ), )

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