3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SW {} stream_wrapper_unregister("file"); stream_wrapper_register("file", "SW"); require __FILE__; echo "Boo";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/reFTq
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'stream_wrapper_unregister'
          1        SEND_VAL                                                 'file'
          2        DO_ICALL                                                 
          3        INIT_FCALL                                               'stream_wrapper_register'
          4        SEND_VAL                                                 'file'
          5        SEND_VAL                                                 'SW'
          6        DO_ICALL                                                 
          7        INCLUDE_OR_EVAL                                          '%2Fin%2FreFTq', REQUIRE
          8        ECHO                                                     'Boo'
          9      > RETURN                                                   1

Class SW: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.72 ms | 1394 KiB | 17 Q