Commit graph

19829 commits

Author SHA1 Message Date
Sherif Ramadan
c7b154466d Removed mention of print_r reseting array's internal pointer. This is not the current behavior. See bug #8289 for more information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328776 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-14 04:42:52 +00:00
Sherif Ramadan
eeeccdd65f Added new openssl signature algorithm constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328742 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-12 05:15:46 +00:00
Sherif Ramadan
0d52021319 Fixed json_decode large integer example with use of JSON_BIGINT_AS_STRING as it was demonstrated wrong use of the function's option.
I modified the example to reflect the difference in behavior when you're using an object with an integer property that is too large to fit as type int in PHP instead of using a string, since strings are always just decoded as strings in PHP.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328740 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-11 10:30:48 +00:00
Sherif Ramadan
93a2288075 Added crypt to See Also section for password_hash.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328735 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-10 18:37:23 +00:00
Adam Harvey
65e697ff67 Officially deprecate ext/mysql in the manual.
Specific changes:

- Upgraded the soft deprecation sidebars to full blown warnings.
- Beefed up the wording of the soft deprecation notice boilerplate.
- Added changelog items for mysql_connect() and mysql_pconnect(), since they're
  the functions that have changed behaviour.
- Updated the MySQL changelog.
- Updated the 5.5 migration guide.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328734 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-10 15:22:07 +00:00
Levi Morrison
32eae026d6 ArrayObject::offsetGet returns NULL if you access an undefined offset, not FALSE.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328715 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-09 01:15:17 +00:00
Levi Morrison
5f2e923297 Updated return information to match its current implementation. See bug report #60588.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328714 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-09 01:11:01 +00:00
Paul Reinheimer
6ad7dd65d2 - Adding a basic search example, as well as searching for a child item.
Rationale: I was helping a friend yesterday who is Learning MongoDB while they learn how to use the PHP Extension to it. They ended up trying to write a javascript based query to do a simple matching query. I hope these more simplistic examples will help people in that situation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328711 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-08 16:23:32 +00:00
TAKAGI Masahiro
3871fadd73 Set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328708 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-08 03:21:28 +00:00
Jakub Vrana
0296bdbc0e Use entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328707 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-08 00:03:37 +00:00
Philip Olson
0bc62a921d Moved generated changelog to a new changelog.xml, and added deprecated aliases as per PHP Bug #63295.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328703 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-07 08:30:40 +00:00
Adam Harvey
13ecf5d94f Docbookify Dmitry's notes from the UPGRADING file and pop them into the
migration guide as a new "Changes to PHP Internals" subsection.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328690 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-06 07:30:45 +00:00
Adam Harvey
0f7994371a Add cautions about rand() and mt_rand() being cryptographically insecure.
Further reading (and the blog that prompted this):
https://spideroak.com/blog/20121205114003-exploit-information-leaks-in-random-numbers-from-python-ruby-and-php

This may at least partially fix bug #62966, but since that's still private and
I only know about it via a separate bug in the bug tracker, I can't be sure.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328689 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-06 05:41:36 +00:00
TAKAGI Masahiro
435af06eb1 Set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328687 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 21:02:57 +00:00
Hannes Magnusson
319f198e34 These aren't actually in the 1.3 release, but are slated for 1.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328686 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 19:47:47 +00:00
Kalle Sommer Nielsen
2779c12eb9 Fixed #63608 (changelog for "tidy.clean_output" not clear)
# Also removed the 'Available since PHP 5.0.0' since the 
# extension is available as of PHP 5.0.0 anyway

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328673 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 09:20:29 +00:00
Kalle Sommer Nielsen
ef2c8a7a95 Fixed #63679 ("Dealing with XML errors" documentation example is wrong)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328672 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 09:11:46 +00:00
Pieter de Zwart
2b934de811 Updating AMQP documentation
* Replacing deprecated declare functions
* Adding missing timeouts


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328670 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 04:31:42 +00:00
Adam Harvey
0dec5d1aea Add a warning about the fatal error generated when you throw from __toString().
Prompted by bug #50699, although it doesn't really fix it as such.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328669 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 01:19:20 +00:00
Shein Alexey
92bf322f2a false -> &false;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328666 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-04 12:43:17 +00:00
Shein Alexey
3854039e51 Fix typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328654 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-04 11:43:56 +00:00
Shein Alexey
e2b17a8be2 Replace 'this example outputs' with our specific entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328651 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-04 11:25:52 +00:00
Yannick Torres
402d047520 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328641 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 15:53:03 +00:00
Hannes Magnusson
e3fe415ffd typo reported by NodeX (freenode)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 13:03:38 +00:00
Philip Olson
8dd31a0b4e Tweaked docs. Some fixes, and rewording.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328622 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 08:51:30 +00:00
Philip Olson
e94533ab35 Formalized informal tables, which adds titles
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328620 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 07:29:14 +00:00
Philip Olson
55a52d42ae Formalized informal tables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328619 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 07:13:33 +00:00
Adam Harvey
04af3ce6d4 Update the documentation for the %z and %Z strftime() modifiers to reflect how
C99 specifies them, and describe how Windows misinteprets them.

