3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("foo", "lol", TRUE); echo Foo; define ("Foo", "wat"); echo Foo;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XrZNH
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'define'
          1        SEND_VAL                                                     'foo'
          2        SEND_VAL                                                     'lol'
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                                     
    5     5        FETCH_CONSTANT                                       ~1      'Foo'
          6        ECHO                                                         ~1
    7     7        INIT_FCALL                                                   'define'
          8        SEND_VAL                                                     'Foo'
          9        SEND_VAL                                                     'wat'
         10        DO_ICALL                                                     
    9    11        FETCH_CONSTANT                                       ~3      'Foo'
         12        ECHO                                                         ~3
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.39 ms | 2978 KiB | 14 Q