summaryrefslogtreecommitdiff
path: root/ext/intl/intl_convertcpp.cpp
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-04-15 15:15:21 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-06-24 11:17:36 +0200
commit26aefb750a614391cdb8ee3f63d66f46ed57bd55 (patch)
tree71119457730f871261462f4f54dd0e7066027604 /ext/intl/intl_convertcpp.cpp
parentef2130db88e3a1038c485eea9708cb2677dc9adc (diff)
downloadphp-git-26aefb750a614391cdb8ee3f63d66f46ed57bd55.tar.gz
Fix #69804: ::getStaticPropertyValue() throws on protected props
`ReflectionClass` allows reading of the values of private and protected constants, and also to get private and protected static methods. Therefore getting the values of private and protected static properties is also permissible, especially since `::getStaticProperties()` already allows to do so. We also allow ::setStaticPropertyValue() to modify private and protected properties, because otherwise this method is useless, as modifying public properties can be done directly.
Diffstat (limited to 'ext/intl/intl_convertcpp.cpp')
0 files changed, 0 insertions, 0 deletions