Christoph Michael Becker
7308de91f0
Fix #72662 : Anonymous function example 5 relies on PHP 7 syntax
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339708 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-24 11:23:00 +00:00
Christoph Michael Becker
c9279f4467
Fix #72652 : Typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339705 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 18:35:29 +00:00
Christoph Michael Becker
f984ca507f
Fix #71664 : Use of the term "standard class" inaccurately
...
Clarify introduction sentence on creating interfaces with respect to classes
--
Provided by anonymous 70720 (d@roscius.ca )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339625 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:30:04 +00:00
Christoph Michael Becker
d8669a0bd4
Document unary plus operator
...
Despite having two *downvoted* notes about the unary plus operator
(108105 and 116868), we document it in the manual (and delete the notes).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339585 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-08 00:10:36 +00:00
Christoph Michael Becker
f81df0ec7a
Add example wrt. +,- and . having the same precedence
...
Albeit the behavior should be clear from the precendence table, Antistone
posted a note about this two years ago which has got 67 votes and there
have been two replies to this note which also have been upvoted, so we
integrate this information into the manual, and delete the notes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339582 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-07 18:41:06 +00:00
Christoph Michael Becker
6145544e01
Integrate user notes 116312 and 118639
...
We clarify the difference between define() and const wrt. to allowed values.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339565 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-05 13:11:07 +00:00
Bob Weinand
8c3557271d
Add caution/note regarding yield from and iterator_to_array
...
It's been a common source of mistake, see also https://bugs.php.net/72518
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339531 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 00:24:35 +00:00
Christoph Michael Becker
ec77057bf3
Fix #62200 : __set_state() not implemented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339526 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:03:32 +00:00
Christoph Michael Becker
534cfca423
Fix #65253 : $_FILES documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339495 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 16:30:49 +00:00
Christoph Michael Becker
f8aa32180b
Fix #50886 : Incomplete documentation for php://memory
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339489 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:29:05 +00:00
Christoph Michael Becker
762d0209c2
Fix #72491 : Case can take objects and arrays
...
Indeed, there are no restrictions on the type that a case expression evaluates to.
That's conforming to the PHP language specification:
<https://github.com/php/php-langspec/blob/PHP-5.6/spec/11-statements.md#the-switch-statement >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339487 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 11:20:17 +00:00
Christoph Michael Becker
0b626f05d2
Improve fix of #69234 as suggested by salathe
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339475 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-24 10:25:58 +00:00
Christoph Michael Becker
49cdb0085e
Fix #69234 : Escaped single quotes within double quotes not recognized
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339469 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 23:57:55 +00:00
Peter Cowburn
8b269103c2
add php tags to example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339458 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:40 +00:00
Peter Cowburn
97cd51dd32
use correct variable name in example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339457 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:02 +00:00
Christoph Michael Becker
c373ef087f
Integrated user notes 119153 and 119475 into the manual proper
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 17:10:57 +00:00
Christoph Michael Becker
fa568719e1
Fix #72468 : heredoc seem actually supported in static declarations
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339448 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 11:03:49 +00:00
Christoph Michael Becker
4392990fb6
Fix #72462 : documentation about static calls from secondary object is outdated
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 14:38:50 +00:00
Christoph Michael Becker
2b5b055e52
Fix #64457 : HTTP_HOST, SERVER_NAME, SERVER_PORT spoofing
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339426 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 15:27:16 +00:00
Fábio Luciano Nogueira de Góis
d98f67b5c6
updating manual
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339405 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 20:31:19 +00:00
Christoph Michael Becker
62268f3428
Fix #69399 : Serializable and __wakeup()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339383 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 14:31:14 +00:00
Christoph Michael Becker
e52f86cf48
Fix #70610 : Misleading example of "illegal" importing rule
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339351 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 17:01:40 +00:00
Christoph Michael Becker
eeb2bef9bb
Fix #53614 : Strings variable parsing - problematic example among complex syntax examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339345 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 13:42:53 +00:00
Christoph Michael Becker
239e96a218
The manual is supposed to cover all PHP 5 versions
...
Therefore we restore the recently removed (339323) part, mark it as being
version specific, and add a general changelog.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339330 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-13 12:06:55 +00:00
Nikita Popov
3f55a4ebc7
Remove lies from foreach docs
...
The given code is valid since PHP 5.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339323 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-12 15:50:55 +00:00
Christoph Michael Becker
06df50f0b1
Fix #72331 : most simple way to call anonymous function assigned to object property missing
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339308 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:25:21 +00:00
Christoph Michael Becker
ec6a5fb91f
Clarify that example requires PHP 5.4.0 or higher
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339307 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:20:58 +00:00
Christoph Michael Becker
2891a305f1
Document behavior of NaN/Inf to int casts
...
As of PHP 7.0.0 this results in int(0); formerly it has been undefined.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339291 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-03 13:28:47 +00:00
Christoph Michael Becker
1d7caa1a60
fix #71458 : foreach docs should expand upon the references warning
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339246 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-31 16:55:09 +00:00
Thomas Punt
8c4ca17c5a
Resolve doc by #61999
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339217 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 20:06:10 +00:00
Thomas Punt
5644e740fd
Resolve doc bug #71348
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339215 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 19:45:38 +00:00
Peter Cowburn
2a98bea220
typofix (doc #72250 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339197 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-21 10:40:13 +00:00
Bob Weinand
f7069c1596
Be precise about the scope of strict_types not affecting calls from within internal functions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339195 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-20 15:20:09 +00:00
Peter Cowburn
ecf52eec24
Tie together ErrorException severity and error constants (doc #63158 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339185 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-19 20:47:23 +00:00
Nikita Popov
19059652f1
Fix bug #67011
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339142 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-06 13:55:27 +00:00
Christoph Michael Becker
bb3e737c4d
documented silent overflow of octal literals in interpolated strings
...
see <https://wiki.php.net/rfc/octal.overload-checking >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339098 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-26 09:46:25 +00:00
Peter Cowburn
f1cc27e4a8
unicode escape sequence allows uppercase and any number of digits (doc bug #71746 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338989 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-11 07:59:29 +00:00
Fábio Luciano Nogueira de Góis
6495ac90b4
adding tags into apropriated places
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338959 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 20:31:00 +00:00
Fábio Luciano Nogueira de Góis
9b6f1812ab
adding literals and interfacename tags
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338957 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 18:57:51 +00:00
Christoph Michael Becker
4e85725855
typo fix by Ishan Raychaudhuri
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338943 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-06 13:43:52 +00:00
Christoph Michael Becker
dcafd6ef3d
improved wording (suggested by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338912 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:36:51 +00:00
Christoph Michael Becker
cdab70215c
minor fixes by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338911 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:14:46 +00:00
Christoph Michael Becker
a8b24da312
fixed #66772 (Comma operator does not behave as operator)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338860 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:11:48 +00:00
Christoph Michael Becker
acc7076441
fixed #71902 (Invalid precedence order of => (T_DOUBLE_ARROW) operator)
...
Actually, T_DOUBLE_ARROW isn't an operator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338859 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:06:29 +00:00
Joe Watkins
f8f7cf947f
correct inherited methods in ParseError
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338831 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 05:35:21 +00:00
Joe Watkins
5195f04ffd
fix bug #71347 : some builtin error exceptions were documented incorrectly
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338826 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-26 21:05:33 +00:00
Christoph Michael Becker
27c99098ed
fixed #71878 (Error in documentation example)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338787 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-23 11:14:14 +00:00
Christoph Michael Becker
241d7869c8
fixed #71464 : $HTTP_RAW_POST_DATA states "Removed in 7.0", but also lists 7.0 in version list
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 21:00:57 +00:00
Peter Cowburn
5bd0af2b34
remove broken code from namespaces example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338546 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 16:29:32 +00:00
Christoph Michael Becker
c2aae8928b
minor fixes by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:34:57 +00:00
Christoph Michael Becker
142e1a0eb7
typo fixes submitted by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338501 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 14:14:37 +00:00
Christoph Michael Becker
45fc246e9f
::class is a compile time transformation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338498 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 13:31:35 +00:00
Christoph Michael Becker
5cba5bb19f
integrate user note 118065 (just to avoid confusion)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 22:18:54 +00:00
Peter Cowburn
56125c6883
add spl_autoload_register() back to autoloading page see also section
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338462 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-11 14:46:49 +00:00
Thomas Punt
fb3920c122
Resolve doc bug #69583
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338443 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 22:52:27 +00:00
Thomas Punt
dcf481b64f
Modernise autoloading page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338442 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 17:38:43 +00:00
Adam Harvey
41d8e7ffe4
Update version information to include PHP 7.
...
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.
In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker
d30e7af5ed
fixed bug #71267 : include/require only on php4/5 not on php7
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338401 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 14:00:57 +00:00
Stanislav Malyshev
1e17b3d07c
FIx documentation for Error
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338392 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-02 00:06:05 +00:00
Thomas Punt
20f201c32c
Resolve doc bug #71167
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338328 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 20:00:23 +00:00
Thomas Punt
576a10ee84
Resolve doc bug #69308
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338310 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:31:17 +00:00
Thomas Punt
f99e5eb6c7
Resolve doc bug #71016
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338305 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 19:23:09 +00:00
Thomas Punt
cfcdab37fd
Link Generator::getReturn method to Generator class
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338300 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 16:23:50 +00:00
Christoph Michael Becker
d7f1064f59
fixed #70930 : Namespaces FAQ is outdated
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338281 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 11:03:26 +00:00
Christoph Michael Becker
4b6251009d
removed useless echo statements from example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338268 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-16 15:46:26 +00:00
TAKAGI Masahiro
f956ef27f7
Fix #71068
...
DivisionByZeroError is not direct subclass of Error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338227 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-08 22:58:19 +00:00
Andrea Faulds
2bea2e045b
Correct "null coalesce" to "null coalescing"
...
When I originally named the "Null Coalesce Operator" RFC, I made this mistake. But the manual doesn't need to repeat it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338220 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-07 14:49:18 +00:00
André Luis Ferreira da Silva Bacci
f8732f08c5
Revert wrong modification.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338190 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 14:46:55 +00:00
André Luis Ferreira da Silva Bacci
0c64ee7008
Typo.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338187 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 14:17:57 +00:00
Peter Cowburn
73b8b5c029
Stream context http header option can be an array (Patch by Kyra D)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338185 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 00:09:16 +00:00
Karoly Negyesi
db8f74138c
Added a note about private and protected methods to callables
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338094 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-06 18:16:40 +00:00
Bob Weinand
9bb20c9f1b
Document local_pk ssl context option
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338065 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-01 18:25:40 +00:00
Bob Weinand
fbee8b3790
Fixed bug #70745 (Document new PHP7 operators under Operator Precedence)
...
Added spaceship and null-coalesce
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338021 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 12:33:31 +00:00
Bob Weinand
e4d33b9bb9
Extend the existing array operator example to illustrate the behavior of +=.
...
--
Provided by anonymous 62668 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338020 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 12:27:56 +00:00
Andrea Faulds
f10d35baab
Update integer docs for PHP 7: not 32-bit on Windows, PHP_INT_MIN exists
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337994 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-13 15:39:15 +00:00
Thomas Punt
9fedcb9b20
Rectify docs (second time lucky...)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337989 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:40:54 +00:00
Thomas Punt
8e7d8cde63
Rectify docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337988 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:36:14 +00:00
Thomas Punt
dcf34fa223
Update TypeError description
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337987 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:26:37 +00:00
Sammy Kaye Powers
4661fe1591
Add info about number of function args to TypeError docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337978 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-09 06:46:17 +00:00
Adam Harvey
7e52ec8685
Note the deprecation of static calls to non-static methods.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337875 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:30 +00:00
Adam Harvey
e7c3d74e33
Reinstate the generator object documentation earlier in the section.
...
This was meant to be in the previous commit, but oh well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337865 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:43 +00:00
Adam Harvey
02d3c3abb7
Move most generator delegration doco to the generators section.
...
I've also simplified the example in the migration guide somewhat: the combined
"return yield from" construct is now documented only in the generators
documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337864 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:39 +00:00
Adam Harvey
e04e53e465
Tinker with group use wording.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337863 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:34 +00:00
Thomas Punt
86ef66a558
Document more of Generator class
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337857 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-20 11:24:26 +00:00
Christoph Michael Becker
bea58f82ad
Closure::bind() doesn't allow to bind to scope of internal classes anymore ( fixes #69811 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337785 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-08 16:45:48 +00:00
Bob Weinand
f11cc3162c
As noted below, constants can be result of a mathematical expression with PHP 5.6.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337777 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-07 22:15:37 +00:00
Christoph Michael Becker
5e9fde393a
undefined qualified constants raise a fatal error ( fixes #70421 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337760 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-06 17:02:36 +00:00
Christoph Michael Becker
727d059758
clarified behavior of property access vs. method call ( fixes #49515 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337758 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-06 15:06:02 +00:00
Adam Harvey
664dfca34e
Note deprecation of old style constructors in PHP 7.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337754 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 20:56:08 +00:00
Christoph Michael Becker
810d547926
reverted erroneous fix for bug #66926
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337740 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 22:15:18 +00:00
Adam Harvey
740336ed22
Add self to the list of possible type names.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337738 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 21:09:03 +00:00
Christoph Michael Becker
eec101b31f
Protected members cannot be accessed by parent classes
...
--
Provided by anonymous 62572 (tunght13488@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337719 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:58:23 +00:00
Christoph Michael Becker
586c9b218c
capitalized class name to match definition ( fixes #70412 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337714 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:19:05 +00:00
Christoph Michael Becker
a90d340659
fix whitespace in example (contributed by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337618 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 00:20:41 +00:00
Peter Cowburn
9b89b59790
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337602 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 15:35:55 +00:00
Peter Cowburn
097f5fce7b
fix build - and move "group use" section to the aliasing/importing namespaces page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337598 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 08:19:36 +00:00
Pasindu De Silva
6fac1cc5e0
Added group use from migration
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337597 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 04:33:10 +00:00
Christoph Michael Becker
5098c06cdd
if __construct() and old-style constructor are present, PHP chooses whichever
...
comes first (fixes #66926 )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337534 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 13:41:19 +00:00
Simion Onea
7050d96265
Corrected/added SVN properties, especially svn:keywords.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
André Luis Ferreira da Silva Bacci
8243002f32
Typo.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337390 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-10 15:08:11 +00:00
Christoph Michael Becker
78291d1681
updated manual wrt. Heredoc support for initializing consts and static members ( fixes #70227 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337388 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-10 12:50:32 +00:00
Adam Harvey
02678aa8dc
Expand the Closure::call() documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337372 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:26 +00:00
Adam Harvey
6b4b39cc49
Move the (excellent!) anonymous class documentation to the language reference.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337370 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:17 +00:00
Adam Harvey
01851927f9
Improve type declaration docs.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337367 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:04 +00:00
Adam Harvey
5729dfe1f1
Unified type declaration documentation and removed the changelog.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337365 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:55 +00:00
Adam Harvey
67a87fab61
Move the type changelog down and improve it.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337364 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:50 +00:00
Adam Harvey
620a91cf5e
Update new operator documentation.
...
This includes removing some of the examples from the migration guide: that
needs to be punchy. We can reinsert them later in the operators reference if
they're of use.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337361 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:37 +00:00
Adam Harvey
2f13a5d452
Note yield changes in PHP 7.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337360 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:32 +00:00
Adam Harvey
f2f7f3fa1d
Add \u to the string type page.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337357 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:19 +00:00
Adam Harvey
9a4e00c8f0
Add Error documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337354 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:05 +00:00
Adam Harvey
4eefb1e936
Slightly flesh out the Throwable documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337353 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:56 +00:00
Adam Harvey
f0fe52e5a6
Add embryonic error handling section, since we don't have one place for this.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337352 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:47 +00:00
Adam Harvey
5bdb18a52e
Update the basic syntax documentation for the removed tags in PHP 7.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337351 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:42 +00:00
Adam Harvey
1c7981f1ba
Note the removal of $HTTP_RAW_POST_DATA.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337350 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:38 +00:00
Adam Harvey
c723b31c1e
Update foreach() page for PHP 7.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337339 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:48 +00:00
Adam Harvey
c5966670de
Remove ambiguous variable property examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337336 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:37 +00:00
Christoph Michael Becker
bcf30e909d
typo fix by Srihari Thalla
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337316 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:49:19 +00:00
Christoph Michael Becker
3aa90eb0c1
typo fix by Randy Geraads
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337315 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:48:44 +00:00
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
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
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
Simion Onea
18e48e7ff4
Changed Mrs to Ms. Mrs means "mister or missis".
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332718 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-23 12:33:48 +00:00
Adam Harvey
5a508eaeb1
Add an ID to allow php://input to be directly linked.
...
This may be important shortly. :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332635 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-17 09:54:29 +00:00
Hannes Magnusson
7850a1abc6
Changelog for __get() updated.
...
--
Provided by anonymous 28438 (hanskrentel@yahoo.de )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332595 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-11 22:56:36 +00:00
Hannes Magnusson
7b2313353e
Revert "r326694 | googleguy | 2012-07-18 17:38:06 -0700 (Wed, 18 Jul 2012) | 2 lines
...
Changed example for ErrorException, which demonstrated wrong argument order in the
construct."
This fixes bug#66362
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332523 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-29 10:06:07 +00:00
Levi Morrison
f616f360e1
Changed 'hallo' to 'hello'.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332515 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-27 03:47:35 +00:00
Phil Sturgeon
b2ae70c494
Fixed bug #61303 - $_SERVER['PHP_SELF'] description
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332466 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-18 21:37:08 +00:00
Sherif Ramadan
bf46686034
Remove bad example.
...
The variable $juice is not defined. The example doesn't make any sense.
Syntactically the interpolation would work had the correct variable name been
used. So I'm removing this portion of the example since it doesn't demonstrate
anything useful.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 13:52:31 +00:00
Joe Watkins
f002c9de8f
fix operator precedence table with literal tags
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332327 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 09:07:12 +00:00
Joe Watkins
6586f45780
fix #66164 make operator precedence table more readable (commas and "and")
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332319 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-09 11:15:38 +00:00
Jeff Welch
9d688d2ad4
Fix doc bug #66206 (Socket context options: reverse changelog order).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 03:34:28 +00:00
Jeff Welch
632e5f04e2
Added missing visibility modifier for Closure::__construct()
.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332239 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 03:24:37 +00:00
Adam Harvey
a5895bafdc
Move the xkcd comic to the top of the goto page, rather than the bottom.
...
Reasoning:
1. It's funny.
2. People seem to keep using goto[0] and need to be more aware of the
velociraptor based threat they are exposed to.
3. It's funny.
[0] http://www.reddit.com/r/PHP/comments/1rw2fa/using_goto_in_php/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332237 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-02 18:12:55 +00:00
Matthew Fonda
c5c812a815
Fix bug #66214 - example #1 on OOP magic has two opening <?php
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332232 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-01 17:59:59 +00:00
Nikita Popov
7101312585
Add basic docs for Generator::throw()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332229 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-30 14:08:57 +00:00
Bob Weinand
35787490f2
Fix bug #66203 (Syntax error in example code)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332228 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-29 21:22:54 +00:00
Pieter Hordijk
45497f188a
Replaced deprecated mysql_* functions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332224 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-28 09:52:38 +00:00
Joe Watkins
fd220589cb
made a mess
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332154 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-18 03:22:53 +00:00
Joe Watkins
272d3d301e
fix a blunder
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332149 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 16:35:10 +00:00
Joe Watkins
7abfa104a6
fix #66097 update information on short tags
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332148 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 08:57:27 +00:00
Kalle Sommer Nielsen
c7c4f245b0
Fixed bug #66073 (Traits are not included in OOP changelog)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332133 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 23:16:17 +00:00