ReflectionParameter::getDefaultValueConstantName

( excerpt from php

public function getDefaultValueConstantName();

net/manual/en/reflectionparameter.getdefaultvalueconstantname.php )

Returns the default value's constant name if default value is constant or null

Return Values

  • mixed - Returns string on success or NULL on failure.