3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['asdf', 'agdr']; $b = serialize($a); $c = unserialize($b, false); var_dump($c);
Output for git.master_jit, git.master
Fatal error: Uncaught TypeError: unserialize(): Argument #2 ($options) must be of type array, bool given in /in/dGZcF:5 Stack trace: #0 /in/dGZcF(5): unserialize('a:2:{i:0;s:4:"a...', false) #1 {main} thrown in /in/dGZcF on line 5
Process exited with code 255.
Output for rfc.property-hooks
Fatal error: Uncaught TypeError: unserialize(): Argument #2 ($options) must be of type array, false given in /in/dGZcF:5 Stack trace: #0 /in/dGZcF(5): unserialize('a:2:{i:0;s:4:"a...', false) #1 {main} thrown in /in/dGZcF on line 5
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:
57.16 ms | 401 KiB | 8 Q