1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-29 18:23:26 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
Kamil Tekiela 59af09939a Remove double parentheses in assert 2022-03-20 21:21:08 +00:00
Bradley Taylor 883d2fe5cb assert() no longer evaluates strings as of PHP 8.0.0
As per the PHP changelog, the functionality to use a string for `assert` has been removed in PHP 8.0: https://github.com/php/php-src/blob/69888c3ff1f2301ead8e37b23ff8481d475e29d2/UPGRADING#L350-L354

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1471.
2022-03-20 11:59:40 +01:00
蝦米 dd52212027 fix #80766 namespaced assert is no longer allowed 2021-04-20 01:54:29 +08:00
Christoph Michael Becker 86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker 3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Nikita Popov de7a562901 Add note on default value of $description param for assert
Patch by alexdowad.

Closes php/doc-en#117.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350018 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-09 07:49:32 +00:00
Andrey Andreev 028513e94b Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +00:00
Andrey Andreev 9320fcb02b Fix assert() doc where 'assertion' is referred to as a function instead of a parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342125 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:01:37 +00:00
Christoph Michael Becker 6e94da0618 fixed #71991 (assert() docs seem to imply PHP 5 only)
fix contributed by Lance Sloan

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338974 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-09 11:12:04 +00:00
Adam Harvey 4526a0712f Add expectations documentation.
This included moving the guide for the new configuration directives into the
assert() page to keep the migration guide snappy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337862 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:28 +00:00
Adam Harvey dd9fa0aed7 Fix doc bug #62986 (Second parameter for assert()), along with a couple of
other unrelated fixes (making the hyphen that should be a dash into an em dash,
adding a full stop, using <constant> consistently).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327439 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-03 02:24:31 +00:00
Daniel Egeberg 96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Torben Wilson af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner f4871bb5ba fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283819 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:47:57 +00:00
Kalle Sommer Nielsen cf577d2adf * Added new examples for
* assert_options
 * get_current_user
 * ini_restore
 * sys_get_temp_dir
 * sha1_file


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267550 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-20 10:30:08 +00:00
Hannes Magnusson c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour 7ec2efbee8 ref.info: switch to new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228997 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-04 22:46:34 +00:00
Mehdi Achour c3c3be1e6d WS, prepare for new docstyle
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228996 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-04 22:46:33 +00:00
Jakub Vrana d7cff8e392 Fix return types (1/2)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189110 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-23 16:53:27 +00:00
Mehdi Achour 45a0f65851 CS : Function declarations follow the 'one true brace' convention
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148756 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-15 12:43:50 +00:00
Mehdi Achour 27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Nicolas Chaillan 63d1500234 fixing protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@114841 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-05 02:38:39 +00:00
Friedhelm Betz 441360581b typo corrected
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101322 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-25 17:05:01 +00:00
Derick Rethans cde693d876 - Document passing of the condition to the assertion handler some more.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101229 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-25 05:47:48 +00:00
Hartmut Holzgraefe 5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe a4b6d72ad3 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00