summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69767.phpt
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-06-08 12:36:54 +0800
committerXinchen Hui <laruence@php.net>2015-06-08 12:37:11 +0800
commit6c89d2d9def6ffbf960e301463f6f2468c6a3724 (patch)
tree50ea9eab772726fa23f9d3ea3a8b087c11809546 /Zend/tests/bug69767.phpt
parentcea801cce24b843764b1b7725a6a885f9519c8ba (diff)
downloadphp-git-6c89d2d9def6ffbf960e301463f6f2468c6a3724.tar.gz
Also reflects the case change
Diffstat (limited to 'Zend/tests/bug69767.phpt')
-rw-r--r--Zend/tests/bug69767.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug69767.phpt b/Zend/tests/bug69767.phpt
index 5f0f219f41..cf4d4e7f93 100644
--- a/Zend/tests/bug69767.phpt
+++ b/Zend/tests/bug69767.phpt
@@ -2,7 +2,7 @@
Bug #69767 (Default parameter value with wrong type segfaults)
--FILE--
<?php
-function foo(string $bar = 0) {}
+function foo(String $bar = 0) {}
?>
--EXPECTF--
Fatal error: Default value for parameters with a string type hint can only be string or NULL in %sbug69767.php on line %d