3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.stud100-spray.com/nieuw/gezond-leven.html#%21dir=desc&order=price'; $parts = parse_url($url); parse_str($parts['query'], $query); echo $query['order']; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EFC36
function name:  (null)
number of ops:  13
compiled vars:  !0 = $url, !1 = $parts, !2 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.stud100-spray.com%2Fnieuw%2Fgezond-leven.html%23%2521dir%3Ddesc%26order%3Dprice'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'parse_str'
          6        FETCH_DIM_R                                      ~6      !1, 'query'
          7        SEND_VAL                                                 ~6
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
    5    10        FETCH_DIM_R                                      ~8      !2, 'order'
         11        ECHO                                                     ~8
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.93 ms | 1385 KiB | 17 Q