3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.35 ms | 1398 KiB | 17 Q