DanielEScherzer
1651836ff3
Namespaces: note that enums are affected ( #4739 )
...
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com >
2025-06-22 11:38:42 -07:00
Philippe DELENTE
f4f96ef8b2
fix double space in various language pages ( #4439 )
2025-02-04 19:26:08 +00:00
Gina Peter Banyard
d4d5216e7a
[skip-revcheck] Replace PHP_INI_* with INI_* constants
...
Performed via a bash script which can be found on PR GH-3140
Closes GH-3140
Co-authored-by: haszi <haszika80@gmail.com >
2024-01-26 14:00:36 +00:00
Mikhail Alferov
874f7c1266
Make namespaces to pure lsit ( #3124 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-01-20 00:52:01 +00:00
haszi
a442778670
Use null true false entities in namespaces.xml
2024-01-05 12:59:41 +00:00
haszi
b52d7fcdf4
Remove ZEND_ constants that can be overridden
2024-01-05 12:59:41 +00:00
haszi
106b64de78
[skip-revcheck] Fix whitespace
2024-01-05 12:59:41 +00:00
Valentin Udaltsov
a5ddf6c612
Changed fn function name in name resolution rules ( #2888 )
2023-10-28 10:30:50 +02:00
Okechukwu Somtochukwu
d013ef8a63
Added syntax highlighting for currentdirectory in 'Using Namespace' page ( #2738 )
...
I was reading the documentation on the namespace and got confused when I saw the word currentdirectory, I thought it was a typo error but noticed that it is referencing a part of an initially highlighted part of the text <literal>currentdirectory/foo.txt</literal>.
Since this is used as an example, it has to be highlighted as well, I added the highlight
2023-09-04 23:49:49 +02:00
Juliette
1431d18dc4
Namespaces/importing: update the list of structures which can be imported
...
... for completeness.
Page link: https://www.php.net/manual/en/language.namespaces.importing.php
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com >
Closes GH-1748.
2022-08-15 16:19:52 +02:00
Danack
b95e76e41d
Types are not hints in PHP. ( #1003 )
...
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com >
2021-10-09 14:43:01 +01:00
George Peter Banyard
a71742330d
Further removal of PHP 5 mentions in language section
...
Closes GH-173
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351340 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-09 13:27:06 +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
70528785e7
Fix #77948 : Wrong Namespaces FAQ item interpretation/explanation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350306 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-13 13:04:25 +00:00
Christoph Michael Becker
59d459d265
Fix #74257 : "namespace \X" does not work to declare a namespace
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349407 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 17:37:34 +00:00
Christoph Michael Becker
15aac5e453
Namespace names are case-insensitive
...
This integrates user notes 113597 and 117905.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345127 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 15:26:05 +00:00
Nikita Popov
27e86fd791
Clarify namespace resolution rules
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340397 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 14:36:34 +00:00
Christoph Michael Becker
e52f86cf48
Fix #70610 : Misleading example of "illegal" importing rule
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339351 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 17:01:40 +00:00
Peter Cowburn
5bd0af2b34
remove broken code from namespaces example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338546 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 16:29:32 +00:00
Christoph Michael Becker
d7f1064f59
fixed #70930 : Namespaces FAQ is outdated
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338281 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 11:03:26 +00:00
Adam Harvey
e04e53e465
Tinker with group use wording.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337863 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:34 +00:00
Christoph Michael Becker
a90d340659
fix whitespace in example (contributed by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337618 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 00:20:41 +00:00
Peter Cowburn
9b89b59790
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337602 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 15:35:55 +00:00
Peter Cowburn
097f5fce7b
fix build - and move "group use" section to the aliasing/importing namespaces page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337598 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 08:19:36 +00:00
Pasindu De Silva
6fac1cc5e0
Added group use from migration
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337597 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 04:33:10 +00:00
Peter Cowburn
666758d72b
fix comment to reflect the actual doc entry title
...
--
Patch by Claudio Galdiolo (claudio.galdiolo@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335023 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-06 19:27:46 +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
9ef056fc32
Document use function/const.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333680 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 22:48:50 +00:00
Joe Watkins
1851bb43c9
#66047 update namespaces.definition for traits and clarity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332082 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-08 07:42:22 +00:00
Hannes Magnusson
32837406dd
Fixed bug#66004 (Parse error in an example of the namespace section)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332025 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-31 01:36:24 +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
Adam Harvey
847cba5fd0
Fix infinite recursion in namespaces FAQ example #8 , per note 111006.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329007 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 02:55:57 +00:00
Adam Harvey
3c107e7192
Fix doc bug #55140 (Ambiguous statement describes FQ namespace) with the
...
anonymous commenter's suggestion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328318 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:14:26 +00:00
Daniel P. Brown
33940bbe8c
Typo found and reported via webmaster mailing list by 'Вася Пупкин'.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324719 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 16:20:06 +00:00
Yannick Torres
9533989cdb
Revert some change
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324461 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:56:08 +00:00
Yannick Torres
addba5dcce
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324459 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:15:20 +00:00
Stanislav Malyshev
77e57fc9c7
add reserved namespaces
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318138 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-16 00:56:35 +00:00
Nikita Popov
920be7b3ce
Fix Bug #55243 : Namespaces also affect interfaces
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315517 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-25 20:35:42 +00:00
Richard Quadling
15912664fe
Typo. Fix bug #55338
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314059 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-01 16:05:53 +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
Adam Harvey
e5430e16c1
Fix doc bug #54363 (Namespaces: incorrect documentation example explanation).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309629 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-24 06:30:57 +00:00
Jakub Vrana
4c514c4b89
Namespaces importing (thanks to Jan Tvrdik)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309025 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-08 17:07:49 +00:00
Richard Quadling
9b48b91781
Tabs to spaces (or removed if trailing)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305081 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-04 13:32:52 +00:00
Kalle Sommer Nielsen
eb41c5d7b3
Fixed bug #53133 (Scope of use keyword is not documented)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304702 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-24 14:14:59 +00:00
Jakub Vrana
257719873b
Add PHP tags to <programlisting>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301115 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-09 09:58:13 +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
Dave Barr
af7da72ab4
- Typos.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286545 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 10:20:55 +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
Hannes Magnusson
f70806eb91
Make it darn clear that declare() can come before namespace;
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282672 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 18:56:16 +00:00
Daniel P. Brown
4ce6e9bd4e
Addresses Bug #47239 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280171 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 18:55:11 +00:00