diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-19 17:11:00 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-11 11:32:20 +0100 |
| commit | 852485d8ecd784153e41e565a0a87abf99cf4e0d (patch) | |
| tree | 3c8be88c2c98b5f1b2f9ea51e5d3a20c10baf3ff /ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt | |
| parent | 6bfb119e18e5241b6719a4ad69223d91c465a58e (diff) | |
| download | php-git-852485d8ecd784153e41e565a0a87abf99cf4e0d.tar.gz | |
Adjust tests for zpp TypeError change
Diffstat (limited to 'ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt')
| -rw-r--r-- | ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt b/ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt index 2aa630d9d0..1472615178 100644 --- a/ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt +++ b/ext/reflection/tests/ReflectionProperty_isDefault_basic.phpt @@ -24,10 +24,6 @@ reflectProperty("TestClass", "stat"); reflectProperty("TestClass", "prot"); reflectProperty("TestClass", "priv"); -echo "Wrong number of params:\n"; -$propInfo = new ReflectionProperty('TestClass', 'pub'); -$propInfo->isDefault(1); - ?> --EXPECTF-- ********************************** @@ -58,6 +54,3 @@ isDefault(): bool(true) ********************************** -Wrong number of params: - -Warning: ReflectionProperty::isDefault() expects exactly 0 parameters, 1 given in %s on line %d |
