Commit graph

1682 commits

Author SHA1 Message Date
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
Adam Harvey
c2f8c648c8 Promote ::class documentation to its own subsection for direct linking.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330569 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 22:08:17 +00:00
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +00:00
Adam Harvey
1fc0b05670 Integrate note 112050 by adding a paragraph noting that __sleep() and
__wakeup() provide further options in terms of object serialisation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330347 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-24 17:10:40 +00:00
Jakub Vrana
8f10aa0448 Standardize Generator documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330333 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 18:44:54 +00:00
Jakub Vrana
efaca17617 Closure is class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330332 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 17:57:14 +00:00
Jakub Vrana
4ca4c26caa Fix a typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330318 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:14:43 +00:00
Jakub Vrana
3d43a50e96 Document compression wrappers usage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330317 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:14:21 +00:00
Jakub Vrana
57492d2928 Fix wrapper usage title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330316 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:10:17 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
676d5ed969 Link allow_url_include instead of allow_url_fopen (bug #55805)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330281 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-18 00:20:19 +00:00
Jakub Vrana
caeec94453 Link stream notification callback description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330260 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 02:24:57 +00:00
Jakub Vrana
c13539985c Generator::throw()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330217 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-14 20:44:26 +00:00
Jakub Vrana
0bae036804 ClassName::class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330216 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-14 20:44:08 +00:00
Dejan Marjanovic
9e5fdbf8d0 Added note to SERVER_PORT to warn about spoofing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329894 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 22:13:35 +00:00
Karoly Negyesi
0e6ad6673c objects are greater than arrays.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329723 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-10 10:08:53 +00:00
Jakub Vrana
19cac543b8 Explain return inside generator (fixes bug #64102)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329570 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 09:29:27 +00:00
Jakub Vrana
e499a4379d Rename Generator ID to allow http://php.net/generator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329542 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 13:36:56 +00:00
Jakub Vrana
1865487b42 Rename yield ID to allow http://php.net/yield
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329540 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 13:14:13 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00
Jakub Vrana
eb71702c7d Add ?> to example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329285 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-24 01:13:24 +00:00
Philip Olson
ea5ef87879 Linked the floating point warning to http://floating-point-gui.de/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329281 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-23 17:47:58 +00:00
Sherif Ramadan
73e27eb2d9 Fxies bug #63832
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329168 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 19:18:10 +00:00
Sherif Ramadan
95f54b87fd Clarifying operator precedence docs on meaning of non-associativity and how this affects operator parsing.
Fixes bug #63783


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329164 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 15:56:24 +00:00
Richard Quadling
04beb00111 W/S Tabs to spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329060 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 17:34:40 +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
0dec5d1aea Add a warning about the fatal error generated when you throw from __toString().
Prompted by bug #50699, although it doesn't really fix it as such.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328669 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 01:19:20 +00:00
TAKAGI Masahiro
d096079ebb Set svn:keyword, svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328433 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 16:16:46 +00:00
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00
Sherif Ramadan
08ef640318 Fixed line wrap from revision 328358
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328359 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:41:40 +00:00
Sherif Ramadan
bf9085b2b1 Added note for accessing array elements with curly braces - fixes bug #55324
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328358 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:08:15 +00:00
Adam Harvey
13995e9311 Warn users about the perils of multi-byte strings and direct character access.
Or, as xkcd put it today, if it starts pointing toward space you are having a
bad problem and you will not go to space today.

Fixes doc bug #63079 (String access by character is not multibyte-safe).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328351 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 02:10:57 +00:00
Peter Cowburn
8b2059d649 escaping for the database was done wrong in the past in PHP but this part of the manual still is in the past and does not reflect that change
--
Provided by anonymous #19624 (hanskrentel@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328330 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:39 +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
Kalle Sommer Nielsen
f49c307f13 Minor markup fixes to r328306, including WS in ssh2_auth_agent() (should probably have used svn:prop, but hey!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328308 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 19:22:21 +00:00
Casper Langemeijer
bc57a23c73 Document changes in ssh2 extension 0.12 release.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328306 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 15:14:15 +00:00