diff options
author | Nikita Popov <nikic@php.net> | 2015-03-31 16:10:06 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-03-31 17:55:27 +0200 |
commit | 6ef9216269c0a42898feed90cec9fc4193cad9b6 (patch) | |
tree | 768aff67da6c219c49b34b727d4a109e149be614 /ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt | |
parent | db76b708cf14ed2794d26600c0e49df8aa36fbea (diff) | |
download | php-git-6ef9216269c0a42898feed90cec9fc4193cad9b6.tar.gz |
Finish PHP 4 constructor deprecation
Diffstat (limited to 'ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt b/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt index 5a0c36f9ee..2fb43562bb 100644 --- a/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt +++ b/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt @@ -64,7 +64,11 @@ foreach ($classes as $class) { ?> --EXPECTF-- -Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d +Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; OldCtor has a deprecated constructor in %s on line %d + +Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; B has a deprecated constructor in %s on line %d + +Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; C has a deprecated constructor in %s on line %d Constructor of NewCtor: __construct Constructor of ExtendsNewCtor: __construct Constructor of OldCtor: OldCtor |