If you don't have PHP 5.3 yet the only accurate way is probably using the Reflection API:$reflectionClass = new ReflectionClass($class);$exists = $reflectionClass->hasProperty($attribute) && $reflectionClass->getProperty($attribute)->isStatic(); 这篇关于在静态类属性上的isset的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-01 01:12