Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このようなハンドル置換のためにPHPで関数が必要です。
$pattern = ':foo/anotherString'; $replacement = array( 'foo' => 'HelloMe' ); bazFunction($pattern, $replacement); // return 'HelloMe/anotherString';
このメソッドは、一部のフレームワークでルート パターンとして使用されます。どの関数がそれを処理しているか知りたいです。