3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace custom; var_export('hello'); //hello eval("namespace custom; function var_export(){echo 'foobar';}"); var_export('hello'); //foobar
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0VGGt
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_NS_FCALL_BY_NAME                                    'custom%5Cvar_export'
          1        SEND_VAL_EX                                              'hello'
          2        DO_FCALL                                      0          
    6     3        INCLUDE_OR_EVAL                                          'namespace+custom%3B+function+var_export%28%29%7Becho+%27foobar%27%3B%7D', EVAL
    8     4        INIT_NS_FCALL_BY_NAME                                    'custom%5Cvar_export'
          5        SEND_VAL_EX                                              'hello'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.51 ms | 1394 KiB | 15 Q