3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "/index.php?route=product/category&amp;path=62&amp;car=%D0%A1%D0%B0%D0%BC%D0%B0%D1%80%D0%B0"; print str_replace(urlencode('&car=Самара'), '', $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lHUrP
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Findex.php%3Froute%3Dproduct%2Fcategory%26amp%3Bpath%3D62%26amp%3Bcar%3D%25D0%25A1%25D0%25B0%25D0%25BC%25D0%25B0%25D1%2580%25D0%25B0'
    4     1        INIT_FCALL                                               'str_replace'
          2        INIT_FCALL                                               'urlencode'
          3        SEND_VAL                                                 '%26car%3D%D0%A1%D0%B0%D0%BC%D0%B0%D1%80%D0%B0'
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.29 ms | 1394 KiB | 17 Q