Commit graph

1788 commits

Author SHA1 Message Date
Maciek Sokolewicz
4354122587 added example showing objects implementing __invoke being callable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336245 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:39:57 +00:00
Adam Harvey
559e8e2e05 Clarify what happens when continue is used in a switch statement.
Fixes doc bug #69099 (incomplete/ambiguous statement about continue); patch by
Patrick Schwisow.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336196 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-25 20:30:37 +00:00
Hannes Magnusson
8e261db164 tpo fix - thanks Peter!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336073 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-13 23:23:23 +00:00
Hannes Magnusson
adc09dadee Rename variable to avoid confusion between error code and error severity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336072 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-13 22:56:38 +00:00
Peter Cowburn
e91739280c revert r336038 because $errno is supposed to map to ErrorException::$severity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336040 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-05 10:25:05 +00:00
TAKAGI Masahiro
996298bb2d Example #1: correct the order of parameters
$errno should be the 2nd parameter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336038 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-05 09:13:29 +00:00
Adam Harvey
4c4736f7d3 Clarify when a catch block is required in conjunction with finally.
I've added entities for throw, try, catch and finally so that they can be more
easily used and linked to the right sections. This has resulted in a
considerable amount of code churn in exceptions.xml, as everything is now in a
simplesect or sect1 (and the sect1 had to be moved ahead of the simplesects,
which has no impact on formatting, but is required for the document to be
well-formed).

Fixes doc bug #69026 (conflict between documentation and behaviour on finally).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335965 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-19 23:52:40 +00:00
Hannes Magnusson
01ba7cb60a array|object is also used for parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335899 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-06 21:51:02 +00:00
Jakub Vrana
a2b30c956f Fix version of \e (was not available on Windows before, see bug #61827)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335758 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 17:17:37 +00:00
Pieter Hordijk
b974378c8f Fixed small typo a -> an
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335590 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-03 17:00:22 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Jean-Sebastien Hedde
204bc2974d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335457 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-29 12:49:12 +00:00
Paul Dragoonis
e8bb36e5dd Updating consistencies using the terms callback and callable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335289 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-14 16:21:49 +00:00
Maciek Sokolewicz
9c02dc54d8 reworded description of short_open_tags (increased accuracy); patch provided by Kirk Bater
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335256 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-08 13:48:32 +00:00
Tjerk Anne Meesters
2927fdd599 Added a note about array to object casting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335216 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-25 23:25:55 +00:00
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