Skip to content

Commit 47b7782

Browse files
committed
regenerated
1 parent 9a163d9 commit 47b7782

File tree

7 files changed

+232
-188
lines changed

7 files changed

+232
-188
lines changed

generated/apache.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ function apache_getenv(string $variable, bool $walk_to_top = false): string
4646

4747

4848
/**
49-
* Fetches all HTTP request headers from the current request.
49+
* Fetches all HTTP request headers from the current request. Works in the
50+
* Apache, FastCGI, CLI, FPM and NSAPI server module
51+
* in Netscape/iPlanet/SunONE webservers.
5052
*
5153
* @return array An associative array of all the HTTP headers in the current request.
5254
* @throws ApacheException
@@ -86,7 +88,9 @@ function apache_reset_timeout(): void
8688

8789

8890
/**
89-
* Fetch all HTTP response headers.
91+
* Fetch all HTTP response headers. Works in the
92+
* Apache, FastCGI, CLI, FPM and NSAPI server module
93+
* in Netscape/iPlanet/SunONE webservers.
9094
*
9195
* @return array An array of all Apache response headers on success.
9296
* @throws ApacheException

generated/functionsList.php

Lines changed: 2 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@
1313
'apcu_fetch',
1414
'apcu_inc',
1515
'apcu_sma_info',
16-
'apc_cache_info',
17-
'apc_cas',
18-
'apc_compile_file',
19-
'apc_dec',
20-
'apc_define_constants',
21-
'apc_delete',
22-
'apc_delete_file',
2316
'apc_fetch',
24-
'apc_inc',
25-
'apc_load_constants',
26-
'apc_sma_info',
2717
'array_combine',
2818
'array_flip',
2919
'array_replace',
@@ -140,25 +130,6 @@
140130
'eio_utime',
141131
'eio_write',
142132
'error_log',
143-
'event_add',
144-
'event_base_loopbreak',
145-
'event_base_loopexit',
146-
'event_base_new',
147-
'event_base_priority_init',
148-
'event_base_reinit',
149-
'event_base_set',
150-
'event_buffer_base_set',
151-
'event_buffer_disable',
152-
'event_buffer_enable',
153-
'event_buffer_new',
154-
'event_buffer_priority_set',
155-
'event_buffer_set_callback',
156-
'event_buffer_write',
157-
'event_del',
158-
'event_new',
159-
'event_priority_set',
160-
'event_set',
161-
'event_timer_set',
162133
'fastcgi_finish_request',
163134
'fbird_blob_cancel',
164135
'fclose',
@@ -302,7 +273,6 @@
302273
'imagecreatefromgif',
303274
'imagecreatefromjpeg',
304275
'imagecreatefrompng',
305-
'imagecreatefromstring',
306276
'imagecreatefromwbmp',
307277
'imagecreatefromwebp',
308278
'imagecreatefromxbm',
@@ -334,10 +304,6 @@
334304
'imageopenpolygon',
335305
'imagepng',
336306
'imagepolygon',
337-
'imagepsencodefont',
338-
'imagepsextendfont',
339-
'imagepsfreefont',
340-
'imagepsslantfont',
341307
'imagerectangle',
342308
'imagerotate',
343309
'imagesavealpha',
@@ -510,20 +476,6 @@
510476
'msql_pconnect',
511477
'msql_query',
512478
'msql_select_db',
513-
'mssql_bind',
514-
'mssql_close',
515-
'mssql_connect',
516-
'mssql_data_seek',
517-
'mssql_field_length',
518-
'mssql_field_name',
519-
'mssql_field_seek',
520-
'mssql_field_type',
521-
'mssql_free_result',
522-
'mssql_free_statement',
523-
'mssql_init',
524-
'mssql_pconnect',
525-
'mssql_query',
526-
'mssql_select_db',
527479
'mysqli_get_cache_stats',
528480
'mysqli_get_client_stats',
529481
'mysqlnd_ms_dump_servers',
@@ -674,6 +626,7 @@
674626
'openssl_x509_read',
675627
'output_add_rewrite_var',
676628
'output_reset_rewrite_vars',
629+
'pack',
677630
'parse_ini_file',
678631
'parse_ini_string',
679632
'parse_url',
@@ -1034,11 +987,6 @@
1034987
'ssh2_sftp_rmdir',
1035988
'ssh2_sftp_symlink',
1036989
'ssh2_sftp_unlink',
1037-
'stats_covariance',
1038-
'stats_standard_deviation',
1039-
'stats_stat_correlation',
1040-
'stats_stat_innerproduct',
1041-
'stats_variance',
1042990
'stream_context_set_params',
1043991
'stream_copy_to_stream',
1044992
'stream_filter_append',
@@ -1079,6 +1027,7 @@
10791027
'uasort',
10801028
'uksort',
10811029
'unlink',
1030+
'unpack',
10821031
'uopz_extend',
10831032
'uopz_implement',
10841033
'usort',

generated/image.php

Lines changed: 2 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -809,30 +809,6 @@ function imagecreatefrompng(string $filename)
809809
}
810810

811811

812-
/**
813-
* imagecreatefromstring returns an image identifier
814-
* representing the image obtained from the given image.
815-
* These types will be automatically detected if your build of PHP supports
816-
* them: JPEG, PNG, GIF, BMP, WBMP, and GD2.
817-
*
818-
* @param string $image A string containing the image data.
819-
* @return resource An image resource will be returned on success. FALSE is returned if
820-
* the image type is unsupported, the data is not in a recognised format,
821-
* or the image is corrupt and cannot be loaded.
822-
* @throws ImageException
823-
*
824-
*/
825-
function imagecreatefromstring(string $image)
826-
{
827-
error_clear_last();
828-
$result = \imagecreatefromstring($image);
829-
if ($result === false) {
830-
throw ImageException::createFromPhpError();
831-
}
832-
return $result;
833-
}
834-
835-
836812
/**
837813
* imagecreatefromwbmp returns an image identifier
838814
* representing the image obtained from the given filename.
@@ -1891,92 +1867,6 @@ function imagepolygon($image, array $points, int $num_points, int $color): void
18911867
}
18921868

18931869

1894-
/**
1895-
* Loads a character encoding vector from a file and changes the fonts
1896-
* encoding vector to it. As a PostScript fonts default vector lacks most of
1897-
* the character positions above 127, you'll definitely want to change this
1898-
* if you use a language other than English.
1899-
*
1900-
* If you find yourself using this function all the time, a much
1901-
* better way to define the encoding is to set ps.default_encoding in
1902-
* the configuration file
1903-
* to point to the right encoding file and all fonts you load will
1904-
* automatically have the right encoding.
1905-
*
1906-
* @param resource $font_index A font resource, returned by imagepsloadfont.
1907-
* @param string $encodingfile The exact format of this file is described in T1libs documentation.
1908-
* T1lib comes with two ready-to-use files,
1909-
* IsoLatin1.enc and
1910-
* IsoLatin2.enc.
1911-
* @throws ImageException
1912-
*
1913-
*/
1914-
function imagepsencodefont($font_index, string $encodingfile): void
1915-
{
1916-
error_clear_last();
1917-
$result = \imagepsencodefont($font_index, $encodingfile);
1918-
if ($result === false) {
1919-
throw ImageException::createFromPhpError();
1920-
}
1921-
}
1922-
1923-
1924-
/**
1925-
* Extend or condense a font (font_index), if
1926-
* the value of the extend parameter is less
1927-
* than one you will be condensing the font.
1928-
*
1929-
* @param resource $font_index A font resource, returned by imagepsloadfont.
1930-
* @param float $extend Extension value, must be greater than 0.
1931-
* @throws ImageException
1932-
*
1933-
*/
1934-
function imagepsextendfont($font_index, float $extend): void
1935-
{
1936-
error_clear_last();
1937-
$result = \imagepsextendfont($font_index, $extend);
1938-
if ($result === false) {
1939-
throw ImageException::createFromPhpError();
1940-
}
1941-
}
1942-
1943-
1944-
/**
1945-
* imagepsfreefont frees memory used by a PostScript
1946-
* Type 1 font.
1947-
*
1948-
* @param resource $font_index A font resource, returned by imagepsloadfont.
1949-
* @throws ImageException
1950-
*
1951-
*/
1952-
function imagepsfreefont($font_index): void
1953-
{
1954-
error_clear_last();
1955-
$result = \imagepsfreefont($font_index);
1956-
if ($result === false) {
1957-
throw ImageException::createFromPhpError();
1958-
}
1959-
}
1960-
1961-
1962-
/**
1963-
* Slant a given font.
1964-
*
1965-
* @param resource $font_index A font resource, returned by imagepsloadfont.
1966-
* @param float $slant Slant level.
1967-
* @throws ImageException
1968-
*
1969-
*/
1970-
function imagepsslantfont($font_index, float $slant): void
1971-
{
1972-
error_clear_last();
1973-
$result = \imagepsslantfont($font_index, $slant);
1974-
if ($result === false) {
1975-
throw ImageException::createFromPhpError();
1976-
}
1977-
}
1978-
1979-
19801870
/**
19811871
* imagerectangle creates a rectangle starting at
19821872
* the specified coordinates.
@@ -2705,7 +2595,7 @@ function imagewebp($image, $to = null, int $quality = 80): void
27052595
*
27062596
* @param resource $image An image resource, returned by one of the image creation functions,
27072597
* such as imagecreatetruecolor.
2708-
* @param string|null $filename The path to save the file to. If not set or NULL, the raw image stream will be outputted directly.
2598+
* @param string|null $filename The path to save the file to, given as string. If NULL, the raw image stream will be output directly.
27092599
*
27102600
* The filename (without the .xbm extension) is also
27112601
* used for the C identifiers of the XBM, whereby non
@@ -2719,7 +2609,7 @@ function imagewebp($image, $to = null, int $quality = 80): void
27192609
* @throws ImageException
27202610
*
27212611
*/
2722-
function imagexbm($image, ?string $filename = null, int $foreground = null): void
2612+
function imagexbm($image, ?string $filename, int $foreground = null): void
27232613
{
27242614
error_clear_last();
27252615
if ($foreground !== null) {

0 commit comments

Comments
 (0)