3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = ["12345", PHP_INT_MAX . "00"]; var_dump($val); echo "\n"; var_dump(json_encode($val)); echo "\n"; var_dump(json_encode($val, JSON_NUMERIC_CHECK));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(5) "12345" [1]=> string(21) "922337203685477580700" } string(33) "["12345","922337203685477580700"]" string(29) "[12345,9.223372036854776e+20]"

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