3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('test'); $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); print 'test';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2IcrX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 'test'
          2        DO_ICALL                                                 
    3     3        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'
    5     4        INIT_FCALL                                               'str_replace'
          5        INIT_FCALL                                               'urlencode'
          6        SEND_VAL                                                 '%26car%3D%D0%A1%D0%B0%D0%BC%D0%B0%D1%80%D0%B0'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
    6    13        ECHO                                                     'test'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.62 ms | 1398 KiB | 19 Q