3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = $argv[0];//this is the path to this script itself echo $path, PHP_EOL; $x = filesize($argv[0]); echo $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P3QYh
function name:  (null)
number of ops:  11
compiled vars:  !0 = $path, !1 = $argv, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_R                                      ~3      !1, 0
          1        ASSIGN                                                   !0, ~3
    4     2        ECHO                                                     !0
          3        ECHO                                                     '%0A'
    5     4        INIT_FCALL                                               'filesize'
          5        FETCH_DIM_R                                      ~5      !1, 0
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        ECHO                                                     !2
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.26 ms | 1394 KiB | 15 Q