Commit graph

1728 commits

Author SHA1 Message Date
Peter Cowburn
3d6f4f815e typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333195 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:09 +00:00
Philip Olson
11749f70a3 Ternary is an expression, not a statement. Patch by Alok Menghrajani.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332978 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-13 00:22:52 +00:00
Adam Harvey
7c2c57dddc Clarify the uniqueness and stability of casting resources to string/integer.
It was pointed out on comp.lang.php that the existing wording was unclear on
the point of what in the resource->string casting behaviour shouldn't be relied
upon (whether it was not guaranteed that the string is unique, or just that the
exact format of the string is subject to change). I've also added a paragraph
to the integer page noting what a resource->integer cast results in.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332894 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-26 21:23:36 +00:00
Joe Watkins
53182cbc3a fix #66663 cleanup description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332880 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-23 08:22:12 +00:00
Simion Onea
b7031192a2 Reverted to an earlier revision.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332727 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-24 06:17:07 +00:00
Simion Onea
18e48e7ff4 Changed Mrs to Ms. Mrs means "mister or missis".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332718 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-23 12:33:48 +00:00
Adam Harvey
5a508eaeb1 Add an ID to allow php://input to be directly linked.
This may be important shortly. :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332635 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-17 09:54:29 +00:00
Hannes Magnusson
7850a1abc6 Changelog for __get() updated.
-- 
Provided by anonymous 28438 (hanskrentel@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332595 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-11 22:56:36 +00:00
Hannes Magnusson
7b2313353e Revert "r326694 | googleguy | 2012-07-18 17:38:06 -0700 (Wed, 18 Jul 2012) | 2 lines
Changed example for ErrorException, which demonstrated wrong argument order in the
construct."


This fixes bug#66362



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332523 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-29 10:06:07 +00:00
Levi Morrison
f616f360e1 Changed 'hallo' to 'hello'.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332515 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-27 03:47:35 +00:00
Phil Sturgeon
b2ae70c494 Fixed bug #61303 - $_SERVER['PHP_SELF'] description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332466 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-18 21:37:08 +00:00
Sherif Ramadan
bf46686034 Remove bad example.
The variable $juice is not defined. The example doesn't make any sense.
Syntactically the interpolation would work had the correct variable name been
used. So I'm removing this portion of the example since it doesn't demonstrate
anything useful.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 13:52:31 +00:00
Joe Watkins
f002c9de8f fix operator precedence table with literal tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332327 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 09:07:12 +00:00
Joe Watkins
6586f45780 fix #66164 make operator precedence table more readable (commas and "and")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332319 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-09 11:15:38 +00:00
Jeff Welch
9d688d2ad4 Fix doc bug #66206 (Socket context options: reverse changelog order).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 03:34:28 +00:00
Jeff Welch
632e5f04e2 Added missing visibility modifier for Closure::__construct().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332239 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 03:24:37 +00:00
Adam Harvey
a5895bafdc Move the xkcd comic to the top of the goto page, rather than the bottom.
Reasoning:

1. It's funny.
2. People seem to keep using goto[0] and need to be more aware of the
   velociraptor based threat they are exposed to.
3. It's funny.

[0] http://www.reddit.com/r/PHP/comments/1rw2fa/using_goto_in_php/


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332237 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-02 18:12:55 +00:00
Matthew Fonda
c5c812a815 Fix bug #66214 - example #1 on OOP magic has two opening <?php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332232 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-01 17:59:59 +00:00
Nikita Popov
7101312585 Add basic docs for Generator::throw()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332229 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-30 14:08:57 +00:00
Bob Weinand
35787490f2 Fix bug #66203 (Syntax error in example code)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332228 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-29 21:22:54 +00:00
Pieter Hordijk
45497f188a Replaced deprecated mysql_* functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332224 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-28 09:52:38 +00:00
Joe Watkins
fd220589cb made a mess
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332154 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-18 03:22:53 +00:00
Joe Watkins
272d3d301e fix a blunder
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332149 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 16:35:10 +00:00
Joe Watkins
7abfa104a6 fix #66097 update information on short tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332148 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 08:57:27 +00:00
Kalle Sommer Nielsen
c7c4f245b0 Fixed bug #66073 (Traits are not included in OOP changelog)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332133 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 23:16:17 +00:00
Yasuo Ohgaki
825561668c Fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332126 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 22:09:31 +00:00
Yasuo Ohgaki
84692172ca Improve comparison description. Add example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332116 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 04:05:46 +00:00
Joe Watkins
8dfa877f00 #65239 precise maximum
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332084 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-08 08:06: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
Kalle Sommer Nielsen
a7aa3bf98f Removed duplicate note (Fixes #65989)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332027 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-31 15:50:43 +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
Chris Wright
fc85461184 Updated class name regex to include start/end anchors.
-- 
Provided by anonymous 35003 (robin@kingsquare.nl)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332018 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 18:22:34 +00:00
Joe Watkins
6e8d8b98a7 #65902 clarify wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331902 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-22 08:27:06 +00:00
Joe Watkins
60316598b1 #64847 correction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331806 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-13 17:40:06 +00:00
Joe Watkins
a9f96e8c83 #61340 adjust example for consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331736 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:05:41 +00:00
Joe Watkins
f3c9e2b61f #55378 add a binary example in docs, original bug resolved for some time.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331688 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-05 08:26:14 +00:00
Joe Watkins
ac59c315a6 #64943 clarity in description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331668 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 17:30:48 +00:00
Chris Wright
4b824fda65 Grammar correction in foreach docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331596 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-30 07:40:44 +00:00
Nikita Popov
6d1db2739b Forgot to remove duplicate example from precedence docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331577 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-29 10:17:33 +00:00
Nikita Popov
a0efd60818 Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Nikita Popov
e28fdbe16c Improve operator precedence docs regarding evaluation order
Associativity has nothing to do with evaluation order and we do not give any guarantees regarding that.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331484 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-25 11:59:47 +00:00
Adam Harvey
821d1faaba Document the syntax when binding to an IPv6 address, since it wasn't very
obvious before.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331458 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-21 02:25:23 +00:00
Adam Harvey
cccb74c8dd Actually remove the patterns page to avoid confusion, since it hasn't been
built for over a year.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331457 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-20 21:32:59 +00:00
Chris Wright
52ddcb111c Abusing this ini parameter to send multiple headers is not something that should be included as an example in the manual. There are better ways to do it.
-- 
Provided by anonymous #32932 (ajf@ajf.me)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331342 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-11 17:45:00 +00:00
Chris Wright
8fd4096d89 From doc bug 65614
This change makes the wording clearer for byref arguments being allowed a default value in the function signature.

-- 
Provided by anonymous #33404 (leight@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331339 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-10 15:26:58 +00:00
Adam Harvey
e49e32a1d3 Drop the note about __isset() not being triggered on empty() — it contradicts
the earlier description and, more importantly, is plain wrong.

Fixes doc bug #65625 (Ambiguous text).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331299 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-05 21:54:14 +00:00
Chris Wright
6a1165067f Adding information that resource is not a valid type hint. It isn't mentioned at all.
-- 
Provided by Steve Tauber (steve@onzra.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331202 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-25 19:07:52 +00:00
Peter Cowburn
d1490c7a46 SSL context "disable_compression" option
Ref: 4a01ddfb55

-- 
Provided by Chris Wright (phpdoc@daverandom.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331157 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 09:21:58 +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
Yasuo Ohgaki
095653e0ce session.auto_start cannot work at runtime and never worked. Code is fixed also.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331110 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-10 09:38:25 +00:00