Commit graph

1819 commits

Author SHA1 Message Date
Pasindu De Silva
5486657cd9 Added intial Type Declarations docs PHP 7
Added Functions changelog

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337104 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-04 23:18:07 +00:00
Pasindu De Silva
b9e7cd2534 Updated PHP 7 octal handling
-- 
Provided by Thomas Punt

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337102 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-03 19:00:29 +00:00
Peter Cowburn
db1dbbceb7 better phrasing (doc bug #69853)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337069 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-27 22:32:48 +00:00
Peter Cowburn
add3736a54 clarify break behavior unspecified when no argument is specified (doc bug #69853)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337067 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-27 20:25:03 +00:00
Christoph Michael Becker
b6dfe99e58 fixed comment regarding version dependent behavior (fixes #66965)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336955 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 19:49:47 +00:00
Christoph Michael Becker
5b4e9152ef documented that infinite recursion is considered to be a programming error (fixes #69424)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336952 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:48:51 +00:00
Christoph Michael Becker
92d94d9c11 simplified description of normal execution wrt. try-catch (fixes #67010)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336948 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:09:55 +00:00
Christoph Michael Becker
a706ea6af5 fixed typos, grammar, expression
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336939 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-13 22:22:45 +00:00
Peter Cowburn
50cae81d59 rephrase $HTTP_SERVER_VARS para
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336898 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 20:58:21 +00:00
Pasindu De Silva
6ade71e2b3 There was no space between 'public' and 'Closure' in the description for Closure::call(). Now there is.
-- 
Provided by anonymous 59489 (swekaj@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336860 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-31 00:51:52 +00:00
Bob Weinand
a1b1f46c5c Backticks can be used in double-quoted strings, it just has no special interpolation meaning there
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336837 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-24 00:29:10 +00:00
Peter Cowburn
623b4076b7 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336814 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 22:05:04 +00:00
Pasindu De Silva
2ff97c4069 Minor fix (By Christoph Becker)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336812 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 21:33:45 +00:00
Maciej Sobaczewski
9301355165 Document PHP 7 possibility to define array constants using define()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336809 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 14:57:54 +00:00
Pasindu De Silva
b9b08699c1 Added Closure::call
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336800 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-19 18:26:16 +00:00
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