1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

236 Commits

Author SHA1 Message Date
Yoshinari Takaoka
3d8c79ee5c fixed method_exists return value markup. (#4845) 2025-10-03 09:40:01 -05:00
Russell
57c38808e4 method_exists: Add changelog and note regarding not supporting __call. (#4507)
This integrates user notes 101507 and 124462
2025-03-06 13:26:11 +00:00
Marc Würth
c558c3af38 Copy setup code into second example to enable "run code" (#4368) 2025-02-20 09:21:27 -08:00
Mikhail Alferov
1debc76060 get-class-vars.xml: amend the code of examples (#3301) 2024-12-03 16:51:53 +01:00
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
46a9cdd2db Remove empty constants pages (#3527)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 16:08:35 +01:00
Victor
f5a677b8fd [skip-revcheck] fix: typo in class-alias determiner error (#3484) 2024-07-07 14:56:10 +01:00
haszi
605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
haszi
57d1b0df36 Remove empty installation pages (#3462)
Co-authored-by: haszi <haszika80@gmail.com>
2024-06-21 02:38:44 +01:00
Mikhail Alferov
194d020921 class-alias.xml: remove extra parentheses (#3311) 2024-04-16 10:58:17 +01:00
Mikhail Alferov
9a8a05e013 class-alias.xml: added note and change log for an internal classes (#3285) 2024-04-12 16:18:05 +01:00
Leonardo Lara Rodrigues
7cec82fec2 get_parent_class: fix to self-reference (#3195) 2024-02-20 01:16:08 +03:00
Sergey Panteleev
4f36c26a72 [PHP 8.3] Update get_class and get_parent_class (#3186)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-02-19 00:11:20 +00:00
Kamil Tekiela
a4fb7f5931 Fix return value of property_exists (#3152) 2024-01-29 13:38:17 +00:00
Kamil Tekiela
7d126f6cef Change note to normal para in get_parent_class (#3134)
Drive-by grammar fixes.
2024-01-23 13:53:36 +00:00
Mikhail Alferov
fd65805e83 Improve wording and markup of is_a() (#3128)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-01-23 13:34:52 +00:00
Alexandre Daubois
c992cd3eb5 Add a note about lowercase declared class alias (#2608)
Co-authored-by: George Peter Banyard <girgias@php.net>
2023-07-28 03:21:44 +01:00
George Peter Banyard
fe33a5685e Sync wording between get_class() and get_parent_class() 2023-07-10 14:20:19 +01:00
Niels Dossche
164b1547cf Corrections to get_called_class() (#2568)
Amend return value section and add an error and changelog section to document PHP 8.0 behavioural changes.
2023-07-10 09:43:58 +01:00
沈唁
2428508fac Use supertype instead of parent in is_a function (#2238) 2023-05-09 19:26:00 -05:00
KapitanOczywisty
42bd1bfed3 Replace links to __autoload (#2430) 2023-04-16 21:31:31 +01:00
jpslimmen2
5581b0ca66 Classes should be written in uppercase (#2344) 2023-03-06 15:02:07 +00:00
othercorey
11960da656 Drop get_declared_traits() returns null description
Closes GH-2191.
2023-01-15 11:36:13 +01:00
Benjamin Morel
944af3a79d is_a() works with interfaces, too (#506)
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-12-22 18:00:24 +00:00
蝦米
59d305435c Add innerlink for enum (#2040) 2022-12-05 23:55:13 +00:00
Markus Staab
2761e65ea2 Mention that is_a() is also working on interface class-strings
See https://3v4l.org/HmGbd

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1732.
2022-09-01 18:03:15 +02:00
Sergey Panteleev
5ea9b57cba Fix example output (#1783)
Closes php/doc-ru#418
2022-08-30 19:43:17 +03:00
Christoph M. Becker
f004f576e7 Fix GH-1575: get_parent_class may return false 2022-05-07 13:20:49 +02:00
魔王卷子
3a1b673c5f Fix wrong parameter name
Closes GH-1404.
2022-02-13 14:34:19 +01:00
Christoph M. Becker
de99fc78de Don't document ZPP failure return values
Cf. <https://github.com/vimeo/psalm/issues/7478>.
2022-02-01 23:14:29 +01:00
Kamil Tekiela
d6fbec8b21 get_class does not return false (#1169) 2021-12-29 14:01:44 +00:00
Máté Kocsis
fa575325c8 Fix a few enum function/method signatures (#1207) 2021-12-16 12:59:13 +01:00
Christoph M. Becker
d332b5ae70 Uninitialized type properties are silently discarded on array cast
Cf. <https://bugs.php.net/81629>.
2021-11-17 15:15:09 +01:00
Larry Garfield
9fe8103520 Document enumerations
Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-960.
2021-10-29 01:14:57 +02:00
Sergey Panteleev
6b739fa2ec Add get_mangled_object_vars description (#953)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-17 22:55:42 +03:00
Kamil Tekiela
6f11457f11 New examples for classes (#750)
Co-authored-by: Anna Filina <afilina@gmail.com>
2021-08-05 21:37:30 +01:00
Yoshinari Takaoka
363a506c6d added get_debug_type reference.
because get_class function is referenced from get_debug_type[*1].

[*1] https://www.php.net/manual/en/function.get-debug-type.php
2021-07-26 23:56:31 +09:00
Kamil Tekiela
04df229c53 Fix remaining usages of __autoload (#752) 2021-07-11 17:00:43 +01:00
Kamil Tekiela
6fbc82c739 Overhaul example for class_exists
Closes GH-749.
2021-07-03 12:55:49 +02:00
Kamil Tekiela
7783d8198a Remove PHP 4 constructor from get_parent_class example
Ckises GH-748.
2021-07-01 23:28:54 +02:00
Christoph M. Becker
c9bc21cb73 Fix #81218: get_object_vars returns parent class parameters
Besides there are no "class parameters", parent properties are returned
if in scope.
2021-07-01 19:09:53 +02:00
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