3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/file', 'hello, world'); var_dump(file_get_contents('/tmp/file', false, null, 0, null)); var_dump(file_get_contents('/tmp/file', false, null, 0));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1vEVV
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 '%2Ftmp%2Ffile'
          2        SEND_VAL                                                 'hello%2C+world'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAL                                                 '%2Ftmp%2Ffile'
          7        SEND_VAL                                                 <false>
          8        SEND_VAL                                                 null
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 null
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                                 
    5    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'file_get_contents'
         16        SEND_VAL                                                 '%2Ftmp%2Ffile'
         17        SEND_VAL                                                 <false>
         18        SEND_VAL                                                 null
         19        SEND_VAL                                                 0
         20        DO_ICALL                                         $3      
         21        SEND_VAR                                                 $3
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.93 ms | 1395 KiB | 19 Q