From: Marcus Boerger Date: Sat, 2 Nov 2002 12:33:24 +0000 (+0000) Subject: this would break tests by modifying EXPECT sections X-Git-Tag: php-4.3.0RC1~343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=524994d9e2e6540742de22833fb71d8170d0cbdb;p=php this would break tests by modifying EXPECT sections #it took a LONG time to realize that tests were ok but failed due to this ini --- diff --git a/run-tests.php b/run-tests.php index c93ba04402..10ef869f25 100755 --- a/run-tests.php +++ b/run-tests.php @@ -46,6 +46,7 @@ $cwd = getcwd(); set_time_limit(0); ob_implicit_flush(); error_reporting(E_ALL); +ini_set('magic_quotes_runtime',0); // this would break tests by modifying EXPECT sections if (ini_get('safe_mode')) { echo <<< SAFE_MODE_WARNING @@ -607,7 +608,7 @@ COMMAND $cmd // %f allows two points "-.0.0" but that is the best *simple* expression } /* DEBUG YOUR REGEX HERE - var_dump($wanted); + var_dump($wanted_re); print(str_repeat('=', 80) . "\n"); var_dump($output); */