mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fixed some typos in docs and fpm pool config (GH-20587)
* Fix some typos in docs * Fix typo in output header example of fpm pool config
This commit is contained in:
@@ -169,10 +169,10 @@ slightly different steps. We'll call attention where the steps differ.
|
||||
4. Using your local-only release branch, bump the version numbers in
|
||||
`main/php_version.h`, `Zend/zend.h`, `configure.ac`, and possibly
|
||||
`NEWS`.
|
||||
|
||||
|
||||
The date for NEWS should be the date of the announcement (Thursday),
|
||||
*not* the date of the tagging (Tuesday).
|
||||
|
||||
|
||||
For examples, see [Update versions for PHP 8.1.0beta3][] (for a pre-GA
|
||||
example) or [Update versions for PHP 8.1.6RC1][] along with
|
||||
[Update NEWS for PHP 8.1.6RC1][] (for a post-GA example).
|
||||
@@ -506,8 +506,8 @@ slightly different steps. We'll call attention where the steps differ.
|
||||
You can send a PR to [toot-together](https://github.com/derickr/toot-together/)
|
||||
with highlights from the NEWS file yourself, if you want.
|
||||
|
||||
* [Annonce 8.5.0alpha1](https://github.com/derickr/toot-together/pull/42)
|
||||
* [Annonce 8.5.0alpha2](https://github.com/derickr/toot-together/pull/47)
|
||||
* [Announce 8.5.0alpha1](https://github.com/derickr/toot-together/pull/42)
|
||||
* [Announce 8.5.0alpha2](https://github.com/derickr/toot-together/pull/47)
|
||||
|
||||
We post to [@php@fosstodon.org](https://fosstodon.org/@php).
|
||||
|
||||
|
||||
@@ -489,7 +489,7 @@ generated. You can include this file conditionally, such as:
|
||||
#endif
|
||||
|
||||
When ``@generate-legacy-arginfo`` is passed the minimum PHP version ID that needs to be supported,
|
||||
then only one arginfo file is going to be generated, and ``#if`` prepocessor directives will ensure
|
||||
then only one arginfo file is going to be generated, and ``#if`` preprocessor directives will ensure
|
||||
compatibility with all the required PHP 8 versions.
|
||||
|
||||
PHP Version IDs are as follows: ``80000`` for PHP 8.0, ``80100`` for PHP PHP 8.1, ``80200`` for PHP
|
||||
|
||||
@@ -132,7 +132,7 @@ below illustrates a minimal test.
|
||||
string(32) "# hello All, I sAid hi planet! #"
|
||||
|
||||
As you can see the file is divided into several sections. The TEST section holds a one line title of
|
||||
the phpt test, this should be a simple description and shouldn't ever excede one line, if you need
|
||||
the phpt test, this should be a simple description and shouldn't ever exceed one line, if you need
|
||||
to write more explanation add comments in the body of the test case. The phpt files name is used
|
||||
when generating a .php file. The FILE section is used as the body of the .php file, so don't forget
|
||||
to open and close your php tags. The EXPECT section is the part used as a comparison to see if the
|
||||
@@ -580,7 +580,7 @@ Example 1 (snippet):
|
||||
.. code:: text
|
||||
|
||||
--DESCRIPTION--
|
||||
This test covers both valid and invalid usages of filter_input() with INPUT_GET and INPUT_POST data and several differnet filter sanitizers.
|
||||
This test covers both valid and invalid usages of filter_input() with INPUT_GET and INPUT_POST data and several different filter sanitizers.
|
||||
|
||||
Example 1 (full): :ref:`sample001.phpt`
|
||||
|
||||
@@ -1310,7 +1310,7 @@ Example 1 (full): :ref:`sample017.phpt`
|
||||
``--FLAKY--``
|
||||
-------------
|
||||
|
||||
**Description:** This section identifies this test as one that occassionally fails. If the test
|
||||
**Description:** This section identifies this test as one that occasionally fails. If the test
|
||||
actually fails, it will be retried one more time, and that result will be reported. The section
|
||||
should include a brief description of why the test is flaky. Reasons for this include tests that
|
||||
rely on relatively precise timing, or temporary disc states. Available as of PHP 8.1.22 and 8.2.9,
|
||||
@@ -1884,7 +1884,7 @@ sample001.phpt
|
||||
--DESCRIPTION--
|
||||
This test covers both valid and invalid usages of
|
||||
filter_input() with INPUT_GET and INPUT_POST data
|
||||
and several differnt filter sanitizers.
|
||||
and several different filter sanitizers.
|
||||
--CREDITS--
|
||||
Felipe Pena <felipe@php.net>
|
||||
--INI--
|
||||
|
||||
@@ -329,7 +329,7 @@ pm.max_spare_servers = 3
|
||||
; it must be associated with embraces to specify the name of the header:
|
||||
; - %{Content-Type}o
|
||||
; - %{X-Powered-By}o
|
||||
; - %{Transfert-Encoding}o
|
||||
; - %{Transfer-Encoding}o
|
||||
; - ....
|
||||
; %p: PID of the child that serviced the request
|
||||
; %P: PID of the parent of the child that serviced the request
|
||||
|
||||
Reference in New Issue
Block a user