Also add a <literal /> to the Solaris warning, since there was one missing and
I was already in there.

Fixes doc bug #63662 (Strftime documentation for %z & %Z is not (necessarily?)
correct.).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328617 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 01:57:57 +00:00
Adam Harvey
b0b6707c84 Add the new SO_REUSEPORT constant.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328616 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 01:12:01 +00:00
Adam Harvey
c588cc8011 Use the signed 32 bit integer entity to handle ftell() returning negative
numbers.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328615 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 01:06:44 +00:00
Sherif Ramadan
72095acd0f Fixed minor typo in the description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328608 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 07:36:24 +00:00
Sherif Ramadan
ef12785e5a Added description for mode constants and an example to clarify further on the behavior of the different modes. Fixes bug #63568.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328606 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 07:17:13 +00:00
Hannes Magnusson
edcfded6c0 Fixed bug#63603 changelog for allow_url_include unclear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328605 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:49:27 +00:00
Hannes Magnusson
713c95b0ec Kill docs on allow_webdav_methods which hasn't existed for a decade. Fixes bug #63609
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328603 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:43:18 +00:00
Hannes Magnusson
b7717098d9 Fixed bug#63621 and #63622 (missing ini settings)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328602 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:40:00 +00:00
Hannes Magnusson
28615f4e5f This extension isn't documented or maintained, bye bye
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328601 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:36:24 +00:00
Hannes Magnusson
7afe7c8750 Fixed bug#63627 & #63626 and add all the mysqlnd-weirdname ini options too
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328600 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:35:51 +00:00
Hannes Magnusson
754904a133 Fixed #63654 ReflectionClass::getConstructor() can return null, not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328599 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:25:05 +00:00
Derick Rethans
df8a0aceef Bug #63333: %s/$obj/$document
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328572 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 16:20:34 +00:00
Derick Rethans
95613c0697 Fix ups, and commented some things out that aren't implemented.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328569 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 13:27:04 +00:00
Derick Rethans
c5746ce5aa Fixed version information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328565 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 11:02:30 +00:00
Christopher Jones
d39b186242 Fix Doc Bug #63619 (missing settings for oci8 on ini.list.php)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328558 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 07:01:04 +00:00
Hannes Magnusson
99392cae51 tpyos spotted by Philip
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328557 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:24:34 +00:00
Hannes Magnusson
1585a91cf9 Fixed bug#63624 (documentation concerning settings for Mongo-Database)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328556 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:06:32 +00:00
Hannes Magnusson
fb8f8617ef Various markup fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328555 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:37:54 +00:00
Hannes Magnusson
82a3f40a46 Mention this class doesn't do anything now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328554 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:05:54 +00:00
Hannes Magnusson
ce2287e205 Adding seealso/changelogs and best practices and such things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328553 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:03:19 +00:00
Hannes Magnusson
b75d8bd411 Document the deprecated Mongo constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328552 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 01:00:58 +00:00
Hannes Magnusson
48e1717a75 Mention we populate the _id field with the pregenerated ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328551 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:51:28 +00:00
Hannes Magnusson
8bbdbb8d6b More ReadPreference love rather then slaveokay
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328550 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:16:49 +00:00