3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { define("MYCONST", 42); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EhY9E
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cdefine'
          1        SEND_VAL_EX                                              'MYCONST'
          2        SEND_VAL_EX                                              42
          3        DO_FCALL                                      0          
    4     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.13 ms | 1393 KiB | 15 Q