3v4l.org

run code in 500+ PHP versions simultaneously
<?php chroot("/path/to/your/chroot/"); echo getcwd(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i60G5
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'chroot'
          1        SEND_VAL                                                     '%2Fpath%2Fto%2Fyour%2Fchroot%2F'
          2        DO_ICALL                                                     
    3     3        INIT_FCALL                                                   'getcwd'
          4        DO_ICALL                                             $1      
          5        ECHO                                                         $1
    4     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.07 ms | 2712 KiB | 15 Q