3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( parse_url( 'http://127.0.0.1:80' ), parse_url( 'http://[::1]:80' ), parse_url( 'http://127.0.0.1' ), // Local IPv4 parse_url( 'http://104.205.87.98' ), // Public IPv4 parse_url( 'http://201.152.36.103:58749' ), // IPv4 with port parse_url( 'http://1fff:0:a88:85a3::ac1f' ), // IPv6 parse_url( 'http://[1fff:0:a88:85a3::ac1f]:8001' ) // IPv6 with port );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jQppQ
function name:  (null)
number of ops:  31
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%2F127.0.0.1%3A80'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
    5     5        INIT_FCALL                                               'parse_url'
          6        SEND_VAL                                                 'http%3A%2F%2F%5B%3A%3A1%5D%3A80'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
    6     9        INIT_FCALL                                               'parse_url'
         10        SEND_VAL                                                 'http%3A%2F%2F127.0.0.1'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
    7    13        INIT_FCALL                                               'parse_url'
         14        SEND_VAL                                                 'http%3A%2F%2F104.205.87.98'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
    8    17        INIT_FCALL                                               'parse_url'
         18        SEND_VAL                                                 'http%3A%2F%2F201.152.36.103%3A58749'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
    9    21        INIT_FCALL                                               'parse_url'
         22        SEND_VAL                                                 'http%3A%2F%2F1fff%3A0%3Aa88%3A85a3%3A%3Aac1f'
         23        DO_ICALL                                         $5      
         24        SEND_VAR                                                 $5
   10    25        INIT_FCALL                                               'parse_url'
         26        SEND_VAL                                                 'http%3A%2F%2F%5B1fff%3A0%3Aa88%3A85a3%3A%3Aac1f%5D%3A8001'
         27        DO_ICALL                                         $6      
         28        SEND_VAR                                                 $6
         29        DO_ICALL                                                 
   11    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
218.01 ms | 1396 KiB | 17 Q