summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-07-17 03:57:31 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-07-17 03:57:31 +0000
commitcd0e0124c9f53074742a526f3a5e95dcdd9309a5 (patch)
tree1d90fa8928bee7364f70470e7fa1dd443c84119f /run-tests.php
parent109c89c848d6e1044cde4e10133e3aeff76e55f0 (diff)
downloadphp-git-cd0e0124c9f53074742a526f3a5e95dcdd9309a5.tar.gz
Don't use regex where none is needed.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 94b9a032fd..4786ae1839 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -768,7 +768,7 @@ function mail_qa_team($data, $compression, $status = FALSE)
$url_bits = parse_url(QA_SUBMISSION_PAGE);
if (empty($url_bits['port'])) $url_bits['port'] = 80;
- $data = "php_test_data=" . urlencode(base64_encode(preg_replace("/[\\x00]/", "[0x0]", $data)));
+ $data = "php_test_data=" . urlencode(base64_encode(str_replace("[\\x00]", "[0x0]", $data)));
$data_length = strlen($data);
$fs = fsockopen($url_bits['host'], $url_bits['port'], $errno, $errstr, 10);