George Peter Banyard
161dde4fe7
Rewrite type section ( #1726 )
...
This commit rewrites the whole type section to (hopefully) be better structured and future proof for further additions to the type system.
* Each type now gets their individual page instead of being shoved in the type declaration page.
* A type system page is added which describes PHP's type system, regardless if it is possible to declare the type in userland or not. Therefore, the type declaration page only has information related to writing type declarations in userland.
* The description of strict_type and the type coercion is moved into the type juggling page.
* Remove outdated information in string implementation section
* Add paragraph about using non string in string context can throw
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-11-30 15:39:41 +00:00
Yoshinari Takaoka
a8796e2f71
fixed unset cast removed warning as of PHP 8.0.0.
2021-08-12 22:31:24 +09: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
Peter Cowburn
c5849e0c38
Fix capitalisation for null type and use entity for null value.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327443 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-03 10:36:09 +00:00
Yannick Torres
a1daee7a1a
Revert last change
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325207 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 13:18:17 +00:00
Yannick Torres
319b01713c
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325203 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 11:25:17 +00:00
Nikita Popov
68c00dcb1a
Add "Casting to NULL" section back, this time with correct content.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322850 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 16:09:45 +00:00
Nikita Popov
ee7bb2a07b
Remove misleading/wrong "Casting to NULL" section from NULL docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322849 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 15:46:29 +00:00
Jakub Vrana
d2bd0304a2
Undocument PHP 3
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313748 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-26 22:12:25 +00:00
Pierrick Charron
f4fb541dbb
Revert commit 304852 to fix the build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304875 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 15:13:31 +00:00
Paul Dragoonis
4c1504e24b
Changes to remove the mention of using (null) as a cast, which is not implemented in the language at all.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304852 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 13:52:04 +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
b05277b996
Document (unset) cast
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264723 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-12 22:06:41 +00:00
Gwynne Raskind
0feec568a3
Major cleanup of language.types.*; mostly grammatical work, some markup and WS fixes, no new content. The title 'Resource' was changed to 'Resources' for consistency; a TOC regen is needed to reflect it.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253468 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-21 18:43:17 +00:00
Gwynne Raskind
847b241496
Some markup structure and whitespace fixes. This stye of markup is more consistent with DB 5. No content changes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253176 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-18 22:32:54 +00:00
Gwynne Raskind
123738b556
step two: massive whitespace updates. types.xml (containing the entire description of PHP types) was a very large file, and has now been split in several files in en/language/types. No content has been changed whatsoever at this point. This commit fixes whitespace across the board in all the files, and contains no other changes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@252928 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-14 20:50:33 +00:00
Gwynne Raskind
5b09b299d6
step one of updating language.types: split into separate files (types.xml) was getting too big
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@252927 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-14 19:57:17 +00:00