summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClassConstant_basic1.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-11 13:41:10 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-22 11:39:52 +0200
commit3121b7174f4cb077b1165bf4feed1ec889472f1e (patch)
tree1b3ba56803e7840d3f62110d8105a3e94d628de0 /ext/reflection/tests/ReflectionClassConstant_basic1.phpt
parent0ba7c3eadf2683e4581079ea04b5b3019a5b6cce (diff)
downloadphp-git-3121b7174f4cb077b1165bf4feed1ec889472f1e.tar.gz
Deprecate Reflection export() methods
And remove the Reflector::export() interface method.
Diffstat (limited to 'ext/reflection/tests/ReflectionClassConstant_basic1.phpt')
-rw-r--r--ext/reflection/tests/ReflectionClassConstant_basic1.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/reflection/tests/ReflectionClassConstant_basic1.phpt b/ext/reflection/tests/ReflectionClassConstant_basic1.phpt
index 78510d0b35..181360d733 100644
--- a/ext/reflection/tests/ReflectionClassConstant_basic1.phpt
+++ b/ext/reflection/tests/ReflectionClassConstant_basic1.phpt
@@ -56,9 +56,13 @@ __toString():
string(35) "Constant [ public bool PUB ] { 1 }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
string(35) "Constant [ public bool PUB ] { 1 }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
Constant [ public bool PUB ] { 1 }
NULL
@@ -90,9 +94,13 @@ __toString():
string(38) "Constant [ protected int PROT ] { 4 }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
string(38) "Constant [ protected int PROT ] { 4 }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
Constant [ protected int PROT ] { 4 }
NULL
@@ -124,9 +132,13 @@ __toString():
string(45) "Constant [ private string PRIV ] { keepOut }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
string(45) "Constant [ private string PRIV ] { keepOut }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
Constant [ private string PRIV ] { keepOut }
NULL
@@ -158,9 +170,13 @@ __toString():
string(45) "Constant [ private string PRIV ] { keepOut }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
string(45) "Constant [ private string PRIV ] { keepOut }
"
export():
+
+Deprecated: Function ReflectionClassConstant::export() is deprecated in %s on line %d
Constant [ private string PRIV ] { keepOut }
NULL