3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://9999%000xADC27040/btc.txt"); print "meh"; print_r($parts); print "wah"; $hosts = gethostbynamel($parts['host']); print_r($hosts); #echo bin2hex($parts["user"]); print "wtf"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Jsh7
function name:  (null)
number of ops:  20
compiled vars:  !0 = $parts, !1 = $hosts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'omg'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAL                                                 'http%3A%2F%2F9999%25000xADC27040%2Fbtc.txt'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ECHO                                                     'meh'
    5     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    6     9        ECHO                                                     'wah'
    7    10        INIT_FCALL                                               'gethostbynamel'
         11        FETCH_DIM_R                                      ~5      !0, 'host'
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !1, $6
    8    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
   10    18        ECHO                                                     'wtf'
   11    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.36 ms | 935 KiB | 20 Q