--TEST-- ReflectionClass::getConstructor() --FILE-- getConstructor(); if ($rm != null) { echo "Constructor of $class: " . $rm->getName() . "\n"; } else { echo "No constructor for $class\n"; } } ?> --EXPECT-- Constructor of NewCtor: __construct Constructor of ExtendsNewCtor: __construct