Commit graph

33 commits

Author SHA1 Message Date
Christoph Michael Becker
1d58f72646 Exception updates
* Empty catch statements
* Throw as an expression
* Various other cleanup while I was there to remove comments

I also deleted a crapload of comments. It's so satisfying.

Closes GH-238.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351652 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 23:03:02 +00:00
George Peter Banyard
cdaea04215 Remove mention of PHP 5 in Language Reference section
This does not cover the OOP nor Error sections, but everything else should be covered

Closes GH-156

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +00:00
Christoph Michael Becker
dcd5448282 Fix other typos outside of php module docs
Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349711 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:59:43 +00:00
Peter Cowburn
9d7bbd34d5 Clarification on interaction between finally and return statements (doc bug )
Patch by Sorin Nunca

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349132 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 20:03:54 +00:00
Christoph Michael Becker
6398de67ed Remove more PHP 4 related info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346158 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-04 01:12:11 +00:00
Jakub Vrana
3d1b737b25 Document that Exception extends Throwable (fix )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344005 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 13:19:59 +00:00
Jiří Pudil
0b517ab52a Add multi catch exception handling docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342628 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-30 17:00:19 +00:00
Christoph Michael Becker
92d94d9c11 simplified description of normal execution wrt. try-catch (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336948 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:09:55 +00:00
Adam Harvey
4c4736f7d3 Clarify when a catch block is required in conjunction with finally.
I've added entities for throw, try, catch and finally so that they can be more
easily used and linked to the right sections. This has resulted in a
considerable amount of code churn in exceptions.xml, as everything is now in a
simplesect or sect1 (and the sect1 had to be moved ahead of the simplesects,
which has no impact on formatting, but is required for the document to be
well-formed).

Fixes doc bug  (conflict between documentation and behaviour on finally).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335965 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-19 23:52:40 +00:00
Shein Alexey
7aa0b252a3 Added <literal> tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330826 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-09 11:58:14 +00:00
Daniel Convissor
c09f0b428b CS for examples (pardon my pedantry).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330587 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 01:53:00 +00:00
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00
Yannick Torres
88a88985b9 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316587 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 06:12:03 +00:00
Peter Cowburn
1b5772cda4 link to spl exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313048 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 12:18:53 +00:00
Richard Quadling
f1b4419dc7 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301447 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-21 16:48:15 +00:00
Richard Quadling
fdba617bc8 Added note about backward compatibility of extending exceptions for PHP < 5.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301446 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-21 16:02:05 +00:00
Richard Quadling
6f78fd0289 Show E_xxxx as constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301114 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-09 09:57:39 +00:00
Richard Quadling
ad7a14cbe6 E_FATAL => fatal E_ERROR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300375 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-11 11:52: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
Daniel Egeberg
687774dcd6 Fixes PHP bug (Exception documentation needs clarification)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293547 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-14 15:34: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
Richard Quadling
607639bdac Missing properties and methods of the built-in Exception class and note regarding the inability to clone an Exception.
Fixes bug 

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287937 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-01 10:20:56 +00:00
Nilgün Belma Bugüner
04077dd209 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Brett Bieber
ae218ccd6a correct minor spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278136 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-01 18:37:02 +00:00
Jakub Vrana
5a2f580aff Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@274241 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-22 16:55:51 +00:00
Hannes Magnusson
0976bea995 - Only modern *object oriented* extensions possibly use exceptions
- Add a tip about the pre-existing SPL exceptions


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269065 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-15 18:39:46 +00:00
Jakub Vrana
38b003a6ae Internal exceptions (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268294 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 17:04:29 +00:00
Felipe Pena
5b79026e5c - Added new example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257840 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-18 19:18:42 +00:00
Hannes Magnusson
2924813c5c Fix example output (php at ngaru.com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241848 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-26 08:24:32 +00:00
Jakub Vrana
72c4c8eb77 Better example (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241437 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 12:31:46 +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
Sean Coates
382bf0a5fd better flow/grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203834 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-28 19:09:27 +00:00
Jakub Vrana
6afb2b608c Move exceptions from objects (bug )
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
Renamed from language/oop5/exceptions.xml (Browse further)