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
Jakub Vrana
1fe740ab50
Clarify that internal classes can override only ==, not ===
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331094 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-08 02:18:54 +00:00
Adam Harvey
56023920cb
Document the change in inheritance behaviour in PHP 5.3.9 when conflicting
...
method names share a signature.
Fixes doc bug #65246 (Discrepancy between documentation and actual workings).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330996 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-21 14:38:05 +00:00
Sara Golemon
95664a500f
Revert Yasuo's incorrect change regarding undefined behavior
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330986 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-20 04:03:07 +00:00
Yasuo Ohgaki
1f540fa961
Add missing echo in example code comment
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330985 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-20 03:27:05 +00:00
Yasuo Ohgaki
84d43cf819
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330984 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-20 03:21:38 +00:00
Yasuo Ohgaki
c6b0a258de
Remove untrue comment from operator precedence
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330983 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-20 03:17:00 +00:00
Karoly Negyesi
4520ea8d7f
note that increment/decrement does not affect arrays, objects and resources
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330975 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-19 06:58:20 +00:00
Pieter Hordijk
57af376c5f
Made class constants uppercase in examples
...
Fixed return type of mysqli::$client_version
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330913 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-14 17:20:52 +00:00
Shein Alexey
7aa0b252a3
Added <literal> tag.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330826 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-09 11:58:14 +00:00
Jakub Vrana
d47b1af3e0
Delete duplicate info about track_errors
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330751 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-03 18:24:16 +00:00
Daniel Convissor
c09f0b428b
CS for examples (pardon my pedantry).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330587 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 01:53:00 +00:00