3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('unserialize_callback_func','assert'); var_dump(unserialize('O:7:"phpinfo":0:{}')); assert('phpinfo');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C3jkV
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'unserialize_callback_func'
          2        SEND_VAL                                                 'assert'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'unserialize'
          6        SEND_VAL                                                 'O%3A7%3A%22phpinfo%22%3A0%3A%7B%7D'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    5    10        ASSERT_CHECK                                             
         11        INIT_FCALL                                               'assert'
         12        SEND_VAL                                                 'phpinfo'
         13        SEND_VAL                                                 'assert%28%27phpinfo%27%29'
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1385 KiB | 21 Q