Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions ext/standard/basic_functions.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -1938,9 +1938,13 @@ function base64_decode(string $string, bool $strict = false): string|false {}

function constant(string $name): mixed {}

/** @compile-time-eval */
function ip2long(string $ip): int|false {}

/** @refcount 1 */
/**
* @compile-time-eval
* @refcount 1
*/
function long2ip(int $ip): string {}

/**
Expand Down Expand Up @@ -2194,7 +2198,10 @@ function hrtime(bool $as_number = false): array|int|float|false {}

/* md5.c */

/** @refcount 1 */
/**
* @compile-time-eval
* @refcount 1
*/
function md5(string $string, bool $binary = false): string {}

/** @refcount 1 */
Expand All @@ -2214,7 +2221,10 @@ function getlastmod(): int|false {}

/* sha1.c */

/** @refcount 1 */
/**
* @compile-time-eval
* @refcount 1
*/
function sha1(string $string, bool $binary = false): string {}

/** @refcount 1 */
Expand Down Expand Up @@ -3099,6 +3109,7 @@ function iptcparse(string $iptc_block): array|false {}

/* levenshtein.c */

/** @compile-time-eval */
function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_cost = 1, int $deletion_cost = 1): int {}

/* link.c */
Expand Down
12 changes: 6 additions & 6 deletions ext/standard/basic_functions_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ext/standard/basic_functions_decl.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading