3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.16 ms | 1385 KiB | 17 Q