ReflectionFunction returning the wrong value
Open
php5 incompatibility
php7 incompatibility
probably easy
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
### HHVM Version
hhvm-3.9.1 - 3.12.0
### Standalone code, or other way to reproduce the problem
`print (new \ReflectionFunction('array_map'))->getNumberOfRequiredParameters();`
https://3v4l.org/TJuYG#vhhvm-391
### Expected result
2
### Actual result
3
Contributor guide
Assessment
This issue has not been assessed yet.