Commit graph

2046 commits

Author SHA1 Message Date
Maciej Sobaczewski
445962cfde These all should be informal examples
<informalexample> doesn't require title and therefore unclutters Example Index

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341083 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 22:47:03 +00:00
Maciej Sobaczewski
a9977adcc2 Whoopsy, wrong version
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341077 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 06:04:27 +00:00
Maciej Sobaczewski
ac6f979ca9 Add missing informations (also integrates user notes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341075 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 05:22:05 +00:00
Maciej Sobaczewski
82d79c6653 Fix manual build, sorry!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340960 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-12 07:11:22 +00:00
Bob Weinand
63a98c4c11 Add documentation for so_reuseport, so_broadcast and ipv6_v6only socket stream context options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340564 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-19 11:06:56 +00:00
Christoph Michael Becker
e347a6856e Improve example
Patch provided by Andrey Gromov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340503 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 12:58:30 +00:00
Christoph Michael Becker
b7e2253079 Document support for negative indices in simple variable parsing syntax
Cf. <https://github.com/php/php-src/pull/2144>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 12:42:37 +00:00
Christoph Michael Becker
2de9c1a37b Fix ##73287: Clone chaining feature
We also document that this is possible for `new` as of PHP 5.4.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 13:01:01 +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
1b08ec49bf Fix broken invalid example
We also add a valid example, as suggested by Andrey Gromov.
Furthermore we move the unrelated paragraph below the examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340379 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:49:02 +00:00
Christoph Michael Becker
829b469622 Stick to American English
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340349 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:32:40 +00:00
Christoph Michael Becker
f6c86f60c8 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340338 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 11:54:36 +00:00
Christoph Michael Becker
59ea89792d There is no 2**31 byte restriction regarding the string length anymore for 64-bit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340324 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:22:23 +00:00
Christoph Michael Becker
98a2748836 Fix #66079: Exception constructor might ignore default arguments when overriden
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340256 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-29 10:38:05 +00:00
Christoph Michael Becker
bf5cfd002c Improve example (patch provided by Joel James)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340241 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:20:36 +00:00
Christoph Michael Becker
da36163bfb Clarify behavior (patch provided by J.D. Grimes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340240 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:19:56 +00:00
Christoph Michael Becker
9884bb84dd Update wrt. PHP 5.6
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340239 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:16:49 +00:00
Christoph Michael Becker
72d4e40a18 Improve markup (patch provided by fabioluciano)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340237 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:08:23 +00:00
Christoph Michael Becker
3e823762fd Fix example (patch provided by Alexander Zhukov)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340236 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:07:15 +00:00
Christoph Michael Becker
9f9375d3a4 Improve markup (suggested by fabioluciano)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340235 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:05:00 +00:00
Christoph Michael Becker
3ec69d212d Fix broken example
Heredoc terminators must not be indented. Pointed out by rjhdby.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340223 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:36:54 +00:00
Andrea Faulds
603d5c848b Fix modulus -> modulo, link division and modulo ops to eachother
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340175 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 15:05:45 +00:00
Andrea Faulds
41f08deefe Mention intdiv() alongside division operator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340174 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 14:54:20 +00:00
Christoph Michael Becker
d225d89995 Update manual wrt. <https://wiki.php.net/rfc/negative-string-offsets>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:53:33 +00:00
Christoph Michael Becker
68199788a9 Fix docs wrt. bug #71572
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340031 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:10:13 +00:00
Christoph Michael Becker
1b5a19a7b4 Fix #72430: [] operator not supported for strings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340030 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 10:56:07 +00:00
Christoph Michael Becker
2e7b22f6c4 Fix typo (as noticed by netrilix at gmail dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339962 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-31 17:09:50 +00:00
Bob Weinand
5e4630858d Resources hold handles, not handlers (which are governed by the individual functions operating on them)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339952 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-29 20:15:27 +00:00
Christoph Michael Becker
69c0c0c9ed Document behavior of array dereferencing scalar values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339937 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-25 11:41:19 +00:00
Bob Weinand
55f05f668b Fix last commit, * is indeed not an addition...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339899 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-18 10:19:53 +00:00
Bob Weinand
7d646ff064 Changing the example from + to *, as arrays have special behavior when added…
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339898 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-18 00:20:21 +00:00
Karoly Negyesi
31e3e09380 clarify trait use as
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339838 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-10 09:42:52 +00:00
Christoph Michael Becker
6937b29491 Class constants are allocated once per class
We try to get rid of the myth that class constants were allocated for each
instance, as claimed by user note 112286. Proof: <https://3v4l.org/3DKMC>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339824 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-09 11:32:38 +00:00
Christoph Michael Becker
5d2c855eac Document class constant visibility modifiers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339823 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-09 11:13:18 +00:00
Christoph Michael Becker
aab798bada Typo fixes provided by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339802 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 13:14:41 +00:00
Peter Cowburn
d990e05228 add callable to list of types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339784 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 08:23:18 +00:00
Peter Cowburn
fcce003707 revert callable/callback pseudo-type change
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339783 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 08:22:41 +00:00
Christoph Michael Becker
b3dcbb7ee1 Fix #71513: callback (aka callable)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339781 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-04 23:30:30 +00:00
TAKAGI Masahiro
078b995559 Fix example title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339727 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-26 22:44:07 +00:00
Christoph Michael Becker
2355dfd77b Fix #72675: Null coalesce operator example has if/else wrong way round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339720 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-26 10:24:52 +00:00
Peter Cowburn
4b256089a5 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339713 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 09:52:36 +00:00
Bob Weinand
c6dccad7d7 Follow-up for last commit, missing information about the isset-like behavior
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339711 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 08:51:14 +00:00
Bob Weinand
4522603799 Move ?? null coalesce into its own section as it needs a few notes similar to ternary
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339710 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 08:43:12 +00:00
Christoph Michael Becker
7308de91f0 Fix #72662: Anonymous function example 5 relies on PHP 7 syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339708 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-24 11:23:00 +00:00
Christoph Michael Becker
c9279f4467 Fix #72652: Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339705 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 18:35:29 +00:00
Christoph Michael Becker
f984ca507f Fix #71664: Use of the term "standard class" inaccurately
Clarify introduction sentence on creating interfaces with respect to classes

-- 
Provided by anonymous 70720 (d@roscius.ca)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339625 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:30:04 +00:00
Christoph Michael Becker
d8669a0bd4 Document unary plus operator
Despite having two *downvoted* notes about the unary plus operator 
(108105 and 116868), we document it in the manual (and delete the notes).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339585 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-08 00:10:36 +00:00
Christoph Michael Becker
f81df0ec7a Add example wrt. +,- and . having the same precedence
Albeit the behavior should be clear from the precendence table, Antistone 
posted a note about this two years ago which has got 67 votes and there 
have been two replies to this note which also have been upvoted, so we 
integrate this information into the manual, and delete the notes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339582 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-07 18:41:06 +00:00
Christoph Michael Becker
6145544e01 Integrate user notes 116312 and 118639
We clarify the difference between define() and const wrt. to allowed values.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339565 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-05 13:11:07 +00:00
Bob Weinand
8c3557271d Add caution/note regarding yield from and iterator_to_array
It's been a common source of mistake, see also https://bugs.php.net/72518

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339531 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 00:24:35 +00:00
Christoph Michael Becker
ec77057bf3 Fix #62200: __set_state() not implemented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339526 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:03:32 +00:00
Christoph Michael Becker
534cfca423 Fix #65253: $_FILES documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339495 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 16:30:49 +00:00
Christoph Michael Becker
f8aa32180b Fix #50886: Incomplete documentation for php://memory
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339489 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:29:05 +00:00
Christoph Michael Becker
762d0209c2 Fix #72491: Case can take objects and arrays
Indeed, there are no restrictions on the type that a case expression evaluates to.
That's conforming to the PHP language specification:
<https://github.com/php/php-langspec/blob/PHP-5.6/spec/11-statements.md#the-switch-statement>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339487 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 11:20:17 +00:00
Christoph Michael Becker
0b626f05d2 Improve fix of #69234 as suggested by salathe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339475 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-24 10:25:58 +00:00
Christoph Michael Becker
49cdb0085e Fix #69234: Escaped single quotes within double quotes not recognized
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339469 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 23:57:55 +00:00
Peter Cowburn
8b269103c2 add php tags to example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339458 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:40 +00:00
Peter Cowburn
97cd51dd32 use correct variable name in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339457 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:02 +00:00
Christoph Michael Becker
c373ef087f Integrated user notes 119153 and 119475 into the manual proper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 17:10:57 +00:00
Christoph Michael Becker
fa568719e1 Fix #72468: heredoc seem actually supported in static declarations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339448 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 11:03:49 +00:00
Christoph Michael Becker
4392990fb6 Fix #72462: documentation about static calls from secondary object is outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 14:38:50 +00:00
Christoph Michael Becker
2b5b055e52 Fix #64457: HTTP_HOST, SERVER_NAME, SERVER_PORT spoofing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339426 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 15:27:16 +00:00
Fábio Luciano Nogueira de Góis
d98f67b5c6 updating manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339405 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 20:31:19 +00:00
Christoph Michael Becker
62268f3428 Fix #69399: Serializable and __wakeup()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339383 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 14:31:14 +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
Christoph Michael Becker
eeb2bef9bb Fix #53614: Strings variable parsing - problematic example among complex syntax examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339345 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 13:42:53 +00:00
Christoph Michael Becker
239e96a218 The manual is supposed to cover all PHP 5 versions
Therefore we restore the recently removed (339323) part, mark it as being
version specific, and add a general changelog.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339330 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-13 12:06:55 +00:00
Nikita Popov
3f55a4ebc7 Remove lies from foreach docs
The given code is valid since PHP 5.5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339323 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-12 15:50:55 +00:00
Christoph Michael Becker
06df50f0b1 Fix #72331: most simple way to call anonymous function assigned to object property missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339308 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:25:21 +00:00
Christoph Michael Becker
ec6a5fb91f Clarify that example requires PHP 5.4.0 or higher
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339307 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:20:58 +00:00
Christoph Michael Becker
2891a305f1 Document behavior of NaN/Inf to int casts
As of PHP 7.0.0 this results in int(0); formerly it has been undefined.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339291 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-03 13:28:47 +00:00
Christoph Michael Becker
1d7caa1a60 fix #71458: foreach docs should expand upon the references warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339246 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-31 16:55:09 +00:00
Thomas Punt
8c4ca17c5a Resolve doc by #61999
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339217 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 20:06:10 +00:00
Thomas Punt
5644e740fd Resolve doc bug #71348
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339215 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 19:45:38 +00:00
Peter Cowburn
2a98bea220 typofix (doc #72250)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339197 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-21 10:40:13 +00:00
Bob Weinand
f7069c1596 Be precise about the scope of strict_types not affecting calls from within internal functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339195 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-20 15:20:09 +00:00
Peter Cowburn
ecf52eec24 Tie together ErrorException severity and error constants (doc #63158)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339185 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-19 20:47:23 +00:00
Nikita Popov
19059652f1 Fix bug #67011
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339142 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-06 13:55:27 +00:00
Christoph Michael Becker
bb3e737c4d documented silent overflow of octal literals in interpolated strings
see <https://wiki.php.net/rfc/octal.overload-checking>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339098 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-26 09:46:25 +00:00
Peter Cowburn
f1cc27e4a8 unicode escape sequence allows uppercase and any number of digits (doc bug #71746)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338989 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-11 07:59:29 +00:00
Fábio Luciano Nogueira de Góis
6495ac90b4 adding tags into apropriated places
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338959 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 20:31:00 +00:00
Fábio Luciano Nogueira de Góis
9b6f1812ab adding literals and interfacename tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338957 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 18:57:51 +00:00
Christoph Michael Becker
4e85725855 typo fix by Ishan Raychaudhuri
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338943 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-06 13:43:52 +00:00
Christoph Michael Becker
dcafd6ef3d improved wording (suggested by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338912 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:36:51 +00:00
Christoph Michael Becker
cdab70215c minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338911 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:14:46 +00:00
Christoph Michael Becker
a8b24da312 fixed #66772 (Comma operator does not behave as operator)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338860 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:11:48 +00:00
Christoph Michael Becker
acc7076441 fixed #71902 (Invalid precedence order of => (T_DOUBLE_ARROW) operator)
Actually, T_DOUBLE_ARROW isn't an operator.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338859 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:06:29 +00:00
Joe Watkins
f8f7cf947f correct inherited methods in ParseError
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338831 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 05:35:21 +00:00
Joe Watkins
5195f04ffd fix bug #71347: some builtin error exceptions were documented incorrectly
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338826 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-26 21:05:33 +00:00
Christoph Michael Becker
27c99098ed fixed #71878 (Error in documentation example)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338787 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-23 11:14:14 +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
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
c2aae8928b minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:34:57 +00:00
Christoph Michael Becker
142e1a0eb7 typo fixes submitted by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338501 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 14:14:37 +00:00
Christoph Michael Becker
45fc246e9f ::class is a compile time transformation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338498 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 13:31:35 +00:00
Christoph Michael Becker
5cba5bb19f integrate user note 118065 (just to avoid confusion)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 22:18:54 +00:00
Peter Cowburn
56125c6883 add spl_autoload_register() back to autoloading page see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338462 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-11 14:46:49 +00:00
Thomas Punt
fb3920c122 Resolve doc bug #69583
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338443 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 22:52:27 +00:00
Thomas Punt
dcf481b64f Modernise autoloading page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338442 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 17:38:43 +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