3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fn = create_function( '$x', 'return $x; } die("mim"); function foo($int) { return $int; ' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ebSv9
function name:  (null)
number of ops:  6
compiled vars:  !0 = $fn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'create_function'
    3     1        SEND_VAL_EX                                              '%24x'
    4     2        SEND_VAL_EX                                              'return+%24x%3B+%7D+die%28%22mim%22%29%3B+function+foo%28%24int%29+%7B+return+%24int%3B+'
          3        DO_FCALL                                      0  $1      
    2     4        ASSIGN                                                   !0, $1
    5     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
250.48 ms | 1392 KiB | 14 Q