3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "http://www.domain.com/map.aspx?isTrafficAlert=true&lat=51.529900&lon=-0.785384"; parse_str(parse_url($str, PHP_URL_QUERY), $latlon); echo "lat => ".$latlon['lat']."\n"; echo "lon => ".$latlon['lon'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tWWT2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str, !1 = $latlon
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.domain.com%2Fmap.aspx%3FisTrafficAlert%3Dtrue%26lat%3D51.529900%26lon%3D-0.785384'
    4     1        INIT_FCALL                                               'parse_str'
          2        INIT_FCALL                                               'parse_url'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 6
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    5     9        FETCH_DIM_R                                      ~5      !1, 'lat'
         10        CONCAT                                           ~6      'lat+%3D%3E+', ~5
         11        CONCAT                                           ~7      ~6, '%0A'
         12        ECHO                                                     ~7
    6    13        FETCH_DIM_R                                      ~8      !1, 'lon'
         14        CONCAT                                           ~9      'lon+%3D%3E+', ~8
         15        ECHO                                                     ~9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.71 ms | 1003 KiB | 16 Q