3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); if (!defined('__DIR__')) { define('__DIR__', dirname(__FILE__)); } var_dump(__DIR__);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/jXIpu
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                                                 32767
          2        DO_ICALL                                                 
    4     3        DEFINED                                          ~1      '__DIR__'
          4        BOOL_NOT                                         ~2      ~1
          5      > JMPZ                                                     ~2, ->13
    5     6    >   INIT_FCALL                                               'define'
          7        SEND_VAL                                                 '__DIR__'
          8        INIT_FCALL                                               'dirname'
          9        SEND_VAL                                                 '%2Fin%2FjXIpu'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
    8    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAL                                                 '%2Fin'
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.07 ms | 939 KiB | 22 Q