Commit graph

22444 commits

Author SHA1 Message Date
Xinchen Hui
c7a525c7d6 Update parameters of constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338432 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 08:11:59 +00:00
Adam Harvey
0e9f78e1a5 Improve removal warnings for other odds and ends.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338431 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:51 +00:00
Adam Harvey
74ad648bc8 Improve removal warnings for call_user_method*.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338430 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:24 +00:00
Adam Harvey
a57ff2688a Improve removal warnings for mcrypt functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338429 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:03 +00:00
Adam Harvey
cf10d85794 Move the imageps* warnings up to match other functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:34:23 +00:00
Adam Harvey
6b26872f9a Add a few more snippet variations that we need.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338427 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:33:53 +00:00
Adam Harvey
e99d7aeee9 Add removal warnings to mssql.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338426 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:13:53 +00:00
Adam Harvey
b38c2956ff Begin beefing up our warnings for things removed in 7.0.
First up: ereg.

I've added a couple of new snippets based on the MySQL snippets that allow us
to provide alternatives in the big red warning box atop each page, since that
approach seems to work well there. I'll add more variations as required as I
work through the various extensions that need to be updated.

In general, I'd like to use this approach more consistently moving forward as
we deprecate and remove things, since it gives the user a very obvious link to
follow to find out about the new way of doing things.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338425 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 00:42:05 +00:00
Thomas Punt
d640c0f5e1 Quick cleanup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338414 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 20:13:41 +00:00
Thomas Punt
4d8bee3f1d Finish documenting ReflectionProperty::getDocComment
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338413 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 20:03:57 +00:00
Thomas Punt
e9ee73654f Resolve doc bug #71017
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338412 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 19:30:43 +00:00
Thomas Punt
102a7f2b5e Resolve doc bug #71279
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338410 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 19:01:14 +00:00
Thomas Punt
8a4b3b6a35 Resolve doc bug #71274
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338409 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 18:47:14 +00:00
Jeremy Mikola
ef0c6d581b Clarify pattern/flags for MongoDB\BSON\Regex
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338408 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 17:50:41 +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
Christoph Michael Becker
717ac3060f partially fixed bug #71237: preg_replace_callback is not marked as available in PHP7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338400 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 13:56:50 +00:00
Christoph Michael Becker
cc6b4b633a added DateTimeImmutable::createFromMutable() to migration guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338399 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 12:03:22 +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
TAKAGI Masahiro
a78ec71963 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338390 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 15:14:56 +00:00
Jean-Sebastien Hedde
a1772e86ca Fatal errors were created in the example due to PDO::beginTransaction() vs. PDOStatement::beginTransaction().
-- 
Provided by anonymous 64041 (jan.slabon@setasign.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338389 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:57:40 +00:00
Jean-Sebastien Hedde
ec43d68a9b The Mozilla docs are getting a bit long in the tooth (Netscape? Really?).
-- 
Provided by anonymous 62643 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338388 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:55:11 +00:00
Jean-Sebastien Hedde
2ed5acf774 The current opcache documentation says that the selected prime number will be "bigger" than the value specified, while in source (https://github.com/php/php-src/blob/PHP-7.0/ext/opcache/zend_accelerator_hash.c#L43) it looks to be "greater than or equal" -- which makes sense.
I propose we make this clear in the documentation.

-- 
Provided by anonymous 65192 (mike.schroder@dreamhost.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338387 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:50:01 +00:00
Jean-Sebastien Hedde
e3e2d8a304 Adding a case with non empty array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338385 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:37:30 +00:00
Jean-Sebastien Hedde
d32fe0ca64 fopen($filename, 'a') opens for writing only, the statement 'fseek()() only affects the reading position' is confusing since there is no reading in this mode. (I also fixed the reference to fseek.)
-- 
Provided by anonymous 62046 (p-schneider@hotmail.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338383 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:27:21 +00:00
Thomas Punt
1fda925edf Fix docs builds (nobody saw this...)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338379 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-29 10:38:42 +00:00
Thomas Punt
f209c3c260 Resolve doc bug #71230
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338378 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-29 10:34:15 +00:00
Thomas Punt
fabcfdd3e2 Cleanup the token_get_all() man page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338346 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-24 10:42:14 +00:00
Thomas Punt
137972b9bf Resolve doc bug #71207
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338345 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-24 10:23:32 +00:00
Christoph Michael Becker
ca7fbbaddc fixed #71205: Documentation version mistake
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338342 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-23 17:19:04 +00:00
Thomas Punt
3c52681c58 Resolve doc bug #70287
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338338 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-21 20:32:45 +00:00
Thomas Punt
63088a1fd2 Resolve doc bug #68292
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338336 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-21 14:42:19 +00:00
Thomas Punt
12572e7195 Resolve doc bug #71174
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338334 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-20 14:31:28 +00:00
Thomas Punt
4ba0ee7bd8 Resolve doc bug #69349
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338333 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-20 00:00:25 +00:00
Thomas Punt
4ccbdb42a2 Resolve doc bug #68117
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338332 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 23:28:53 +00:00
Yasuo Ohgaki
131216c813 Revert: 338292. I will change mb_check_encoding() behavior to match documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338331 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 23:21:37 +00:00
Thomas Punt
0a58f121e6 Resolve doc bug #70935
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338330 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 22:52:58 +00:00
Thomas Punt
6628e9c9b3 Resolve doc bug #71168
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338329 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 20:23:29 +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
c72e6502c8 Resolve doc bug #69013 with additional information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338312 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 22:18:56 +00:00
Thomas Punt
e799d1da87 Resolve doc bug #69013
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338311 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:50:39 +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
b37f03f050 Resolves doc bug #69735
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338309 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:12:10 +00:00
Thomas Punt
714db5b24b Resolve doc bug #70596
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338308 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 20:36:10 +00:00
Thomas Punt
a580ffe749 Resolve doc bug #70737
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338306 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 19:33:22 +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
c05d218bed Fix doc bug #71106
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338304 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 18:50:14 +00:00
Thomas Punt
505ca20e3f Fixes bug #71111
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338303 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 17:54:49 +00:00
Thomas Punt
e00851786a Rephrase some of the GMP descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338302 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 17:47:52 +00:00
Thomas Punt
158ca973fb Fixes bug #71107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338301 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 17:21:47 +00:00