3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = "../etc/passwd\0"; include('./'.$file.'.php');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aHmF8
function name:  (null)
number of ops:  5
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '..%2Fetc%2Fpasswd%00'
    3     1        CONCAT                                           ~2      '.%2F', !0
          2        CONCAT                                           ~3      ~2, '.php'
          3        INCLUDE_OR_EVAL                                          ~3, INCLUDE
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.39 ms | 1392 KiB | 13 Q