3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); !defined('__DIR__') && define('__DIR__', dirname(__FILE__)); var_dump(__DIR__);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/epThf
function name:  (null)
number of ops:  18
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_EX                                          ~2      ~2, ->14
          6    >   INIT_FCALL                                               'define'
          7        SEND_VAL                                                 '__DIR__'
          8        INIT_FCALL                                               'dirname'
          9        SEND_VAL                                                 '%2Fin%2FepThf'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        BOOL                                             ~2      $4
    7    14    >   INIT_FCALL                                               'var_dump'
         15        SEND_VAL                                                 '%2Fin'
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.81 ms | 1386 KiB | 21 Q