Commit graph

295 commits

Author SHA1 Message Date
George Peter Banyard
cbac1ecf71 Fix lone section order issues in various extensions
Part of #658
2021-06-06 18:03:03 +01:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Philip Olson
4206843127 Added informaltable ids as needed by the docs at mysql.com 2021-01-22 14:46:42 -08:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
684a3c40c7 Fix return types according to the return values section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 16:51:37 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
dbf319f8b2 Fix #74897: Links to "warning" & "fatal error" have a blank href
Let's be pragmatic, and just use <constant> elements as in the rest of docs,
and hope that PhD will support automatically linking these elements sometime.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349307 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 08:22:42 +00:00
George Peter Banyard
43c3e5cb61 Fix Doc Bug #78104 by removing mentions of @ operator and moving E_WARNING info into Error/Exception section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347576 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 15:41:06 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +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
Philip Olson
4aac5d83bd Better late than never. Demonstrate that a connection is required, and what happens when one is not.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337755 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 21:04:10 +00:00
Philip Olson
5dd7ff3e72 Clarified that connections are closed when a script is finished. A user note by 'win at alinto dot com' inspired this change. For good measure, refer to both result sets and connections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337721 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 23:30:35 +00:00
Christoph Michael Becker
b17322aa6b try to fix wrong alternative to mysql_num_fields (would fix #70373)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337656 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-28 00:43:58 +00:00
Philip Olson
4fd68bd86c Improved the MySQL character set documentation, a bit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337633 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-26 04:32:39 +00:00
Adam Harvey
8a4247cc1b Clarify when MySQL functions were deprecated if it was before 5.5.
No, the new 4.3.0 entity isn't a typo.

Fixes doc bug #69119 (Unconstancies in mysql_escape_string web page).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336004 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-26 20:52:31 +00:00
Adam Harvey
ed56c4e375 Use &gt;, even though this is technically OK.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336003 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-26 20:51:14 +00:00
Adam Harvey
3678ad3813 Fix a long standing TODO by explaining how to use PDOStatement::fetch().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336002 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-26 20:42:31 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Peter Cowburn
bcafcd5fd4 Add mysqli alternative to see also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333171 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:25 +00:00
Philip Olson
bd34864223 mysql_query() return is mixed, as the statement type determines whether resource or boolean is returned. Reported by PHP Bug #66697
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332891 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-25 23:38:09 +00:00
Hannes Magnusson
31035591cc This link was pointing to mysqli_character_set_name, which returns the name of the current character set. It should point to mysqli_set_charset which provides the same functionality as the deprecated function.
-- 
Provided by anonymous 38086 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332596 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-11 23:01:21 +00:00
Jakub Vrana
2c40bcfe21 Link mysqli_fetch_field_direct() from mysql_field_flags()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330172 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-03 07:04:44 +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
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
Philip Olson
50fed17947 Update PDO suggestion, as SET NAMES is not recommended
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326285 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-21 16:31:09 +00:00
Hannes Magnusson
07916c82c5 Send arguments to function via attributes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326070 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 19:04:39 +00:00
Philip Olson
41f14ef421 Added a concepts section about character sets, and linked to it in various places.
This is an improved fix for PHP Bug #54605


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326024 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-08 05:21:09 +00:00
Philip Olson
59b8134015 Documented that setting the character set via an SQL query will not be
useful to real_escape_string. This closes PHP Bug #54605


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326022 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-08 00:11:47 +00:00
Philip Olson
6757efbf17 Updated foo::bar(arg) syntax, as spotted by bjori(). And used [foo] for returned array parts.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325981 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 08:29:31 +00:00
Philip Olson
c53a5feeaf Added soft-deprecation-notice for each function, including ext/mysqli and PDO alternatives
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325980 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 07:55:24 +00:00
Philip Olson
b80218f662 Updated the soft deprecation alternatives syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325976 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 04:25:50 +00:00
Peter Cowburn
7b41e56f19 fix build :(
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325952 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-03 14:21:19 +00:00
Peter Cowburn
323d2c0996 first ext/mysql soft deprecation notice
This commit serves as a test, before we roll the change out to
the whole extension.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325943 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-02 16:19:43 +00:00
Philip Olson
8e4ba0e729 Documented PHP Bug #60770 -- Return value for 'INSERT ... ON DUPLICATE KEY UPDATE' queries. Note stolen from david_colter at me dot com.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325920 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-01 07:01:17 +00:00
Philip Olson
0d907fcbab Documented PHP bug #61758 -- will report the alias name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325919 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-01 06:46:02 +00:00
Johannes Schlüter
2fe26a8a04 Add a note about aliased names and point users towards mysqli.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325284 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-18 11:14:22 +00:00
Philip Olson
70642d85d0 Softly deprecate part of ext/mysql... as a test. Let's see what chaos this will cause. And/or let's see if this idea makes much sense. Suggestions are welcome.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324829 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-05 06:38:36 +00:00
Philip Olson
4cb4824d50 technically, <constant> is not allowed within <initializer>, so removing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323449 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-23 16:23:01 +00:00
Maciek Sokolewicz
4a420d557a Fixed missing <initializer> warnings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323235 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-15 18:52:23 +00:00
Justin Martin
f76374f37e Clarified that certain commands can be used on a result set from mysql_unbuffered_query after all rows have been fetched. Closes bug #54704.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320465 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 21:55:40 +00:00
Richard Quadling
62d2701405 W/S, Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318457 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-27 09:21:48 +00:00
Philip Olson
5ffcb8a8aa mysql_list_dbs() is deprecated as of 5.4.0, as per PHP bug #50667
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318196 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-18 22:54:45 +00:00
Justin Martin
1317c63b4b Clarified note about fetching from unbuffered queries, as per bug #55813.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317924 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 21:27:41 +00:00
Yannick Torres
88a88985b9 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316587 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 06:12:03 +00:00