3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); echo $str = json_encode($arr); echo "\n"; echo $str = json_decode($str, false, 512, JSON_BIGINT_AS_STRING);
Output for git.master, git.master_jit, rfc.property-hooks
{"a":1,"b":2,"c":3,"d":4,"e":5} Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/q0Btd:9 Stack trace: #0 {main} thrown in /in/q0Btd on line 9
Process exited with code 255.

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