Commit graph

156 commits

Author SHA1 Message Date
George Peter Banyard
06779b0612 Fix section order issues in funchand/ folder
Part of #658
2021-06-06 18:03:03 +01:00
Sergey Panteleev
eec6a4a36b
Remove PHP 5, 7 references (#564)
- zookeeper
- zlib
- zip
- yaf
- uopz
- uodbc
- openssl
- funchand
2021-06-04 09:13:56 +03: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
Yoshinari Takaoka
924e111f78 Added PHP 8 into versions.xml for funchand based on stubs.
Closes GH-403.
2021-01-26 18:59:01 +01:00
Christoph Michael Becker
4d4301be41 create_function has been removed in PHP 8
Closes GH-290.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352192 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:34:18 +00:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00: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
9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +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
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
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Yoshinari Takaoka
b7fedfcbcb fixed parameter name. conform it with methodsynopsis.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348964 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-20 10:35:29 +00:00
Christoph Michael Becker
ae90534d15 Fix return type
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346902 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-25 12:12:10 +00:00
Christoph Michael Becker
43377a3318 Removed duplicate empty param "..."
-- 
Provided by anonymous 95384 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346404 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-20 17:50:35 +00:00
Christoph Michael Becker
962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Christoph Michael Becker
47814777fd Update wrt. pass-by-reference warning
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345197 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 13:18:06 +00:00
Christoph Michael Becker
ac51aaac3b Fix changelog entries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344866 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 15:08:50 +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
Christoph Michael Becker
d0df80cbd2 The optional paramater exclude_disabled has been added to get_defined_functions()
See <http://git.php.net/?p=php-src.git;a=commit;h=63d116e5>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341597 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-04 15:11:23 +00:00
Christoph Michael Becker
4d616f071c Add example about passing references
Original patch provided by Esteban Marin

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340342 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 08:51:26 +00:00
Christoph Michael Becker
67b64521e4 Fix return value info (provided by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340058 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-19 16:19:13 +00:00
Christoph Michael Becker
674b07e333 fixed #71113: Undocumented behavior of func_get_arg(s)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338280 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 09:45:42 +00:00
Christoph Michael Becker
893bcb1227 fixed #71124: wrong version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338260 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-15 16:41:30 +00:00
Maciej Sobaczewski
92bff06867 Update bunch of versions.xml for PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Peter Cowburn
4ac3664895 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336771 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:55:44 +00:00
Peter Cowburn
743a40810e WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336768 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:26:35 +00:00
Peter Cowburn
50bb6c96bc Added missing output in func-get-arg 1st example
-- 
Provided by jonid.bendo@gmail.com via online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336767 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:23:00 +00:00
Pasindu De Silva
394c58587d Removed br from example (By Jonid Bendo)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336598 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 07:10:24 +00:00
Peter Cowburn
24afbb0d4f fixed comment in example of call_user_func with array (doc bug #62080)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335189 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-17 20:47:41 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Adam Harvey
84630c830d See also: splat.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334626 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:05:02 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Nikita Popov
a0efd60818 Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Reeze Xia
698c0b0911 typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328488 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-24 19:28:17 +00:00
Peter Cowburn
2156ae971c Adding a note that shutdown functions won't be executed if the script gets a SIGTERM or SIGKILL, though you can pcntl_signal() for the TERM and exit;. (doc #63275)
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328335 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:43 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Gustavo André dos Santos Lopes
a63563da67 Fixed typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325661 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-11 22:44:28 +00:00
Gustavo André dos Santos Lopes
233b7b9803 - Updated docs for call_user_func_array() in light of PHP 5.4 developments.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325660 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-11 20:42:17 +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
Jakub Vrana
a587927ae1 Link reflection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321890 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:18:24 +00:00
Nikita Popov
492167b71c Fix Doc Bug #60532: incomplete documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321062 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-16 16:22:40 +00:00
Jakub Vrana
76a824ab19 Link extension_loaded() and function_exists()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320300 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 06:00:50 +00:00
Nikita Popov
88addd0b68 Update register_shutdown_function documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319357 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-16 18:10:24 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Jakub Vrana
61eefabf35 Use declare in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311173 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-18 09:12:09 +00:00