This is an HHVM only function that gets the raw text associated with a default parameter

public function getDefaultValueText();

For example, for: function foo($x = FOO*FOO)

"FOO*FOO" is returned.

getDefaultValue() will return the result of FOO*FOO.

Return Values

  • string - The raw text of a default value, or empty if it does not exist.