1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-27 17:24:06 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Runbing db7aa4f29b Clarify phrasing about missing expressing in return statement with return types (#1652)
The expression about return statement on page "[return](https://www.php.net/manual/en/function.return.php)" is not as clear as that on page "[Migrating from PHP 7.0.x to PHP 7.1.x](https://www.php.net/manual/en/migration71.incompatible.php#migration71.incompatible.typed-returns-compile-time)".
2022-06-24 12:45:48 +01:00
George Peter Banyard a9a6224ca9 Split type declarations into their dedicated page
Remove obsolete OOP5 TypeHinting page
Document union types

Closes GH-174

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351365 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 18:39:19 +00:00
Nikita Popov d2f332fa94 Remove outdated note on return by ref with parentheses
While writing return($a) may be stupid, it will still work fine.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344782 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-21 10:10:38 +00:00
Thomas Punt 576a10ee84 Resolve doc bug #69308
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338310 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:31:17 +00:00
Peter Cowburn 4760cef0ed "return" addition
Patch by Theodore M Rolle, Jr.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333217 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:43 +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 1f426b8ca3 Use &null;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321999 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 07:20:34 +00:00
Hannes Magnusson c7aca484fd Add version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312947 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-05 18:59:24 +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
Torben Wilson 81a0c36227 Clarified what will happen if you call return using parentheses but no argument.
Addresses Bug #49346.
Note: perhaps control structure documentation should be normalized to cover this sort of thing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287728 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-26 05:59:59 +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
Philip Olson fea3dc3d1d - Split control-structures.xml into control-structures/*.xml
- No content was changed
- Whitespace has been changed
- Changed to utf-8
- The history of these files can be viewed here:
--- http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?annotate=1.173


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271960 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-27 01:35:49 +00:00