3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.google.it'; $html = @file_get_html($url); if($html==FALSE) { echo 'error'; } else { echo 'success'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RpgnR
function name:  (null)
number of ops:  13
compiled vars:  !0 = $url, !1 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.google.it'
    3     1        BEGIN_SILENCE                                    ~3      
          2        INIT_FCALL_BY_NAME                                       'file_get_html'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $4      
          5        END_SILENCE                                              ~3
          6        ASSIGN                                                   !1, $4
    5     7        BOOL_NOT                                         ~6      !1
          8      > JMPZ                                                     ~6, ->11
    7     9    >   ECHO                                                     'error'
         10      > JMP                                                      ->12
   11    11    >   ECHO                                                     'success'
   13    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.77 ms | 1393 KiB | 13 Q