1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-29 10:13:23 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
Máté Kocsis 681fd84dbd Add documentation for missing attribute constructors (#2126)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2023-01-02 21:33:51 +01:00
Máté Kocsis 1acd98a6cd Remove unnecessary documentation of non-existent constructors (#2122)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-12-28 16:34:44 +01:00
George Peter Banyard 59578bb384 Add predefined attribute section and classes (#1990)
This provides basic documentation for all the predefined internal attribute classes.
2022-11-13 13:35:35 +00:00
Kamil Tekiela 360928c5ef Document stdClass (#1862) 2022-10-04 18:22:56 +01:00
Christoph M. Becker 2c974ae7c4 Fix GH-896: InternalIterator is not documented
Closes GH-899.
2022-09-15 15:27:35 +02:00
Máté Kocsis e5021b6d8b Generate various class synopses from stubs - part 2 (#1251)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-26 12:10:36 +01:00
Aaron Piotrowski 1f7a0e4af8 Fiber documentation
Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Fabien Villepinte <fabien.villepinte@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1096.
2021-12-02 16:11:55 +01:00
Jeremy Mikola 7cfd68e5d4 Document Stringable::__toString() method
Also fixes links to __toString() magic method in Stringable interface docs.

Closes GH-1082.
2021-11-11 17:09:59 +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
Yoshinari Takaoka 7bdd9249f2 added WeakReference "PHP 8" version info.
https://github.com/php/php-src/blob/PHP-8.0/Zend/zend_weakrefs_arginfo.h#L38-L40
2021-05-02 08:45:46 +09:00
Larry Garfield bf28a4ce4f Describe WeakMaps (#479)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-13 23:59:11 +02:00
Yoshinari Takaoka b694d83ae9 added Stringable version info. 2021-04-02 17:10:06 +09:00
Yoshinari Takaoka 33e300f8f0 added missing UnhandledMatchError version info. 2021-03-05 22:17:32 +09:00
Christoph Michael Becker 720f4daa5c Add version info for new attributes page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351909 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 18:25:57 +00:00
George Peter Banyard 31379d5d4a Add PHP 8 to versions.xml in language section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351498 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 17:06:29 +00:00
Christoph Michael Becker 8bffa66276 Add ValueError page
Patch contributed by George Peter Banyard <girgias@php.net>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351496 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 14:00:54 +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
George Peter Banyard ca309ab744 Add version information to methods of Error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350937 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-18 13:55:12 +00:00
Christoph Michael Becker faabf4e74a Fix #78048: Weakref extension and PHP 7.4 weak references might cause confusion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347473 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-23 08:17:25 +00:00
Christoph Michael Becker fd35a907bb Document new CompileError exception
Based on a patch provided by Huiren Woo.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345757 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 16:32:58 +00:00
Jakub Vrana 7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana 920901f85f Remove >= 5.0.0 from versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 09:04:35 +00:00
Jiří Pudil 1cf8f88730 Fix #74319: add documentation for ArgumentCountError
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342629 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-30 19:45:07 +00:00
Andrey Andreev 54d1080654 Fix an error from r342126
Mistakenly marked _POST instead of HTTP_RAW_POST_DATA as deprecated/5.6.0, removed/7

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342127 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:53:58 +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
Jiří Pudil caec2ae726 Add Closure::fromCallable() documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341998 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-01 16:11:18 +00:00
Christoph Michael Becker 241d7869c8 fixed #71464: $HTTP_RAW_POST_DATA states "Removed in 7.0", but also lists 7.0 in version list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 21:00:57 +00:00
Adam Harvey 41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Thomas Punt cfcdab37fd Link Generator::getReturn method to Generator class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338300 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 16:23:50 +00:00
Adam Harvey 02678aa8dc Expand the Closure::call() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337372 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:26 +00:00
Adam Harvey 9a4e00c8f0 Add Error documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337354 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:05 +00:00
Pasindu De Silva 57eddcd303 Added docs for throwable interface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337139 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-11 12:55:27 +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
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
Jakub Vrana 8f10aa0448 Standardize Generator documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330333 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 18:44:54 +00:00
Adam Harvey 8ad0d94e1c Add initial migration guide for PHP 5.5.
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
2012-11-20 15:17:23 +00:00
Peter Cowburn 437ca6963d version info for closure methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325959 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 08:36:45 +00:00
Hannes Magnusson 085ce88f63 Add version info for some classes and new intl stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321137 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 17:39:22 +00:00
Philip Olson e3f6cc7267 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312961 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-05 21:56:21 +00:00
Hannes Magnusson fc098ca42e Print version info for Exception
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312959 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-05 21:35:26 +00:00
Hannes Magnusson cb0630b149 add version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312956 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-05 20:42:29 +00:00
Peter Cowburn 61bdabf9bc fix predefined interfaces versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309994 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-06 20:37:05 +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
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
Kalle Sommer Nielsen 8562e285f2 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280389 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 15:46:10 +00:00
Kalle Sommer Nielsen 02b686b83e Exception::getPrevious is available as of 5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280386 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 15:33:46 +00:00
Philip Olson 3abebb615d Added and updated PHP/PECL version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276608 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-28 23:51:42 +00:00
Philip Olson 5b1f813356 Added PHP/PECL version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275636 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-12 05:29:58 +00:00