3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "/bb.html?modelname=Aandeelhoudersbesluit&username=nav&password=nav"; list($path,$query) = explode("?", $string, 2); var_dump($string, $path, $query);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JRgec
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string, !1 = $path, !2 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fbb.html%3Fmodelname%3DAandeelhoudersbesluit%26username%3Dnav%26password%3Dnav'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3F'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $4      
          6        FETCH_LIST_R                                     $5      $4, 0
          7        ASSIGN                                                   !1, $5
          8        FETCH_LIST_R                                     $7      $4, 1
          9        ASSIGN                                                   !2, $7
         10        FREE                                                     $4
    5    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !1
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.54 ms | 1386 KiB | 17 Q