3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('php://temp', '<?php return \'hi\';'); var_dump(file_get_contents('php://temp')); var_dump(require 'php://temp');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YvTn1
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 'php%3A%2F%2Ftemp'
          2        SEND_VAL                                                 '%3C%3Fphp+return+%27hi%27%3B'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAL                                                 'php%3A%2F%2Ftemp'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'var_dump'
         11        INCLUDE_OR_EVAL                                  $3      'php%3A%2F%2Ftemp', REQUIRE
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.89 ms | 1394 KiB | 19 Q