New Methods
Several new methods were introduced in 5.3.0:
Date/Time:
Exception:
DOM:
PDO_FIREBIRD:
Reflection:
-
ReflectionClass::getNamespaceName()
- Returns the name of namespace where this class is defined.
-
ReflectionClass::getShortName()
- Returns the short name of this class (without namespace part).
-
ReflectionClass::inNamespace()
- Returns whether this class is defined in a namespace.
-
ReflectionFunction::getNamespaceName()
- Returns the name of namespace where this function is defined.
-
ReflectionFunction::getShortName()
- Returns the short name of the function (without namespace part).
-
ReflectionFunction::inNamespace()
- Returns whether this function is defined in a namespace.
-
ReflectionProperty::setAccessible()
- Sets whether non-public properties can be requested.
SPL:
XSL: