- get_defined_functions: documentation ( source)
<?php
foreach (get_defined_functions()['internal'] as $f) {
$rf = new ReflectionFunction($f);
foreach ($rf->getParameters() as $p) {
if ($p->isPassedByReference()) {
echo $f, PHP_EOL;
break;
}
}
}