Commit graph

1773 commits

Author SHA1 Message Date
Peter Cowburn
6db778461e respect error_reporting level in ErrorException example (doc bug #68293)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335199 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-19 16:49:50 +00:00
Peter Cowburn
d35ac758b0 update example to use newer parameter count warning message
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335198 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-19 16:49:46 +00:00
Peter Cowburn
eb25180567 mention 5.4.0 in continue-missing-semicolon example (doc bug #68430)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335197 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-19 15:24:38 +00:00
Peter Cowburn
850354823a Basic closure examples (doc bug #61857)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335191 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-18 11:02:31 +00:00
Adam Harvey
285c8b2b89 Clarify what types of values can be given to declare directives.
Fixes doc bug #68177 (declare() + named constant = "Cannot convert to ordinal
value").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335128 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-23 19:53:34 +00:00
Maciej Sobaczewski
dac4478916 Adhere to PEAR Coding Standards' best practices
Doesn't fix any bug but makes example consistent with the rest of the manual and consistent

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335080 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-18 16:56:53 +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
Richard Quadling
cb2e7b70b1 svn:keywords, svn:eol-style, svn:ignore all set appropriately.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 12:08:23 +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
Peter Cowburn
2562557ca5 document peer_name and verify_peer_name ssl context options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334710 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 18:10:06 +00:00
Chris Wright
be8c27a5f3 Casing consistency fix in OOP docs
-- 
Provided by anonymous 47943

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334699 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:13:03 +00:00
Chris Wright
eddfd34bc9 Grammar fix in OOP docs
-- 
Provided by anonymous 47813

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334698 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:10:02 +00:00
Chris Wright
24e5510d90 Typo fix in predefined variables
-- 
Provided by anonymous 47347

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334696 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 15:59:25 +00:00
Tjerk Anne Meesters
6fc4e3e44b Changed associativity of power operator
Added the power assignment operator



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334668 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-29 23:28:23 +00:00
Adam Harvey
4307b3bcdf Document __debugInfo().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334638 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:28:06 +00:00
Adam Harvey
bfad0ebfbe Note that $HTTP_RAW_POST_DATA is deprecated in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334634 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 04:37:51 +00:00
Adam Harvey
59fa4fae9f Note php://input's reusability in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334628 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:39:10 +00:00
Maciej Sobaczewski
d5e05486ba Clarify information about using arrays in constants scalar expressions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334487 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-05 11:48:57 +00:00
Maciej Sobaczewski
0cb2ef45e1 Mention that symlinks in __FILE__ are resolved
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334486 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-05 11:43:50 +00:00
Maciej Sobaczewski
b6654cdfa5 Use entities instead
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334473 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-04 09:16:01 +00:00
Maciej Sobaczewski
9f88a8b814 Minor rewrite magic constants section to focus on PHP 5. Changelog added.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334472 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-04 07:48:40 +00:00
Tjerk Anne Meesters
44ab3fe15b Added context option for peer fingerprint (5.6)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334435 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-31 12:05:41 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Peter Cowburn
6b24e8069b typofix (Patch by anonymous #46779)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334259 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-12 21:03:57 +00:00
Adam Harvey
8208b81cf1 Add a cautionary note about switch/case and whitespace.
Fixes doc bug #67504 (Alternative switch syntax - error when case not in same
block with switch).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333913 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-24 00:08:23 +00:00
Adam Harvey
67cf4f3786 Clarify the integer situation on 64 bit Windows.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333785 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 17:57:04 +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
Adam Harvey
79eb03f7bf Manual ** 5.6. (Or, in other words, documented the new ** operator.)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333679 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 22:43:11 +00:00
Adam Harvey
0e9eb8a8c7 Add ... documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333678 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 22:36:06 +00:00
Adam Harvey
0ee8eea304 Update constants documentation for 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333675 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 22:06:02 +00:00
Jean-Sebastien Hedde
8654370154 Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333618 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-25 12:56:31 +00:00
Jean-Sebastien Hedde
220e2c2d26 Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333617 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-25 12:50:31 +00:00
Maciej Sobaczewski
9ec7249d57 Rewritten to focus on currently supported methods of accessing user input
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333549 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-17 05:08:40 +00:00
Chris Wright
08f5e816ad Add try/catch to list of places where const keyword cannot be used.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333547 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-16 15:13:31 +00:00
Maciej Sobaczewski
6ea0f4f003 Fixes bug #66784
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333517 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-12 16:32:25 +00:00
Levi Morrison
7f79d8835b Fix 67228; true and false are not keywords; they are constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333500 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-08 16:43:45 +00:00
Jean-Sebastien Hedde
18be881ca2 Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333475 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-05 13:01:29 +00:00
Hannes Magnusson
adffd231a7 Document most of the MongoDB Context Options
Partially fixes https://jira.mongodb.org/browse/PHP-758


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333393 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 02:02:53 +00:00
Chris Wright
7e378e46ef Improved information on behaviour of bitwise operators on string operands
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333319 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 09:46:11 +00:00
Dejan Marjanovic
9905374cd0 Replace single quotes with double for (string) <initializer> unless string contains double quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333317 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-14 23:48:06 +00:00
Philip Olson
476993328f Typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333299 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-09 22:59:16 +00:00
Jason Gerfen
61146174fd Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333259 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 12:50:54 +00:00
Peter Cowburn
4760cef0ed "return" addition
Patch by Theodore M Rolle, Jr.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333217 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:43 +00:00
Peter Cowburn
4b2619b58a grammar
Based on a patch by Nathaniel Cailo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333213 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:25 +00:00
Peter Cowburn
41c0426e94 typo
Patch by Kyle Wiering

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333207 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:01 +00:00
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