Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharhamel authored Nov 30, 2021
1 parent e661d5d commit b952b94
Show file tree
Hide file tree
Showing 82 changed files with 152 additions and 103 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"generated/mbstring.php",
"generated/misc.php",
"generated/mysql.php",
"generated/mysqli.php",
"generated/network.php",
"generated/oci8.php",
"generated/opcache.php",
Expand Down
11 changes: 0 additions & 11 deletions generated/Exceptions/MysqliException.php

This file was deleted.

1 change: 1 addition & 0 deletions generated/apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,4 @@ function virtual(string $uri): void
throw ApacheException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ function apcu_sma_info(bool $limited = false): array
}
return $result;
}

1 change: 1 addition & 0 deletions generated/array.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,4 @@ function shuffle(array &$array): void
throw ArrayException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/bzip2.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ function bzwrite($bz, string $data, int $length = null): int
}
return $result;
}

1 change: 1 addition & 0 deletions generated/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ function unixtojd(int $timestamp = null): int
}
return $result;
}

1 change: 1 addition & 0 deletions generated/classobj.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ function class_alias(string $class, string $alias, bool $autoload = true): void
throw ClassobjException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/com.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,4 @@ function variant_round($value, int $decimals)
}
return $result;
}

1 change: 1 addition & 0 deletions generated/cubrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -2036,3 +2036,4 @@ function cubrid_set_query_timeout($req_identifier, int $timeout): void
throw CubridException::createFromPhpError();
}
}

3 changes: 2 additions & 1 deletion generated/curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -2354,7 +2354,7 @@ function curl_multi_setopt($multi_handle, int $option, $value): void
* multipart/form-data.
*
*
* Files can be sent using CURLFile,
* Files can be sent using CURLFile or CURLStringFile,
* in which case value must be an array.
*
*
Expand Down Expand Up @@ -3262,3 +3262,4 @@ function curl_unescape($handle, string $string): string
}
return $result;
}

1 change: 1 addition & 0 deletions generated/datetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -1129,3 +1129,4 @@ function timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST =
}
return $result;
}

1 change: 1 addition & 0 deletions generated/dir.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ function scandir(string $directory, int $sorting_order = SCANDIR_SORT_ASCENDING,
}
return $result;
}

