summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-02 12:33:24 +0000
committerMarcus Boerger <helly@php.net>2002-11-02 12:33:24 +0000
commit524994d9e2e6540742de22833fb71d8170d0cbdb (patch)
tree6fe8d611cfde2bd6059203ea8f36e1529d28cf58 /run-tests.php
parent832b5a496452ff3de85cb5bb69b58d38e74a394c (diff)
downloadphp-git-524994d9e2e6540742de22833fb71d8170d0cbdb.tar.gz
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
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php3
1 files changed, 2 insertions, 1 deletions
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);
*/