mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
[skip-ci] Improve documentation for better clarity to readers (#7066)
While reading the docs in the repo, I found & made a few improvements to the documentation so it's clearer to its readers. These improvements are around: typos, general punctuations, and grammar.
This commit is contained in:
parent
2454e3b9a5
commit
e838de342a
6 changed files with 21 additions and 21 deletions
|
@ -58,9 +58,9 @@ See also
|
|||
|
||||
## Type specifiers
|
||||
|
||||
The following list shows the type specifier, its meaning and the parameter types
|
||||
The following list shows the type specifier, its meaning, and the parameter types
|
||||
that need to be passed by address. All passed parameters are set if the PHP
|
||||
parameter is non optional and untouched if optional and the parameter is not
|
||||
parameter is non-optional and untouched if optional and the parameter is not
|
||||
present. The only exception is O where the zend_class_entry* has to be provided
|
||||
on input and is used to verify the PHP parameter is an instance of that class.
|
||||
|
||||
|
@ -95,7 +95,7 @@ The following characters also have a meaning in the specifier string:
|
|||
by the parsing function if they are not passed to it.
|
||||
* `/` - use SEPARATE_ZVAL() on the parameter it follows
|
||||
* `!` - the parameter it follows can be of specified type or NULL. If NULL is
|
||||
passed and the output for such type is a pointer, then the output pointer is
|
||||
passed, and the output for such type is a pointer, then the output pointer is
|
||||
set to a native NULL pointer. For 'b', 'l' and 'd', an extra argument of type
|
||||
zend_bool* must be passed after the corresponding bool*, zend_long* or
|
||||
double* arguments, respectively. A non-zero value will be written to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue