0
これは正規表現の問題です。私は、日付とxxxxxxxx.phpを文の集合で収集したい。ここで PHPを使用して文のセットで特定の用語を取得する方法
は私のTXTです:09-10-17 05:56:34 ChartConfig.php (25): DEPRECATED (8192) >> message = Methods with the same name as their class will not be constructors in a future version of PHP; ChartConfig has a deprecated constructor
09-10-17 05:56:34 Point.php (26): DEPRECATED (8192) >> message = Methods with the same name as their class will not be constructors in a future version of PHP; Point has a deprecated constructor
09-10-17 05:56:34 XYDataSet.php (26): DEPRECATED (8192) >> message = Methods with the same name as their class will not be constructors in a future version of PHP; XYDataSet has a deprecated constructor
そして、私のようなデータを収集しようとしています:これは役立つはず
$date = ["09-10-17 05:56:34","09-10-17 05:56:34","09-10-17 05:56:34"]
$file = ["ChartConfig.php","Point.php","XYDataSet.php"]
あなたは何を試しましたか? – ccKep
あなたは試しましたか?エラーを読んでいますか? – Isaac
@Isaacエラーは、彼が解析しようとしているもので、彼が得ているものではありません。 – ccKep