3v4l.org

run code in 300+ PHP versions simultaneously
<?php vaR_dump([ $foo = [ new arrayobject( [3] ), [5] ], $s = serialize( $foo ), $c = unserialize($s), $s = preg_replace( '/a:1:{i:0;i:5;}}/', 'R:4;}', $s ), $baz = unserialize( $s ), $baz[1][9] = 8, $baz ]) ;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught InvalidArgumentException: Passed variable is not an array or object in /in/3II9W:8 Stack trace: #0 [internal function]: ArrayObject->__unserialize(Array) #1 /in/3II9W(8): unserialize('a:2:{i:0;O:11:"...') #2 {main} thrown in /in/3II9W on line 8
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:
45.39 ms | 401 KiB | 8 Q