3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("foo", "lol", TRUE); echo Foo; define ("Foo", "wat"); echo Foo; echo foo;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FpVkB
function name:  (null)
number of ops:  16
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
   10    13        FETCH_CONSTANT                                       ~4      'foo'
         14        ECHO                                                         ~4
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.53 ms | 3070 KiB | 14 Q