3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072\x00:xxx\x00@1.2.3.4\x00/btc.txt\x00"); print "meh"; echo bin2hex($parts["host"]); print_r($parts); print "wah"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7jFLm
function name:  (null)
number of ops:  16
compiled vars:  !0 = $parts
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%2F134744072%00%3Axxx%00%401.2.3.4%00%2Fbtc.txt%00'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        ECHO                                                     'meh'
    5     6        INIT_FCALL                                               'bin2hex'
          7        FETCH_DIM_R                                      ~3      !0, 'host'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
    6    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
    8    14        ECHO                                                     'wah'
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.98 ms | 1394 KiB | 19 Q