3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cfg['dir_include']="Marabouts/../../..//conf/../inc/annonces_dev.php"; $w = preg_replace('{/$}', '', $cfg['dir_include']); var_dump($w);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kZ3Ih
function name:  (null)
number of ops:  13
compiled vars:  !0 = $cfg, !1 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'dir_include'
          1        OP_DATA                                                  'Marabouts%2F..%2F..%2F..%2F%2Fconf%2F..%2Finc%2Fannonces_dev.php'
    3     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%7B%2F%24%7D'
          4        SEND_VAL                                                 ''
          5        FETCH_DIM_R                                      ~3      !0, 'dir_include'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.33 ms | 1394 KiB | 17 Q