3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( parse_url(' http://a.b/p?q#f'), parse_url('http://a.b/p?q#f '), parse_url('http://a.b/ p?q#f'), );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iur9H
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
    4     1        INIT_FCALL                                                   'parse_url'
          2        SEND_VAL                                                     '+http%3A%2F%2Fa.b%2Fp%3Fq%23f'
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
    5     5        INIT_FCALL                                                   'parse_url'
          6        SEND_VAL                                                     'http%3A%2F%2Fa.b%2Fp%3Fq%23f+'
          7        DO_ICALL                                             $1      
          8        SEND_VAR                                                     $1
    6     9        INIT_FCALL                                                   'parse_url'
         10        SEND_VAL                                                     'http%3A%2F%2Fa.b%2F+p%3Fq%23f'
         11        DO_ICALL                                             $2      
         12        SEND_VAR                                                     $2
    3    13        DO_ICALL                                                     
    7    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.95 ms | 1626 KiB | 15 Q