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:
Máté Kocsis 2020-04-04 21:26:46 +02:00
parent 7c3078737f
commit 610815c0ce
No known key found for this signature in database
GPG key ID: FD055E41728BF310
10 changed files with 303 additions and 160 deletions

View file

@ -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