diff --git a/sapi/cgi/tests/003.phpt b/sapi/cgi/tests/003.phpt
index 0da3ca8602a..ea418d104ca 100644
--- a/sapi/cgi/tests/003.phpt
+++ b/sapi/cgi/tests/003.phpt
@@ -48,7 +48,7 @@ Content-type: text/html
"
-string(%d) "Status: 404
+string(%d) "Status: 404 Not Found
X-Powered-By: PHP/%s
Content-type: text/html
diff --git a/sapi/cgi/tests/008.phpt b/sapi/cgi/tests/008.phpt
index d541ca430d6..40140e87925 100644
--- a/sapi/cgi/tests/008.phpt
+++ b/sapi/cgi/tests/008.phpt
@@ -45,7 +45,7 @@ Content-type: text/html
<?php
$test = "var"; //var
/* test class */
class test {
private $var = array();
public static function foo(Test $arg) {
echo "hello";
var_dump($this);
}
}
$o = new test;
?>
"
-string(%d) "Status: 404
+string(%d) "Status: 404 Not Found
X-Powered-By: PHP/%s
Content-type: text/html