PHP 5.3.0 ofrece un amplio rango de nuevas funcionalidades:
<?php
class C {
   public static $foo = 123;
}
$a = "C";
echo $a::$foo;
?>
El resultado del ejemplo sería:
123
<?php
class MyCustomException extends Exception {}
try {
    throw new MyCustomException("Exceptional", 112);
} catch (Exception $e) {
    /* Observe el uso del tercer parámetro al pasar $e
     * a RuntimeException. */
    throw new RuntimeException("Rethrowing", 911, $e);
}
?>