3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = 'http://literato.redsuns.com.br/wp-content/uploads/2013/11/44.jpg'; 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 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yku2Y
function name:  (null)
number of ops:  9
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                                               'is_file'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4      > JMPZ                                                     $2, ->7
    5     5    >   ECHO                                                     'Existe'
          6      > JMP                                                      ->8
    7     7    >   ECHO                                                     'N%C3%A3o'
    8     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.88 ms | 1394 KiB | 15 Q