Exception::getMessage
  • References/PHP/Language/Predefined Exceptions/Exception

(PHP 5 >= 5.1.0, PHP 7) Gets the Exception message

2025-01-10 15:47:30
Exception::__clone
  • References/PHP/Language/Predefined Exceptions/Exception

(PHP 5 >= 5.1.0, PHP 7) Clone the exception

2025-01-10 15:47:30
Exception::getCode
  • References/PHP/Language/Predefined Exceptions/Exception

(PHP 5 >= 5.1.0, PHP 7) Gets the Exception code

2025-01-10 15:47:30
Error::getMessage
  • References/PHP/Language/Predefined Exceptions/Error

(No version information available, might only be in Git) Gets the error message

2025-01-10 15:47:30
$GLOBALS
  • References/PHP/Language/Predefined Variables

(PHP 4, PHP 5, PHP 7) References all variables available in global scope

2025-01-10 15:47:30
Object Iteration
  • References/PHP/Language/Classes and Objects

Examples: Simple Object Iteration PHP 5 provides a way for objects to be defined

2025-01-10 15:47:30
Constructors and Destructors
  • References/PHP/Language/Classes and Objects

Examples: using new unified constructors PHP 5 allows developers to declare constructor

2025-01-10 15:47:30
Namespaces and dynamic language features
  • References/PHP/Language/Namespaces

(PHP 5 >= 5.3.0, PHP 7) Examples:

2025-01-10 15:47:30
Anonymous (class)es
  • References/PHP/Language/Classes and Objects

Examples: Support for anonymous classes was added in PHP 7. Anonymous classes are useful when simple, one-off objects

2025-01-10 15:47:30
namespace keyword and __NAMESPACE__ constant
  • References/PHP/Language/Namespaces

(PHP 5 >= 5.3.0, PHP 7) Examples:

2025-01-10 15:47:30