Commit graph

22563 commits

Author SHA1 Message Date
Christoph Michael Becker
7223eb6972 fixed #71372: idn_to_unicode not defined, only idn_to_utf8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338495 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 11:35:16 +00:00
Peter Cowburn
f6886fcf4a removed old soft deprecation message (doc bug #71367)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338486 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-14 10:42:22 +00:00
TAKAGI Masahiro
3380c3b4c8 Correct misleading parameter description
Close #71357


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338480 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 22:28:05 +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
Christoph Michael Becker
3ba0bdf71e integrated user note 118531
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338478 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 21:21:18 +00:00
Christoph Michael Becker
bbdc7d9e36 integrated user note 118335
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338477 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 21:15:22 +00:00
Christoph Michael Becker
fba532ed30 integrated user note 118552
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338476 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 21:02:15 +00:00
Christoph Michael Becker
e16c1f13fc fixed #71351: IntlChar::foldCase(): undefined default value FOLD_CASE_DEFAULT
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338466 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-12 13:02:28 +00:00
Adam Harvey
44b298ee5d Be more explicit about set_exception_handler() breakage in PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338464 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-11 20:24:39 +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
Xinchen Hui
67f064ffbe Add blank
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338455 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-11 05:43:16 +00:00
Thomas Punt
8265cab125 Resolve doc bug #71324
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338453 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:49:58 +00:00
Thomas Punt
5ac268ed43 Resolve doc bug #71325
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:44:57 +00:00
Thomas Punt
fec8254f0a Resolve doc bug #71326
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338451 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:32:09 +00:00
Thomas Punt
46472c2395 Remove PHP 4 reference in GMP book
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338444 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 22:56:01 +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
Peter Cowburn
1469538987 mention "has" versions of new reflection methods in migration guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338439 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 16:33:17 +00:00
Peter Cowburn
23eb1bd4e5 ReflectionClass::isAnonymous() came in PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338438 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 16:31:23 +00:00
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