3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.68 ms | 1394 KiB | 17 Q