3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { function define($a, $b) { echo 'HAHA! I don\'t really define anything!'; } define('aa', 'bb'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YhkJY
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cdefine'
          1        SEND_VAL_EX                                              'aa'
          2        SEND_VAL_EX                                              'bb'
          3        DO_FCALL                                      0          
   10     4      > RETURN                                                   1

Function foo%5Cdefine:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YhkJY
function name:  foo\define
number of ops:  4
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ECHO                                                     'HAHA%21+I+don%27t+really+define+anything%21'
    7     3      > RETURN                                                   null

End of function foo%5Cdefine

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.2 ms | 1394 KiB | 15 Q