67 changes: 34 additions & 33 deletions generated/eio.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @throws EioException
*
*/
function eio_busy(int $delay, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_busy(int $delay, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_busy($delay, $pri, $callback, $data);
Expand Down Expand Up @@ -71,7 +71,7 @@ function eio_busy(int $delay, int $pri = EIO_PRI_DEFAULT, callable $callback = n
* @throws EioException
*
*/
function eio_chmod(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_chmod(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_chmod($path, $mode, $pri, $callback, $data);
Expand Down Expand Up @@ -123,7 +123,7 @@ function eio_chmod(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable
* @throws EioException
*
*/
function eio_chown(string $path, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_chown(string $path, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_chown($path, $uid, $gid, $pri, $callback, $data);
Expand Down Expand Up @@ -172,7 +172,7 @@ function eio_chown(string $path, int $uid, int $gid = -1, int $pri = EIO_PRI_DEF
* @throws EioException
*
*/
function eio_close($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_close($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_close($fd, $pri, $callback, $data);
Expand Down Expand Up @@ -231,7 +231,7 @@ function eio_close($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $
* @throws EioException
*
*/
function eio_custom(callable $execute, int $pri, callable $callback, $data = null)
function eio_custom(callable $execute, int $pri, callable $callback, $data = NULL)
{
error_clear_last();
$result = \eio_custom($execute, $pri, $callback, $data);
Expand Down Expand Up @@ -280,7 +280,7 @@ function eio_custom(callable $execute, int $pri, callable $callback, $data = nul
* @throws EioException
*
*/
function eio_dup2($fd, $fd2, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_dup2($fd, $fd2, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_dup2($fd, $fd2, $pri, $callback, $data);
Expand Down Expand Up @@ -352,7 +352,7 @@ function eio_event_loop(): void
* @throws EioException
*
*/
function eio_fallocate($fd, int $mode, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_fallocate($fd, int $mode, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_fallocate($fd, $mode, $offset, $length, $pri, $callback, $data);
Expand Down Expand Up @@ -402,7 +402,7 @@ function eio_fallocate($fd, int $mode, int $offset, int $length, int $pri = EIO_
* @throws EioException
*
*/
function eio_fchmod($fd, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_fchmod($fd, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_fchmod($fd, $mode, $pri, $callback, $data);
Expand Down Expand Up @@ -453,7 +453,7 @@ function eio_fchmod($fd, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callba
* @throws EioException
*
*/
function eio_fchown($fd, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_fchown($fd, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_fchown($fd, $uid, $gid, $pri, $callback, $data);
Expand Down Expand Up @@ -501,7 +501,7 @@ function eio_fchown($fd, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, ca
* @throws EioException
*
*/
function eio_fdatasync($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_fdatasync($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_fdatasync($fd, $pri, $callback, $data);
Expand Down Expand Up @@ -655,7 +655,7 @@ function eio_fstatvfs($fd, int $pri, callable $callback, $data = null)
* @throws EioException
*
*/
function eio_fsync($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_fsync($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_fsync($fd, $pri, $callback, $data);
Expand Down Expand Up @@ -706,7 +706,7 @@ function eio_fsync($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $
* @throws EioException
*
*/
function eio_ftruncate($fd, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_ftruncate($fd, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_ftruncate($fd, $offset, $pri, $callback, $data);
Expand Down Expand Up @@ -757,7 +757,7 @@ function eio_ftruncate($fd, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callabl
* @throws EioException
*
*/
function eio_futime($fd, float $atime, float $mtime, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_futime($fd, float $atime, float $mtime, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_futime($fd, $atime, $mtime, $pri, $callback, $data);
Expand Down Expand Up @@ -801,7 +801,7 @@ function eio_futime($fd, float $atime, float $mtime, int $pri = EIO_PRI_DEFAULT,
* @throws EioException
*
*/
function eio_grp(callable $callback, string $data = null)
function eio_grp(callable $callback, string $data = NULL)
{
error_clear_last();
$result = \eio_grp($callback, $data);
Expand Down Expand Up @@ -850,7 +850,7 @@ function eio_grp(callable $callback, string $data = null)
* @throws EioException
*
*/
function eio_lstat(string $path, int $pri, callable $callback, $data = null)
function eio_lstat(string $path, int $pri, callable $callback, $data = NULL)
{
error_clear_last();
$result = \eio_lstat($path, $pri, $callback, $data);
Expand Down Expand Up @@ -900,7 +900,7 @@ function eio_lstat(string $path, int $pri, callable $callback, $data = null)
* @throws EioException
*
*/
function eio_mkdir(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_mkdir(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_mkdir($path, $mode, $pri, $callback, $data);
Expand Down Expand Up @@ -965,7 +965,7 @@ function eio_mkdir(string $path, int $mode, int $pri = EIO_PRI_DEFAULT, callable
* @throws EioException
*
*/
function eio_mknod(string $path, int $mode, int $dev, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_mknod(string $path, int $mode, int $dev, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_mknod($path, $mode, $dev, $pri, $callback, $data);
Expand Down Expand Up @@ -1013,7 +1013,7 @@ function eio_mknod(string $path, int $mode, int $dev, int $pri = EIO_PRI_DEFAULT
* @throws EioException
*
*/
function eio_nop(int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_nop(int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_nop($pri, $callback, $data);
Expand Down Expand Up @@ -1064,7 +1064,7 @@ function eio_nop(int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data =
* @throws EioException
*
*/
function eio_readahead($fd, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_readahead($fd, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_readahead($fd, $offset, $length, $pri, $callback, $data);
Expand Down Expand Up @@ -1368,7 +1368,7 @@ function eio_readahead($fd, int $offset, int $length, int $pri = EIO_PRI_DEFAULT
* @throws EioException
*
*/
function eio_readdir(string $path, int $flags, int $pri, callable $callback, string $data = null)
function eio_readdir(string $path, int $flags, int $pri, callable $callback, string $data = NULL)
{
error_clear_last();
$result = \eio_readdir($path, $flags, $pri, $callback, $data);
Expand Down Expand Up @@ -1416,7 +1416,7 @@ function eio_readdir(string $path, int $flags, int $pri, callable $callback, str
* @throws EioException
*
*/
function eio_readlink(string $path, int $pri, callable $callback, string $data = null)
function eio_readlink(string $path, int $pri, callable $callback, string $data = NULL)
{
error_clear_last();
$result = \eio_readlink($path, $pri, $callback, $data);
Expand Down Expand Up @@ -1465,7 +1465,7 @@ function eio_readlink(string $path, int $pri, callable $callback, string $data =
* @throws EioException
*
*/
function eio_rename(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_rename(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_rename($path, $new_path, $pri, $callback, $data);
Expand Down Expand Up @@ -1513,7 +1513,7 @@ function eio_rename(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT,
* @throws EioException
*
*/
function eio_rmdir(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_rmdir(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_rmdir($path, $pri, $callback, $data);
Expand Down Expand Up @@ -1569,7 +1569,7 @@ function eio_rmdir(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback
* @throws EioException
*
*/
function eio_seek($fd, int $offset, int $whence, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_seek($fd, int $offset, int $whence, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_seek($fd, $offset, $whence, $pri, $callback, $data);
Expand Down Expand Up @@ -1679,7 +1679,7 @@ function eio_sendfile($out_fd, $in_fd, int $offset, int $length, int $pri = null
* @throws EioException
*
*/
function eio_stat(string $path, int $pri, callable $callback, $data = null)
function eio_stat(string $path, int $pri, callable $callback, $data = NULL)
{
error_clear_last();
$result = \eio_stat($path, $pri, $callback, $data);
Expand Down Expand Up @@ -1784,7 +1784,7 @@ function eio_statvfs(string $path, int $pri, callable $callback, $data = null)
* @throws EioException
*
*/
function eio_symlink(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_symlink(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_symlink($path, $new_path, $pri, $callback, $data);
Expand Down Expand Up @@ -1843,7 +1843,7 @@ function eio_symlink(string $path, string $new_path, int $pri = EIO_PRI_DEFAULT,
* @throws EioException
*
*/
function eio_sync_file_range($fd, int $offset, int $nbytes, int $flags, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_sync_file_range($fd, int $offset, int $nbytes, int $flags, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_sync_file_range($fd, $offset, $nbytes, $flags, $pri, $callback, $data);
Expand All @@ -1864,7 +1864,7 @@ function eio_sync_file_range($fd, int $offset, int $nbytes, int $flags, int $pri
* @throws EioException
*
*/
function eio_sync(int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_sync(int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_sync($pri, $callback, $data);
Expand Down Expand Up @@ -1912,7 +1912,7 @@ function eio_sync(int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data =
* @throws EioException
*
*/
function eio_syncfs($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_syncfs($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_syncfs($fd, $pri, $callback, $data);
Expand Down Expand Up @@ -1962,7 +1962,7 @@ function eio_syncfs($fd, int $pri = EIO_PRI_DEFAULT, callable $callback = null,
* @throws EioException
*
*/
function eio_truncate(string $path, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_truncate(string $path, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_truncate($path, $offset, $pri, $callback, $data);
Expand Down Expand Up @@ -2010,7 +2010,7 @@ function eio_truncate(string $path, int $offset = 0, int $pri = EIO_PRI_DEFAULT,
* @throws EioException
*
*/
function eio_unlink(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_unlink(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_unlink($path, $pri, $callback, $data);
Expand Down Expand Up @@ -2060,7 +2060,7 @@ function eio_unlink(string $path, int $pri = EIO_PRI_DEFAULT, callable $callback
* @throws EioException
*
*/
function eio_utime(string $path, float $atime, float $mtime, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_utime(string $path, float $atime, float $mtime, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_utime($path, $atime, $mtime, $pri, $callback, $data);
Expand Down Expand Up @@ -2113,7 +2113,7 @@ function eio_utime(string $path, float $atime, float $mtime, int $pri = EIO_PRI_
* @throws EioException
*
*/
function eio_write($fd, string $str, int $length = 0, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = null, $data = null)
function eio_write($fd, string $str, int $length = 0, int $offset = 0, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, $data = NULL)
{
error_clear_last();
$result = \eio_write($fd, $str, $length, $offset, $pri, $callback, $data);
Expand All @@ -2122,3 +2122,4 @@ function eio_write($fd, string $str, int $length = 0, int $offset = 0, int $pri
}
return $result;
}

1 change: 1 addition & 0 deletions generated/errorfunc.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ function error_log(string $message, int $message_type = 0, string $destination =
throw ErrorfuncException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/exec.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,4 @@ function system(string $command, ?int &$result_code = null): string
}
return $result;
}

Loading

0 comments on commit b952b94

Please sign in to comment.