3v4l.org

run code in 300+ PHP versions simultaneously
<?php // In response to http://www.php.net/manual/en/language.constants.predefined.php#113130 // In fact, you can define magic constants too. define('__DIR__', dirname(__FILE__)); echo "result of var_dump(__DIR__):\r\n"; var_dump(__DIR__);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ntkWb
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 '__DIR__'
          2        INIT_FCALL                                               'dirname'
          3        SEND_VAL                                                 '%2Fin%2FntkWb'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    7     7        ECHO                                                     'result+of+var_dump%28__DIR__%29%3A%0D%0A'
    8     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAL                                                 '%2Fin'
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.3 ms | 1394 KiB | 19 Q