3v4l.org

run code in 500+ PHP versions simultaneously
<?php $payload = 'O:13:"ArrayIterator":3:{' . 's:1:"0";i:0;' . 's:1:"1";a:0:{}' . 's:1:"2";a:2:{i:0;i:0;i:1;i:0;}' . '}'; $obj = unserialize($payload); // Successful unserialization $clone = clone $obj; // Segmentation fault
Output for master
Deprecated: Creation of dynamic property ArrayIterator::$0 is deprecated in /in/SVARn on line 9 Deprecated: Creation of dynamic property ArrayIterator::$1 is deprecated in /in/SVARn on line 9

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:
12.86 ms | 1166 KiB | 8 Q