Skip to content

Commit ea1f195

Browse files
committed
Generating code
1 parent 83a55c2 commit ea1f195

File tree

4 files changed

+5
-27
lines changed

4 files changed

+5
-27
lines changed

generated/funchand.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -110,30 +110,6 @@ function forward_static_call(callable $function, $parameter = null, ...$params)
110110
}
111111

112112

113-
/**
114-
* Gets the specified argument from a user-defined function's argument list.
115-
*
116-
* This function may be used in conjunction with
117-
* func_get_args and func_num_args
118-
* to allow user-defined functions to accept variable-length argument lists.
119-
*
120-
* @param int $arg_num The argument offset. Function arguments are counted starting from
121-
* zero.
122-
* @return mixed Returns the specified argument, .
123-
* @throws FunchandException
124-
*
125-
*/
126-
function func_get_arg(int $arg_num)
127-
{
128-
error_clear_last();
129-
$result = \func_get_arg($arg_num);
130-
if ($result === false) {
131-
throw FunchandException::createFromPhpError();
132-
}
133-
return $result;
134-
}
135-
136-
137113
/**
138114
*
139115
*

generated/functionsList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@
199199
'create_function',
200200
'forward_static_call_array',
201201
'forward_static_call',
202-
'func_get_arg',
203202
'register_tick_function',
204203
'gmp_binomial',
205204
'gmp_export',

generated/misc.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
* Defines a named constant at runtime.
99
*
1010
* @param string $name The name of the constant.
11+
*
12+
* It is possible to define constants with reserved or
13+
* even invalid names, whose value can (only) be retrieved with
14+
* constant. However, doing so is not recommended.
1115
* @param mixed $value The value of the constant. In PHP 5, value must
1216
* be a scalar value (integer,
1317
* float, string, boolean, or
@@ -106,7 +110,7 @@ function sapi_windows_cp_set(int $cp): void
106110

107111

108112
/**
109-
* If enable is omitted, the function return TRUE if the stream stream has has VT100 control codes enabled, FALSE otherwise.
113+
* If enable is omitted, the function return TRUE if the stream stream has VT100 control codes enabled, FALSE otherwise.
110114
*
111115
* If enable is specified, the function will try to enable or disable the VT100 features of the stream stream.
112116
* If the feature has been successfully enabled (or disabled), .

rector-migrate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ services:
200200
create_function: 'Safe\create_function'
201201
forward_static_call_array: 'Safe\forward_static_call_array'
202202
forward_static_call: 'Safe\forward_static_call'
203-
func_get_arg: 'Safe\func_get_arg'
204203
register_tick_function: 'Safe\register_tick_function'
205204
gmp_binomial: 'Safe\gmp_binomial'
206205
gmp_export: 'Safe\gmp_export'

0 commit comments

Comments
 (0)