3v4l.org

run code in 300+ PHP versions simultaneously
<?php print realpath(substr(__FILE__, 0, strrpos(str_replace('\\', '/', __FILE__), '/')).'/../../inc/').'/'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tS0HE
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'realpath'
          1        INIT_FCALL                                               'substr'
          2        SEND_VAL                                                 '%2Fin%2FtS0HE'
          3        SEND_VAL                                                 0
          4        INIT_FCALL                                               'strrpos'
          5        INIT_FCALL                                               'str_replace'
          6        SEND_VAL                                                 '%5C'
          7        SEND_VAL                                                 '%2F'
          8        SEND_VAL                                                 '%2Fin%2FtS0HE'
          9        DO_ICALL                                         $0      
         10        SEND_VAR                                                 $0
         11        SEND_VAL                                                 '%2F'
         12        DO_ICALL                                         $1      
         13        SEND_VAR                                                 $1
         14        DO_ICALL                                         $2      
         15        CONCAT                                           ~3      $2, '%2F..%2F..%2Finc%2F'
         16        SEND_VAL                                                 ~3
         17        DO_ICALL                                         $4      
         18        CONCAT                                           ~5      $4, '%2F'
         19        ECHO                                                     ~5
    4    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.22 ms | 1395 KiB | 21 Q