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 />';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hZjfo
function name:  (null)
number of ops:  10
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
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.83 ms | 1394 KiB | 15 Q