mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Improve gen_stub.php
Closes GH-5350 Add support for generating deprecated function entries, as well as forward declaration of function aliases.
This commit is contained in:
parent
7c3078737f
commit
610815c0ce
10 changed files with 303 additions and 160 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
//TODO: missing arginfo functions defined in C using
|
||||
/** @generate-function-entries */
|
||||
|
||||
#ifdef HAVE_ORALDAP
|
||||
/** @return resource|false */
|
||||
|
@ -195,12 +195,16 @@ function ldap_compare($link_identifier, string $dn, string $attribute, string $v
|
|||
|
||||
|
||||
#ifdef LDAP_CONTROL_PAGEDRESULTS
|
||||
/** @param resource $link */
|
||||
/**
|
||||
* @param resource $link
|
||||
* @deprecated since 7.4
|
||||
*/
|
||||
function ldap_control_paged_result($link, int $pagesize, bool $iscritical = false, string $cookie = ''): bool {}
|
||||
|
||||
/**
|
||||
* @param resource $link
|
||||
* @param resource $result
|
||||
* @deprecated since 7.4
|
||||
*/
|
||||
function ldap_control_paged_result_response($link, $result, &$cookie = null, &$estimated = null): bool {}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue