Skip to content

Commit 280ecbd

Browse files
committed
Update stubs
1 parent deade75 commit 280ecbd

38 files changed

+0
-115
lines changed

stubs/Zend/func_get_args.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function func_get_args() : array
74
{
85
}

stubs/Zend/restore_error_handler.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function restore_error_handler() : bool
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function restore_exception_handler() : bool
74
{
85
}

stubs/ext/dba/dba_key_split.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function dba_key_split(string|false|null $key) : array|false
74
{
85
}

stubs/ext/dba/dba_list.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function dba_list() : array
74
{
85
}

stubs/ext/gd/imagecolorset.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function imagecolorset(\GdImage $image, int $color, int $red, int $green, int $blue, int $alpha = 0) : ?bool
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function libxml_get_errors() : array
74
{
85
}

stubs/ext/mysqli/mysqli_close.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function mysqli_close(\mysqli $mysql) : bool
74
{
85
}

stubs/ext/mysqli/mysqli_debug.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function mysqli_debug(string $options) : bool
74
{
85
}

stubs/ext/mysqli/mysqli_ssl_set.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function mysqli_ssl_set(\mysqli $mysql, ?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos) : bool
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function mysqli_stmt_close(\mysqli_stmt $statement) : bool
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sodium_crypto_generichash_update(string &$state, string $message) : bool
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sodium_crypto_kx_client_session_keys(string $client_key_pair, string $server_key) : array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sodium_crypto_kx_server_session_keys(string $server_key_pair, string $client_key) : array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key) : array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, string $additional_data = "") : array|false
74
{
85
}

stubs/ext/standard/array_fill.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_fill(int $start_index, int $count, mixed $value) : array
74
{
85
}

stubs/ext/standard/array_keys.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_keys(array $array, mixed $filter_value = UNKNOWN, bool $strict = false) : array
74
{
85
}

stubs/ext/standard/array_rand.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_rand(array $array, int $num = 1) : int|string|array
74
{
85
}

stubs/ext/standard/array_values.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_values(array $array) : array
74
{
85
}

stubs/ext/standard/array_walk.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_walk(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : bool
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function array_walk_recursive(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : bool
74
{
85
}

stubs/ext/standard/arsort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function arsort(array &$array, int $flags = SORT_REGULAR) : bool
74
{
85
}

stubs/ext/standard/asort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function asort(array &$array, int $flags = SORT_REGULAR) : bool
74
{
85
}

stubs/ext/standard/closelog.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function closelog() : bool
74
{
85
}

stubs/ext/standard/get_cfg_var.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function get_cfg_var(string $option) : string|array|false
74
{
85
}

stubs/ext/standard/krsort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function krsort(array &$array, int $flags = SORT_REGULAR) : bool
74
{
85
}

stubs/ext/standard/ksort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function ksort(array &$array, int $flags = SORT_REGULAR) : bool
74
{
85
}

stubs/ext/standard/phpcredits.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function phpcredits(int $flags = CREDITS_ALL) : bool
74
{
85
}

stubs/ext/standard/phpinfo.php

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
/* info.c */
4-
/**
5-
*
6-
*/
73
function phpinfo(int $flags = INFO_ALL) : bool
84
{
95
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function register_shutdown_function(callable $callback, mixed ...$args) : ?bool
74
{
85
}

stubs/ext/standard/shuffle.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function shuffle(array &$array) : bool
74
{
85
}

stubs/ext/standard/sort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function sort(array &$array, int $flags = SORT_REGULAR) : bool
74
{
85
}

stubs/ext/standard/substr_replace.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|null $length = null) : string|array
74
{
85
}

stubs/ext/standard/syslog.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function syslog(int $priority, string $message) : bool
74
{
85
}

stubs/ext/standard/uasort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function uasort(array &$array, callable $callback) : bool
74
{
85
}

stubs/ext/standard/uksort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function uksort(array &$array, callable $callback) : bool
74
{
85
}

stubs/ext/standard/usort.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
*
5-
*/
63
function usort(array &$array, callable $callback) : bool
74
{
85
}

0 commit comments

Comments
 (0)