3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(E_ALL); var_dump(parse_url('example.com/bar')); var_dump(parse_url('example.com:598/bar')); var_dump(parse_url('https://example.com:598/bar')); var_dump(parse_url('http://example.com:598/bar'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UOpRS
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
    5     3        INIT_FCALL                                                   'var_dump'
          4        INIT_FCALL                                                   'parse_url'
          5        SEND_VAL                                                     'example.com%2Fbar'
          6        DO_ICALL                                             $1      
          7        SEND_VAR                                                     $1
          8        DO_ICALL                                                     
    6     9        INIT_FCALL                                                   'var_dump'
         10        INIT_FCALL                                                   'parse_url'
         11        SEND_VAL                                                     'example.com%3A598%2Fbar'
         12        DO_ICALL                                             $3      
         13        SEND_VAR                                                     $3
         14        DO_ICALL                                                     
    7    15        INIT_FCALL                                                   'var_dump'
         16        INIT_FCALL                                                   'parse_url'
         17        SEND_VAL                                                     'https%3A%2F%2Fexample.com%3A598%2Fbar'
         18        DO_ICALL                                             $5      
         19        SEND_VAR                                                     $5
         20        DO_ICALL                                                     
    8    21        INIT_FCALL                                                   'var_dump'
         22        INIT_FCALL                                                   'parse_url'
         23        SEND_VAL                                                     'http%3A%2F%2Fexample.com%3A598%2Fbar'
         24        DO_ICALL                                             $7      
         25        SEND_VAR                                                     $7
         26        DO_ICALL                                                     
         27      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
142.46 ms | 496 KiB | 12 Q