3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('DIR', dirname(__FILE__) . '/'); echo DIR;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BpJvX
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'DIR'
          2        INIT_FCALL                                               'dirname'
          3        SEND_VAL                                                 '%2Fin%2FBpJvX'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      $0, '%2F'
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    3     8        FETCH_CONSTANT                                   ~3      'DIR'
          9        ECHO                                                     ~3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.69 ms | 1394 KiB | 17 Q