PHP preg_match在PHP版本5.3.6中死亡/崩溃,并带有以下输入

时间:2011-10-24 09:00:44

标签: php

我遇到preg_match的问题,它会因某个输入而死亡。我正在使用PHP 5.3.6。

$regEx =  '/^([a-z]|.|\s)*$/i';

$subject = 'Korting van op de aankoopprijs van fietsen en bromfietsen korting van op de aankoopprijs van alle accessoires. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac ';
preg_match($regEx, $subject); // function runs normal

$subject .= ' consectetur';
preg_match($regEx, $subject); // function crashes/dies no error report.

有人能告诉我preg_match死的原因吗?

0 个答案:

没有答案