3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.w3resource.com/php-exercises/php-basic-exercises.php'; $url=parse_url($url); echo 'Scheme : '.$url['scheme'].'<br/>'; echo 'Host : '.$url['host'].'</br/>'; echo 'Path : '.$url['path'].'</br/>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SaaEg
function name:  (null)
number of ops:  18
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.w3resource.com%2Fphp-exercises%2Fphp-basic-exercises.php'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        FETCH_DIM_R                                      ~4      !0, 'scheme'
          6        CONCAT                                           ~5      'Scheme+%3A+', ~4
          7        CONCAT                                           ~6      ~5, '%3Cbr%2F%3E'
          8        ECHO                                                     ~6
    5     9        FETCH_DIM_R                                      ~7      !0, 'host'
         10        CONCAT                                           ~8      'Host+%3A+', ~7
         11        CONCAT                                           ~9      ~8, '%3C%2Fbr%2F%3E'
         12        ECHO                                                     ~9
    6    13        FETCH_DIM_R                                      ~10     !0, 'path'
         14        CONCAT                                           ~11     'Path+%3A+', ~10
         15        CONCAT                                           ~12     ~11, '%3C%2Fbr%2F%3E'
         16        ECHO                                                     ~12
    7    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.39 ms | 1394 KiB | 15 Q