Since the [stubs initiative](https://externals.io/message/106522) had been started, stub definitions were added for [nearly all built-in functions and methods](https://github.com/php/php-src/pulls?q=is%3Apr+label%3AStubs+is%3Aclosed+), except for ext/pgsql.