3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents("php://filter/write=zlib.deflate/resource=/tmp/example.txt",""); echo filesize('/tmp/example.txt');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hpsJA
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%2Ffilter%2Fwrite%3Dzlib.deflate%2Fresource%3D%2Ftmp%2Fexample.txt'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'filesize'
          5        SEND_VAL                                                 '%2Ftmp%2Fexample.txt'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.52 ms | 1398 KiB | 17 Q