diff options
Diffstat (limited to 'tests/classes/ctor_name_clash.phpt')
| -rw-r--r-- | tests/classes/ctor_name_clash.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/classes/ctor_name_clash.phpt b/tests/classes/ctor_name_clash.phpt index 1a1d6fa511..e6518775ff 100644 --- a/tests/classes/ctor_name_clash.phpt +++ b/tests/classes/ctor_name_clash.phpt @@ -18,5 +18,6 @@ $obj = new derived(); $obj->base(); ?> --EXPECTF-- +Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; base has a deprecated constructor in %s on line %d base::base derived::base |
