Commit graph

1804 commits

Author SHA1 Message Date
Pasindu De Silva
905053cffc Added Change log for switch
RFC multiple default cases

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336788 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-16 04:53:41 +00:00
Peter Cowburn
d03b5f4c3f fix indenting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336770 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:47:12 +00:00
Peter Cowburn
f97342d0d2 Updated the class constants documentation to add an example and paragraph about using constant expressions, the feature added in 5.6.0
-- 
Provided by Ryan Pallas (derokorian@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336769 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:27:16 +00:00
Peter Cowburn
3e13c61bff Better refpurposes for ArrayAccess offsetset/offsetunset
--
Patch from (sorry I lost your name!) via online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336766 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:10:24 +00:00
Pasindu De Silva
a44a1e0b79 Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Pasindu De Silva
becbd9a3bc Minor fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336689 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-30 00:12:13 +00:00
Pasindu De Silva
b566a4deb8 Fix typo in coalesce operator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336688 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-30 00:09:30 +00:00
Pasindu De Silva
b607484b9d Added PHP version to coalesce operator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336687 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-29 23:40:37 +00:00
Peter Cowburn
9b3dd4b20b less lying about spaceship operator return values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336683 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-29 19:24:24 +00:00
Pasindu De Silva
397dbbaef7 Added Null Coalesce Operator
https://wiki.php.net/rfc/isset_ternary

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336682 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-29 17:21:39 +00:00
Peter Cowburn
fe67d205e2 condense spaceship operator result description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336601 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 14:08:54 +00:00
Pasindu De Silva
f113bb15c9 added php version to Spaceship operator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336596 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-19 15:25:56 +00:00
Pasindu De Silva
48d21bbd42 Added Changelogs about the removal of asp tags , script tag from php 7, to asp ini and basic syntax open tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336578 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-18 11:45:03 +00:00
Peter Cowburn
d4545271e0 Add spaceship operator to operators list
-- 
Patch by Pasindu (ppasindud@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336563 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-17 14:18:14 +00:00
Peter Cowburn
c24e9b3c30 add information about which content-types are actually decoded for $_POST (patch by Lukas Kahwe Smith)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:48:44 +00:00
Maciej Sobaczewski
fbc4ef92fa More PHP 4 removals, mainly language snippets.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336340 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-03 08:14:30 +00:00
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