Commit graph

63 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5730e7a2fa Initializers - part 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Hannes Magnusson
2557e888bb Add seealso ErrorException
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269061 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-15 18:22:07 +00:00
Simion Onea
b0ce16a36f Added a semicolon after &null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268104 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-01 07:57:50 +00:00
Kalle Sommer Nielsen
bc81b2bc29 Fixed #45628 (set_error_handler() return type wrongly documented)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268101 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-01 06:11:19 +00:00
Hannes Magnusson
5cd5661448 Use proper markup for variables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265362 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:40:25 +00:00
Jakub Vrana
8e063d6a8d Returning false from callback (bug #41680)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241384 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 02:28:56 +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
022241dd1a Clean up files (ws, missing roles, layout)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229000 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-04 22:49:08 +00:00
Hannes Magnusson
17ebd5b70a Fix example and add some whitespace to make it readable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227237 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-14 19:43:52 +00:00
Hannes Magnusson
b402661349 Fixed bug#40057 (merge 5.2.0 $php_errormsg changes into documentation)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226736 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-08 10:31:05 +00:00
Dave Barr
c8e821cf05 - Fix example output + typo (bricebhb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211993 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-26 01:10:20 +00:00
Jakub Vrana
f6dc3a0443 User error handler must not modify error context (bug #35459)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201582 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-29 13:25:45 +00:00
Jakub Vrana
9eb72ca307 Returns NULL in case of an error (bug #35100)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199960 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-04 14:12:16 +00:00
Philip Olson
a0fb692b2c ref.errorfunc: Implemented the new doc style, and rewording where appropriate.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185011 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-24 23:19:35 +00:00
Philip Olson
267173c6c0 WS, preparation for the new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184982 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-24 15:36:00 +00:00
Gabor Hojtsy
5f343aab92 get rid of confusing shortcuts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183650 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-05 11:26:15 +00:00
Jakub Vrana
363d447203 errno is parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183555 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-04 09:28:20 +00:00
Jakub Vrana
85e5332941 Most of E_STRICT are raised at the compile time (bug #31919)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179747 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-14 09:02:44 +00:00
Horst Schirmeier
21d3994f71 callback type "see also" added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177745 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-20 12:44:05 +00:00
Yannick Torres
597c9e6b87 use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171848 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 16:40:58 +00:00
Jakub Vrana
a1ddba3e96 rtrim($refpurpose, '.')
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166882 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-20 09:37:01 +00:00
Mehdi Achour
f8cf1cc241 fix for #25543 : set_error_handler returns mixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162242 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-28 15:53:36 +00:00
Mehdi Achour
73936df3de added E_STRICT
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@158296 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-10 10:45:25 +00:00
Kenneth Schwartz
5a57036bcc Bug #27941: signature of the error handler function is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155735 c90b9560-bf6c-de11-be94-00142212c4b1
2004-04-10 17:51:08 +00:00
Derick Rethans
943e655fc9 - Document 2nd parameter to set_error_handler
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150711 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-07 19:02:34 +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
e8844eadb3 some more CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146748 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-18 17:46:56 +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
Friedhelm Betz
3d122fed4c remove user_error from see also
added link to error constants in see also


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145287 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-01 11:46:50 +00:00
Mehdi Achour
477aa9f95c adding role attribute and php tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138007 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-16 18:59:12 +00:00