summaryrefslogtreecommitdiff
path: root/Zend/tests/bug43323.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-03-31 16:10:06 +0200
committerNikita Popov <nikic@php.net>2015-03-31 17:55:27 +0200
commit6ef9216269c0a42898feed90cec9fc4193cad9b6 (patch)
tree768aff67da6c219c49b34b727d4a109e149be614 /Zend/tests/bug43323.phpt
parentdb76b708cf14ed2794d26600c0e49df8aa36fbea (diff)
downloadphp-git-6ef9216269c0a42898feed90cec9fc4193cad9b6.tar.gz
Finish PHP 4 constructor deprecation
Diffstat (limited to 'Zend/tests/bug43323.phpt')
-rw-r--r--Zend/tests/bug43323.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/bug43323.phpt b/Zend/tests/bug43323.phpt
index d366a6dd1f..74abe766e5 100644
--- a/Zend/tests/bug43323.phpt
+++ b/Zend/tests/bug43323.phpt
@@ -9,4 +9,6 @@ abstract class bar {
class foo extends bar {
}
--EXPECTF--
+Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bar has a deprecated constructor in %s on line %d
+
Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (bar::bar) in %sbug43323.php on line 7