3v4l.org

run code in 300+ PHP versions simultaneously
<?php function auto($c) { echo $c,'...<br>'; } spl_autoload_register('auto'); $x = '/etc/passwd\0'; new $x();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IBSIQ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'auto'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, '%2Fetc%2Fpasswd%5C0'
          4        FETCH_CLASS                                   0  $3      !0
          5        NEW                                              $4      $3
          6        DO_FCALL                                      0          
          7        FREE                                                     $4
          8      > RETURN                                                   1

Function auto:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IBSIQ
function name:  auto
number of ops:  4
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        ECHO                                                     !0
          2        ECHO                                                     '...%3Cbr%3E'
          3      > RETURN                                                   null

End of function auto

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1394 KiB | 15 Q