php / php-tasks

Tasks that need doing. This is for php-src maintainers. The end-user bug tracker is at https://bugs.php.net/.
27 stars 6 forks source link

Synchronize function/method signatures between documentation and stubs #9

Closed kocsismate closed 1 year ago

kocsismate commented 4 years ago

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.

kocsismate commented 1 year ago

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.