3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); define('Lol', 1, true); define('LOL', 2); var_dump(Lol, LOL, lol, constant('Lol'), constant('LOL'), constant('lol'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T6EBq
function name:  (null)
number of ops:  33
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                                                 
    4     3        INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'Lol'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'LOL'
         10        SEND_VAL                                                 2
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        FETCH_CONSTANT                                   ~3      'Lol'
         14        SEND_VAL                                                 ~3
         15        FETCH_CONSTANT                                   ~4      'LOL'
         16        SEND_VAL                                                 ~4
         17        FETCH_CONSTANT                                   ~5      'lol'
         18        SEND_VAL                                                 ~5
         19        INIT_FCALL                                               'constant'
         20        SEND_VAL                                                 'Lol'
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        INIT_FCALL                                               'constant'
         24        SEND_VAL                                                 'LOL'
         25        DO_ICALL                                         $7      
         26        SEND_VAR                                                 $7
         27        INIT_FCALL                                               'constant'
         28        SEND_VAL                                                 'lol'
         29        DO_ICALL                                         $8      
         30        SEND_VAR                                                 $8
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.24 ms | 1387 KiB | 21 Q