summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorRowan Collins <rowan.collins@gmail.com>2017-03-04 22:47:19 +0000
committerNikita Popov <nikita.ppv@gmail.com>2017-03-23 18:52:43 +0100
commit1b565f1393f82e0ce0c94806cc7f52c6d9c5e87d (patch)
tree3cd9ea6bfa55549207fb4e4075e1b9d723bf1f8d /sapi
parentb5b7691ab5b708e29d9dbb5d46dde33aaf534b89 (diff)
downloadphp-git-1b565f1393f82e0ce0c94806cc7f52c6d9c5e87d.tar.gz
Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecation
Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cli/tests/php_cli_server_014.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/tests/php_cli_server_014.phpt b/sapi/cli/tests/php_cli_server_014.phpt
index 7c50a5e30a..f308ffb226 100644
--- a/sapi/cli/tests/php_cli_server_014.phpt
+++ b/sapi/cli/tests/php_cli_server_014.phpt
@@ -7,7 +7,7 @@ include "skipif.inc";
--FILE--
<?php
include "php_cli_server.inc";
-php_cli_server_start('echo done, "\n";', null);
+php_cli_server_start('echo "done\n";', null);
list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
$port = intval($port)?:80;