3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('123tt.txt', '123'); echo '111', strlen(file_get_contents('123tt.txt')), '222'; readfile('123tt.txt');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HWZNb
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                                                 '123tt.txt'
          2        SEND_VAL                                                 '123'
          3        DO_ICALL                                                 
    3     4        ECHO                                                     '111'
          5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAL                                                 '123tt.txt'
          7        DO_ICALL                                         $1      
          8        STRLEN                                           ~2      $1
          9        ECHO                                                     ~2
         10        ECHO                                                     '222'
    4    11        INIT_FCALL                                               'readfile'
         12        SEND_VAL                                                 '123tt.txt'
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.35 ms | 1394 KiB | 19 Q