Commit graph

160 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Justin Martin
f9a6276cf2 Indicated that error messages are truncated after 1024 bytes, instead of characters (not MB-aware).
Closes bug #63962.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329090 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 00:39:06 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Justin Martin
6c6ec130d4 set_exception_handler accepts null to reset handler to default state. Closes bug #60737.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322259 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-14 06:03:19 +00:00
Nikita Popov
a0c58ee421 Some more changes for 5.4s E_ALL with E_STRICT in docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315442 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-24 17:21:03 +00:00
Peter Cowburn
9fad144a4f tidied debug_(print_)backtrace parameters, changelogs, return value (doc #54653)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310770 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-04 21:27:46 +00:00
Sebastian Bergmann
d9b850dca7 Update documentation of debug_backtrace() and debug_print_backtrace().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310081 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-09 10:07:36 +00:00
Yannick Torres
9deea7b93e typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309358 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 22:15:23 +00:00
Yannick Torres
c5e9787f0e * Remove TAB caracters
* WS

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309357 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 22:14:09 +00:00
Stanislav Malyshev
d6a44ea444 document new debug_backtrace options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309355 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 19:12:39 +00:00
Joey Smith
145c270caa error_log() hasn't allowed for logging to a TCP port for some time now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307520 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-16 19:53:41 +00:00
Jakub Vrana
05bf002799 Describe message
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305079 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-04 12:43:51 +00:00
Mark Skilbeck
507170de95 #52880 - removed some example output text
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303568 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-19 12:45:11 +00:00
Daniel Egeberg
3e2947ca55 Improved example in set_error_handler(). Fixes PHP bug #52338.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301531 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-25 11:20:19 +00:00
Philip Olson
0b4c5897dd Commented out more PHP 6 documentation. Grep 'FIXME PHP_6' to fix. Helps close PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297626 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 17:09:10 +00:00
Philip Olson
3e57d6ccfd Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +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
Richard Quadling
27865e7aa2 Simplified example. Fix #51010
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294879 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-11 11:08:44 +00:00
Richard Quadling
e6da6812af W/S tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294382 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 13:25:41 +00:00
Daniel Egeberg
fb3676153f Fixed doc bug #50849 (set_error_handler claims it makes error_reporting() settings have no effec)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294084 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-27 12:26:37 +00:00
Daniel Egeberg
62ceddc05c Fixes #50548.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292477 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-22 13:33:12 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Christopher Jones
9a3206a676 Add warning based on #php.doc discussion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291098 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 20:28:06 +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
Jakub Vrana
48bc6b3c13 Returns callback
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288156 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-08 10:43:44 +00:00
Nilgün Belma Bugüner
605fe4df23 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283808 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:57:16 +00:00
Jakub Vrana
e29b823580 Remove duplicate table
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283114 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-30 11:14:41 +00:00