3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(url_encode('/units/all?category=Base Units&availability=Active&subCategory=2 + 1 Drawer'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PgZj8
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL_BY_NAME                                       'url_encode'
          2        SEND_VAL_EX                                              '%2Funits%2Fall%3Fcategory%3DBase+Units%26availability%3DActive%26subCategory%3D2+%2B+1+Drawer'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.76 ms | 1394 KiB | 15 Q