3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://dad.com"; if(parse_url($url, PHP_URL_HOST)){ echo parse_url($url, PHP_URL_HOST); }else{ echo "false"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/25CX6
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fdad.com'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $2      
          5      > JMPZ                                                     $2, ->12
    4     6    >   INIT_FCALL                                               'parse_url'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 1
          9        DO_ICALL                                         $3      
         10        ECHO                                                     $3
         11      > JMP                                                      ->13
    6    12    >   ECHO                                                     'false'
    7    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.1 ms | 1394 KiB | 15 Q