3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = gethostbyname(parse_url('http://www.google.com', PHP_URL_HOST)); var_dump($ip);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0qMLK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $ip
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'gethostbyname'
          1        INIT_FCALL                                               'parse_url'
          2        SEND_VAL                                                 'http%3A%2F%2Fwww.google.com'
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.95 ms | 1394 KiB | 19 Q