3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = 'http://literato.redsuns.com.br/wp-content/uploads/2013/11/44.jpg'; var_dump(file_get_contents($file)); if ( is_file($file) ) { echo 'Existe'; } else { echo 'Não'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jMdFT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fliterato.redsuns.com.br%2Fwp-content%2Fuploads%2F2013%2F11%2F44.jpg'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'is_file'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10      > JMPZ                                                     $4, ->13
    7    11    >   ECHO                                                     'Existe'
         12      > JMP                                                      ->14
    9    13    >   ECHO                                                     'N%C3%A3o'
   10    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.03 ms | 1394 KiB | 19 Q