3v4l.org

run code in 500+ PHP versions simultaneously
<?php $f = fopen('php://memory', 'r'); var_dump(fwrite($f, 'hello'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z1Ft4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $f
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'fopen'
          1        SEND_VAL                                                     'php%3A%2F%2Fmemory'
          2        SEND_VAL                                                     'r'
          3        DO_ICALL                                             $1      
          4        ASSIGN                                                       !0, $1
    5     5        INIT_FCALL                                                   'var_dump'
          6        INIT_FCALL                                                   'fwrite'
          7        SEND_VAR                                                     !0
          8        SEND_VAL                                                     'hello'
          9        DO_ICALL                                             $3      
         10        SEND_VAR                                                     $3
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.99 ms | 3065 KiB | 17 Q