File tree 1 file changed +18
-8
lines changed
1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change 1
- New parameter parsing functions
2
- ===============================
3
-
4
- It should be easier to parse input parameters to an extension function.
5
- Hence, borrowing from Python's example, there are now a set of functions
6
- that given the string of type specifiers, can parse the input parameters
7
- and store the results in the user specified variables. This avoids most
8
- of the IS_* checks and convert_to_* conversions. The functions also
1
+ Fast Parameter Parsing API
2
+ ==========================
3
+
4
+ In PHP 7, a "Fast Parameter Parsing API" was introduced. See
5
+
6
+ https://wiki.php.net/rfc/fast_zpp
7
+
8
+ This API uses inlining to improve applications performance compared
9
+ with the zend_parse_parameters() function described below.
10
+
11
+
12
+ Parameter parsing functions
13
+ ===========================
14
+
15
+ Borrowing from Python's example, there is a set of functions that
16
+ given the string of type specifiers, can parse the input parameters
17
+ and store the results in the user specified variables. This avoids
18
+ using IS_* checks and convert_to_* conversions. The functions also
9
19
check for the appropriate number of parameters, and try to output
10
20
meaningful error messages.
11
21
You can’t perform that action at this time.
0 commit comments