We were getting an Error trying to pass null to construct an exception, and found that "" works but null doesn't.
Also correcting the inheritance keyword since Throwable is an interface.
This brings these docs more into line with the PHPStorm stubs.
Closes GH-668.
In current PHP versions the Exception-class seems to allow all Throwable
values for its constructor's $previous param instead of only values of
type Exception.
Closes GH-442.
* 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
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 #69026 (conflict between documentation and behaviour on finally).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335965 c90b9560-bf6c-de11-be94-00142212c4b1
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
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
- 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