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); 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/Zvbgh
function name:  (null)
number of ops:  19
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_BY_NAME                                       'parse'
          2        FETCH_CONSTANT                                   ~2      'url'
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !0, $3
    6     6        FETCH_DIM_R                                      ~5      !0, 'scheme'
          7        CONCAT                                           ~6      'Scheme%3A+', ~5
          8        CONCAT                                           ~7      ~6, '%3Cbr%3E'
          9        ECHO                                                     ~7
    7    10        FETCH_DIM_R                                      ~8      !0, 'host'
         11        CONCAT                                           ~9      'Host%3A+', ~8
         12        CONCAT                                           ~10     ~9, '%3Cbr%3E'
         13        ECHO                                                     ~10
    8    14        FETCH_DIM_R                                      ~11     !0, 'path'
         15        CONCAT                                           ~12     'Path%3A+', ~11
         16        CONCAT                                           ~13     ~12, '%3Cbr%3E'
         17        ECHO                                                     ~13
   11    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.09 ms | 1393 KiB | 13 Q