以下の1行のコードを理解しようとしています。
str_replace('../', '', $route);
基本的にそれは'../'
何も置き換えないと言います$route
$route = 'information/information&information_id=4';
URLから'index.php?route=information/information&information_id=4'
ただし、$route変数には../はありません。それはある種の正規表現ですか?はいの場合、それは正確に何をしますか。みんなありがとう。