Commit graph

1835 commits

Author SHA1 Message Date
Christoph Michael Becker
b9a867f215 typo fix by Julia Haucap
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337312 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:31:22 +00:00
Christoph Michael Becker
97c50278a6 =&new is syntactically invalid as of PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337302 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 11:14:30 +00:00
Christoph Michael Becker
c5c902b477 minor fixes contributed by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337282 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-03 22:37:52 +00:00
Christoph Michael Becker
3e6d9035f7 updated variable function documentation (fixes #70160)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337259 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-28 19:23:16 +00:00
Pasindu De Silva
635e2ad129 Added Intial Return TypeError Doc & fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337189 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 16:40:30 +00:00
Pasindu De Silva
0ac74a54b9 Fix typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337188 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 12:58:28 +00:00
Pasindu De Silva
45ffb9a6b1 Added initial return type declarations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337187 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 12:06:20 +00:00
Pasindu De Silva
421dbaef74 Added change log for Returning values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337186 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 07:50:57 +00:00
Pasindu De Silva
db1d2739db Added declare change log
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337185 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 06:59:48 +00:00
Pasindu De Silva
fc07a643d4 Added throwable to interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337170 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-15 23:05:02 +00:00
Pasindu De Silva
9576e243ed Throwable more info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337169 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-15 14:58:45 +00:00
Pasindu De Silva
57eddcd303 Added docs for throwable interface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337139 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-11 12:55:27 +00:00
Pasindu De Silva
3339c9e3f2 Fix programlisting, missing role
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337137 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-10 18:11:40 +00:00
Pasindu De Silva
6f005996fc Added Type Declaration Type Error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337132 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-09 21:50:51 +00:00
Pasindu De Silva
bd6ce019dc Added Spaceship examples ( PHP 7 Alpha 2 )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337131 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-09 18:48:03 +00:00
Christoph Michael Becker
3efd70fb90 include_once returns TRUE when including the same file repeatedly (fixes #70031)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337130 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-09 13:36:03 +00:00
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