sniper Mon Mar 17 07:43:30 2003 EDT
Modified files:
/php4 run-tests.php
Log:
Be sure we get the correct version..
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.149 php4/run-tests.php:1.150
--- php4/run-tests.php:1.149 Mon Mar 17 07:24:09 2003
+++ php4/run-tests.php Mon Mar 17 07:43:29 2003
@@ -178,6 +178,7 @@
settings2params($info_params);
$php_info = `$php $info_params $info_file`;
@unlink($info_file);
+define('TESTED_PHP_VERSION', `$php -r 'echo PHP_VERSION;'`);
// Write test context information.
@@ -452,7 +453,7 @@
return FALSE;
}
- $php_version = urlencode(phpversion());
+ $php_version = urlencode(TESTED_PHP_VERSION);
echo "\nPosting to {$url_bits['host']} {$url_bits['path']}\n";
fwrite($fs, "POST ".$url_bits['path']."?status=$status&version=$php_version
HTTP/1.1\r\n");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php