Doc #80622 [Nab]: Optional argument brackets
Edit report at https://bugs.php.net/bug.php?id=80622&edit=1
ID: 80622
Updated by: cmb@php.net
Reported by: grzesiek at gbankowski dot pl
Summary: Optional argument brackets
Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Then consider to use the documentation available at Zend[1],
or download the archived docs[2]. While both are named PHP 5
documentation, they already contain a lot of documentation
about PHP 7.
[1] <https://php-legacy-docs.zend.com/manual/php5/en/index>
[2] <http://doc.php.net/archives/>
Previous Comments:
------------------------------------------------------------------------
[2021-02-21 16:11:16] grzesiek at gbankowski dot pl
I can't rebuild documentation for PHP 7.1. I haven't enough knowledge to do this. This
documentation was available as tar.gz, one html, many html, zip files to download. I thought, that
there are some archive with older documentation. Thank You very much for help, Your assistance.
------------------------------------------------------------------------
[2021-01-14 11:13:40] cmb@php.net
There is no readily downloadable or viewable documentation for PHP
7 only. However, you can checkout an older revision of the doc
repo[1], and build the documentation yourself[2].
[1] <https://github.com/php/doc-en/commit/3fc4586f54eb27f406b848058941217493110f83>
[2] <https://github.com/php/doc-base/blob/master/README.md#quick-reference>
------------------------------------------------------------------------
[2021-01-14 04:57:17] grzesiek at gbankowski dot pl
I understand. I'm preparing for Zend Certified PHP Engineer exam, which bases on PHP 7.1. It is
possible to read or download old documentation for this version? Thank You very much in advance.
------------------------------------------------------------------------
[2021-01-13 16:59:25] cmb@php.net
This argument is no longer optional as of PHP 8.0.0[1].
[1] <https://www.php.net/manual/en/function.crypt.php#refsect1-function.crypt-changelog>
------------------------------------------------------------------------
[2021-01-13 16:48:34] grzesiek at gbankowski dot pl
Let's look at crypt function:
crypt ( string $string , string $salt ) : string # current documentation
and look at previous documentation:
crypt ( string $str [, string $salt ] ) : string # in this case we know that second argument is
optional. In current version we don't know.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80622
--
Edit this bug report at https://bugs.php.net/bug.php?id=80622&edit=1
Thread (9 messages)