3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('open_basedir', '/tmp'); $filename = '/tmp/foo9907908'; touch($filename); file_exists($filename . '/bar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/paO83
function name:  (null)
number of ops:  13
compiled vars:  !0 = $filename
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'open_basedir'
          2        SEND_VAL                                                     '%2Ftmp'
          3        DO_ICALL                                                     
    4     4        ASSIGN                                                       !0, '%2Ftmp%2Ffoo9907908'
    5     5        INIT_FCALL                                                   'touch'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
    6     8        INIT_FCALL                                                   'file_exists'
          9        CONCAT                                               ~4      !0, '%2Fbar'
         10        SEND_VAL                                                     ~4
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.76 ms | 3364 KiB | 16 Q