3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("lol", "wat"); define("die", "foo"); echo lol; echo die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 61) Position 1 = -2
filename:       /in/NlHpk
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                                                     'lol'
          2        SEND_VAL                                                     'wat'
          3        DO_ICALL                                                     
    4     4        INIT_FCALL                                                   'define'
          5        SEND_VAL                                                     'die'
          6        SEND_VAL                                                     'foo'
          7        DO_ICALL                                                     
    6     8        FETCH_CONSTANT                                       ~2      'lol'
          9        ECHO                                                         ~2
    7    10      > INIT_FCALL                                                   'exit'
         11*       DO_ICALL                                             $3      
         12*       ECHO                                                         $3
         13*     > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.38 ms | 3329 KiB | 15 Q