3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.52 ms | 1394 KiB | 21 Q