3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(parse_url('http://postcode.nl:80#@office.react.nl/')); echo "\n"; echo parse_url("http://example.com:80?@google.com/")["host"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFD87
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'parse_url'
          2        SEND_VAL                                                 'http%3A%2F%2Fpostcode.nl%3A80%23%40office.react.nl%2F'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        ECHO                                                     '%0A'
    5     7        INIT_FCALL                                               'parse_url'
          8        SEND_VAL                                                 'http%3A%2F%2Fexample.com%3A80%3F%40google.com%2F'
          9        DO_ICALL                                         $2      
         10        FETCH_DIM_R                                      ~3      $2, 'host'
         11        ECHO                                                     ~3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.14 ms | 1394 KiB | 17 Q