3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1385 KiB | 15 Q