Commit graph

194 commits

Author SHA1 Message Date
Sergey Panteleev
6846ebb4e3
Fix issues in classobj directory
Part of #658
2021-06-10 16:30:21 +03:00
Larry Garfield
4ff15172da
Fold in comments for get_object_vars()
Closes GH-595.
2021-05-24 18:09:54 +02: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
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 (#548) 2021-04-26 11:46:55 +03:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Yoshinari Takaoka
496d3f708e Added PHP 8 into versions.xml for classobj based on stubs.
Closes GH-395.
2021-01-24 15:58:28 +01:00
Yoshinari Takaoka
d88a13cd9e __autoload was deleted as of PHP 8.0.0.
already documented in appendices/migration80/incompatible.xml.
2021-01-24 23:50:29 +09: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
Christoph Michael Becker
4754397753 Revert revision 351727 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@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +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
a9a9172aee Reflect PHP 8 typehint in method_exists
This type specification is also appropriate for PHP 7.

Based on patch contributed by Ian Littman <iansltx@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351409 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 12:05:27 +00:00
Christoph Michael Becker
b687e06cb0 call_user_method(_array) is removed as of PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350985 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 14:20:38 +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
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
53bdffa6b9 Removed some of the PHP5 changelogs
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350645 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:32:19 +00:00
Christoph Michael Becker
0841cced6c Fix #79747: __autoload not labeled as "Deprecated"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350087 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-29 07:17:39 +00:00
Christoph Michael Becker
e4bb74f6ed Fix #79474: get_declared_classes Wrong loading order Inheritance
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349660 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-15 08:50:00 +00:00
Christoph Michael Becker
00ff0a3a0c Fix #78954: get_object_vars not returning typed empty properties
Untyped properties default to NULL, so this sentence is superfluous for those.
Unitialized typed properties are not included in the result, so the sentence is
plain wrong for those.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348498 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-12 17:18:46 +00:00
Christoph Michael Becker
d49b5c788d Use new style constructor
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347286 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-19 11:14:48 +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
a1060b5268 Fix first parameter docs
Patch provided by irker.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346082 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 10:56:41 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Jakub Vrana
7418592d82 Capitalize <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343887 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:24:28 +00:00
Christoph Michael Becker
970d9b2e54 Fix #75789: Add class_parents to see also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343810 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-10 14:03:01 +00:00
Pieter Hordijk
16f192be4e Fixed see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343260 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-19 13:55:22 +00:00
Pieter Hordijk
b4030d009b Adds reference to trait_exists function to the get_declared_traits page.
-- 
Provided by anonymous 86497 (potherca@hotmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343250 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-16 18:46:49 +00:00
Christoph Michael Becker
2a6fc6a1d5 Functions do not return types, but rather values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343199 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-06 14:01:59 +00:00
Andrey Andreev
7edc885311 Document https://wiki.php.net/rfc/get_class_disallow_null_parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342130 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 12:31:33 +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
Andrey Gromov
fd997f01ab Change constructor from PHP4 to modern style in example.
By naitsirch.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341814 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-30 09:55:32 +00:00
Jean-Sebastien Hedde
91e0557e2f 1) Adds clarity on what is returned when using get_class() with objects that are instances of namespaced classes
2) Add example of qualified namespace return value

-- 
Provided by anonymous 77227 (amo.chohan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341499 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-28 12:23:11 +00:00
Christoph Michael Becker
62d53f70bd Fix #73623: Example mentions deprecated PHP 4 OO naming style for constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341232 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-30 11:42:28 +00:00
Fábio Luciano Nogueira de Góis
24f1c77edb removing unnecessary spaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339407 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 21:26:08 +00:00
Adam Harvey
74ad648bc8 Improve removal warnings for call_user_method*.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338430 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:24 +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
Christoph Michael Becker
be3aad3abb fixed example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337717 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:50:07 +00:00
Christoph Michael Becker
3f9ba7919c is_subclass_of works for interfaces also (by Přemysl Karbula)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337663 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-28 12:51:24 +00:00
Adam Harvey
48222f41b7 Note the removal of call_user_method*().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337342 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:54 +00:00
Peter Cowburn
b39701f4be tidy up get_class_vars() after PHP 4
Patch by cmb

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336887 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-08 22:46:35 +00:00
Maciej Sobaczewski
9194a9bb5b Mark some functions as deprecated in versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336049 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-07 19:29:16 +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
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +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
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Karoly Negyesi
59b4b899d3 Note is_subclass_of() is not fussy about nonexisting classes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334468 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-02 20:46:07 +00:00
Peter Cowburn
a74126187d typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333179 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:01 +00:00
Joe Watkins
ea9ca6e6ca #61465 adjust description for clarity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331737 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:07:52 +00:00
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +00:00