3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('php://memory/foo', 'Hello'); echo file_get_contents('php://memory/foo');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mg6RI
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 'php%3A%2F%2Fmemory%2Ffoo'
          2        SEND_VAL                                                 'Hello'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'file_get_contents'
          5        SEND_VAL                                                 'php%3A%2F%2Fmemory%2Ffoo'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1385 KiB | 17 Q