3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = fopen("Beispiel.txt", "w+"); fwrite($x, "Moep"); fclose($x); echo filge_get_contents("Beispiel.txt");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OvYs4
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'Beispiel.txt'
          2        SEND_VAL                                                 'w%2B'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    3     5        INIT_FCALL                                               'fwrite'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'Moep'
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'fclose'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    5    12        INIT_FCALL_BY_NAME                                       'filge_get_contents'
         13        SEND_VAL_EX                                              'Beispiel.txt'
         14        DO_FCALL                                      0  $5      
         15        ECHO                                                     $5
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.53 ms | 1394 KiB | 19 Q