3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filepath = "http://webneel.com/sites/default/files/images/blog/t-flowall.jpg"; $image = fopen($filepath, "rb"); echo file_exists($filepath).' '; echo filesize($filepath). 'bytes '; echo exif_read_data($filepath). ' ';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ykgrg
function name:  (null)
number of ops:  22
compiled vars:  !0 = $filepath, !1 = $image
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwebneel.com%2Fsites%2Fdefault%2Ffiles%2Fimages%2Fblog%2Ft-flowall.jpg'
    4     1        INIT_FCALL                                               'fopen'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'rb'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    5     6        INIT_FCALL                                               'file_exists'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        CONCAT                                           ~6      $5, '+'
         10        ECHO                                                     ~6
    6    11        INIT_FCALL                                               'filesize'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $7      
         14        CONCAT                                           ~8      $7, 'bytes+'
         15        ECHO                                                     ~8
    7    16        INIT_FCALL_BY_NAME                                       'exif_read_data'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $9      
         19        CONCAT                                           ~10     $9, '+'
         20        ECHO                                                     ~10
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.13 ms | 1395 KiB | 19 Q