3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('unserialize_callback_func','assert'); var_dump(unserialize('O:7:"phpinfo":0:{}')); define("phpinfo", "phpinfo()"); assert('phpinfo');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8Ku6J
function name:  (null)
number of ops:  20
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        INIT_FCALL                                               'define'
         11        SEND_VAL                                                 'phpinfo'
         12        SEND_VAL                                                 'phpinfo%28%29'
         13        DO_ICALL                                                 
    6    14        ASSERT_CHECK                                             
         15        INIT_FCALL                                               'assert'
         16        SEND_VAL                                                 'phpinfo'
         17        SEND_VAL                                                 'assert%28%27phpinfo%27%29'
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.45 ms | 1395 KiB | 23 Q