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. (@__DIR__ == '__DIR__') && 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/i4ubl
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   BEGIN_SILENCE                                    ~0      
          1        END_SILENCE                                              ~0
    7     2        ECHO                                                     'result+of+var_dump%28__DIR__%29%3A%0D%0A'
    8     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 '%2Fin'
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
248.01 ms | 1394 KiB | 15 Q