Commit graph

263 commits

Author SHA1 Message Date
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Christoph Michael Becker
71c12b1583 set_error_handler: clarify callback parameters and PHP 8.0 changes
Closes GH-276.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352038 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:36:18 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00: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
80872147aa Get rid of "callback" types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350788 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 09:11:05 +00:00
Christoph Michael Becker
b92a33c51c Fix #80164: Example says "see changelog" but there's no changelog
That example refers to a changelog entry which stated that E_ALL is
available as of PHP 5.4.0.  Since the documenation does no longer
document PHP 5, that referral has to be removed.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350716 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 12:05:41 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
f29b00cccf Improve example regarding valid HTML
This integrated user note 125348.  Also, there is no need to `break` after `exit`ing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350547 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-11 12:39:38 +00:00
Peter Cowburn
0007fca77f Clarify set_error_handler types that cannot be handled (doc bug #76318)
Patch by Sorin Nunca

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 20:04:00 +00:00
George Peter Banyard
fbf6483810 Corrected some grammar mistakes
-- 
Provided by anonymous 100378 (sharon@xandium.io)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348209 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-24 09:39:45 +00:00
Christoph Michael Becker
6da0f0108c Fix #76577: outdated documentation concerning track_errors
Cf. <https://wiki.php.net/rfc/deprecations_php_7_2#php_errormsg>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347919 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-02 13:01:20 +00:00
George Peter Banyard
b824e2b108 Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347555 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 17:31:34 +00:00
Christoph Michael Becker
aceea02784 Document syslog.* ini directives (available as of PHP 7.3.0)
See also <https://bugs.php.net/76956>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346421 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-26 13:46:10 +00:00
Christoph Michael Becker
cc921d3789 Fix #76920: Out-dated Windows info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345682 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 15:47:07 +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
Thomas Punt
0e2239fcf9 Resolve doc bug #73892
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341674 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-17 10:39:08 +00:00
Pieter Hordijk
c4b31af250 Fixed error_log function name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341352 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-09 21:29:13 +00:00
Christoph Michael Becker
f0e9d47a0d Confer to error_clear_last()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339224 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-24 13:21:22 +00:00
Derick Rethans
d2dfa4de1d Clarify how html_errors and xmlrpc_errors actually works.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339194 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-20 10:22:34 +00:00
Adam Harvey
8ae33d5f94 Slightly tinker with the description of error_clear_last().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337880 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:54 +00:00
Christoph Michael Becker
86da9d9501 PHP7 update (contributed by jhdxr)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337661 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-28 12:39:57 +00:00
Christoph Michael Becker
dc2135dccf documented that log_errors_max_len does not apply to error_log() (fixes #70194)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337293 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-05 14:10:19 +00:00
Pasindu De Silva
1ab59f6c72 Updated version.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337199 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-19 16:19:46 +00:00
Pasindu De Silva
b0078642a2 Added error_clear_last
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337198 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-19 16:09:47 +00:00
Adam Harvey
89babb1a52 Add a cautionary note to avoid type hinting set_exception_handler().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336810 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 20:04:00 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
6993a8585b Typo fix (patch by Amal Murali)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333672 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 13:14:06 +00:00
Peter Cowburn
74508ae0d2 Better bitmask for "all errors except E_NOTICE"
Cf user note http://www.php.net/manual/en/function.error-
reporting.php#64060

^ is the xor (bit flipping) operator and would actually turn notices
*on* if they were previously off (in the error level on its left).

Patch by anonymous 43247

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333387 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 19:25:14 +00:00
Peter Cowburn
3ca0a2900f Remove wrong info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333175 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:45 +00:00
Chris Wright
a2db0ec375 Typo fix in error_log()
---
Provided by Tomaž Lovrec

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332339 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:40:23 +00:00
Joe Watkins
13bf1bc8f5 fix #66195 restore error handler is not ignored (zend_builtin_functions.c#1570)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332260 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-04 12:06:24 +00:00
Yasuo Ohgaki
8a1c23e092 Fixed typo. Improve tip
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331982 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 22:44:37 +00:00
Yasuo Ohgaki
ea445d3476 Fixed Doc Bug #64439 \0 causes error_log strings to be truncated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331939 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-24 05:30:19 +00:00
Peter Cowburn
812e04cc1c remove unnecessary dollar from parameter (thanks Tyrael)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331754 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 15:20:22 +00:00
Chris Wright
158026d7b2 Typo fix, remove redundant "by" in trigger_error() docs
---
Suggested by anonymous 32598

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331617 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-01 08:10:22 +00:00
Yoshinari Takaoka
9ae7b0494a - fixed default value of error_reporting.
- http://ml.php.gr.jp/pipermail/php-doc/2013-September/001107.html
 - PHP 5.3.0 or later
   - https://github.com/php/php-src/blob/master/Zend/zend.c#L72
 - Prior to PHP 5.3.0
   - https://github.com/php/php-src/blob/PHP-5.0/Zend/zend.c#L68


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331284 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-04 05:27:56 +00:00
Yoshinari Takaoka
7619879383 - just fixed typo. :)
-- https://bugs.php.net/bug.php?id=65302


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330998 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-21 15:49:53 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
041e20d171 Document set_exception_handler(null) return value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330244 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:52:32 +00:00
Jakub Vrana
1d285503e2 Document set_error_handler(null)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330243 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:34:12 +00:00
Jakub Vrana
f68abbe82c Document callback signatures
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:24:33 +00:00
Rafael Dohms
176741290e Updated refpurpose for error_log function to be more descriptive about where errors are sent.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329678 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-06 09:31:56 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00