3v4l.org

run code in 300+ PHP versions simultaneously
<?php json_decode(json_encode(array('123')), null, null, null);
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: json_decode(): Passing null to parameter #3 ($depth) of type int is deprecated in /in/N7acc on line 2 Deprecated: json_decode(): Passing null to parameter #4 ($flags) of type int is deprecated in /in/N7acc on line 2 Fatal error: Uncaught ValueError: json_decode(): Argument #3 ($depth) must be greater than 0 in /in/N7acc:2 Stack trace: #0 /in/N7acc(2): json_decode('["123"]', NULL, NULL, NULL) #1 {main} thrown in /in/N7acc on line 2
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:
46.02 ms | 402 KiB | 8 Q