Currently, signatures in the manual are not up-to-date for PHP 8, since a lot of changes were done lately related to parameter and return types, as well as default values.
To make things even "worse", we started to display parameter names in error messages, and they are sometimes quite different from the ones shown in the documentation. Thus, we also have to synchronize parameter names (possibly after polishing them a little bit) between stubs and the manual.
We now reach a reasonably good synchronization, only later changes (for PHP 8.3) and functions with overloaded signatures are not on par with the stubs.
Currently, signatures in the manual are not up-to-date for PHP 8, since a lot of changes were done lately related to parameter and return types, as well as default values.
To make things even "worse", we started to display parameter names in error messages, and they are sometimes quite different from the ones shown in the documentation. Thus, we also have to synchronize parameter names (possibly after polishing them a little bit) between stubs and the manual.