2 # Check for at least one HNI based function in get_defined_functions()
3 # and at least one IDL based function.
5 # Note to future self: One day (soon) this test will fail
6 # and Simon shall weep, for there are no more IDLs to convert.
11 foreach(get_defined_functions()['internal'] as $f) {
13 $rf = new ReflectionFunction($f);
14 if ($attrs = $rf->getAttributes()) {
15 foreach ($attrs as $name => $attr) {
16 if (!strcasecmp($name, '__Native')) {
28 if ($foundhni && $foundidl) break;