3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "asString": "100000000000000.00000000000000001", "asFloat": 100000000000000.00000000000000001, "asInteger": 10000000000000000000000000000000000000000000000000000000009 }'; var_dump(json_decode($json)); var_dump(json_decode($json, flags: JSON_BIGINT_AS_STRING));
Output for rfc.property-hooks, git.master, git.master_jit
object(stdClass)#1 (3) { ["asString"]=> string(33) "100000000000000.00000000000000001" ["asFloat"]=> float(100000000000000) ["asInteger"]=> float(1.0E+58) } object(stdClass)#1 (3) { ["asString"]=> string(33) "100000000000000.00000000000000001" ["asFloat"]=> float(100000000000000) ["asInteger"]=> string(59) "10000000000000000000000000000000000000000000000000000000009" }

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:
51.86 ms | 888 KiB | 4 Q