3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.98 ms | 1394 KiB | 17 Q