]> granicus.if.org Git - php/commitdiff
Also reflects the case change
authorXinchen Hui <laruence@php.net>
Mon, 8 Jun 2015 04:36:54 +0000 (12:36 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 8 Jun 2015 04:37:11 +0000 (12:37 +0800)
Zend/tests/bug69767.phpt

index 5f0f219f41b050ec7dff11d8ebf5dd6ebf41bcfd..cf4d4e7f931178a99dc6e79281e117aee2df4193 100644 (file)
@@ -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