3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.GsJz7zMm.dpuf'; $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/5AInX
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%23sthash.GsJz7zMm.dpuf'
    4     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        FETCH_DIM_R                                      ~4      !0, 'scheme'
          6        CONCAT                                           ~5      'Scheme%3A+', ~4
          7        CONCAT                                           ~6      ~5, '%3Cbr%3E'
          8        ECHO                                                     ~6
    7     9        FETCH_DIM_R                                      ~7      !0, 'host'
         10        CONCAT                                           ~8      'Host%3A+', ~7
         11        CONCAT                                           ~9      ~8, '%3Cbr%3E'
         12        ECHO                                                     ~9
    8    13        FETCH_DIM_R                                      ~10     !0, 'path'
         14        CONCAT                                           ~11     'Path%3A+', ~10
         15        CONCAT                                           ~12     ~11, '%3Cbr%3E'
         16        ECHO                                                     ~12
   11    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.94 ms | 1394 KiB | 15 Q