36 Commits

Author SHA1 Message Date
Odachannnn
686b6869e2 Exceptions are not specific to PHP 5 (#2352) 2023-03-15 21:41:53 +00:00
Kamil Tekiela
09f4a3f040 Reword parameter description of set_exception_handler (#1004) 2022-05-18 17:56:55 +01:00
Máté Kocsis
769812c12f Generate various ext/standard method synopses from stubs - part 5 (#1232) 2021-12-22 12:34:12 +01:00
Christoph M. Becker
44090248a8 Update set_error|exeception_handler $callback descriptions
First, the $callback is a callable, and users are supposed to either
know what that means, or look it up elsewhere in the documentation, so
there is no need to explain it here again, and let it rot again.

Second, there is no need anymore to document pre PHP 7.0.0 behavior.
2021-12-17 14:22:42 +01:00
Danack
b95e76e41d Types are not hints in PHP. (#1003)
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-09 14:43:01 +01:00
Máté
c44475e1fa Generate methodsynopses based on stubs for Zend functions and methods
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-168.
2021-05-22 16:48:16 +02:00
Sergey Panteleev
5fabd07880 Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03: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
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
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
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
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
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
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
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
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
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
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
Hartmut Holzgraefe
f534159902 removed bogus duplicate seealso section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273505 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-14 10:11:50 +00:00
Hannes Magnusson
2f092bb815 Use proper markup for the seealso section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269064 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-15 18:34:55 +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
Mehdi Achour
ec3f931fa0 Add missing roles and entities in already switched files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227340 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-16 01:24:43 +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
Matt Li
df3b3986d0 Fix doubling up + minor rewording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187490 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-02 11:07:55 +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
Jakub Vrana
6afb2b608c Move exceptions from objects (bug #31250)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175884 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-29 12:46:06 +00:00
Jakub Vrana
31e02322db Nuke PHP syntax errors (including bug #30717)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172267 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-08 12:10:21 +00:00
Dave Barr
afdb358b2c - Fix broken build (<example> without a <title>), and other things.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167287 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-26 05:37:58 +00:00
Curt Zirzow
3b39595fab New documentation in new format.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167280 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-26 02:28:16 +00:00
Philip Olson
1b678a5bae Initial documentation (set_exception_handler remains &warn.undocumented.func;).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164180 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-24 06:35:11 +00:00