3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { const Z = 9; define ('X', 0); } namespace B { const Z = 9; } namespace { define ('X', 0); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r59cK
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CONST                                            'A%5CZ', 9
    7     1        INIT_NS_FCALL_BY_NAME                                    'A%5Cdefine'
          2        SEND_VAL_EX                                              'X'
          3        SEND_VAL_EX                                              0
          4        DO_FCALL                                      0          
   15     5        DECLARE_CONST                                            'B%5CZ', 9
   22     6        INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'X'
          8        SEND_VAL                                                 0
          9        DO_ICALL                                                 
   23    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.09 ms | 1394 KiB | 15 Q