3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo unserialize('a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"b22";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";s:3:"bar";'); ?>
Output for 8.3.0 - 8.3.14, 8.4.1
Warning: unserialize(): Error at offset 10 of 310 bytes in /in/BtYZg on line 1
Output for 5.4.45, 5.5.29 - 5.5.38, 5.6.13 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.26
Notice: unserialize(): Error at offset 10 of 310 bytes in /in/BtYZg on line 1
Output for 7.3.32 - 7.3.33
Output for 5.4.36 - 5.4.44, 5.5.20 - 5.5.28, 5.6.4 - 5.6.12
Notice: unserialize(): Error at offset 310 of 310 bytes in /in/BtYZg on line 1
Output for 5.4.0 - 5.4.35, 5.5.0 - 5.5.19, 5.6.0 - 5.6.3

Process exited with code 139.

preferences:
84.78 ms | 410 KiB | 5 Q