Commit graph

316 commits

Author SHA1 Message Date
Thomas Punt
d4958e51d6 Resolve doc bug #70119
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338832 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 15:52:45 +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
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
Christoph Michael Becker
ab5e72bad9 call PDO::commit(), not PDOStatement::commit()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337552 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 12:40:37 +00:00
Christoph Michael Becker
7ed327e143 clarified $statement parameter description of PDO::prepare (fixes #70120)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337261 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-29 00:17:45 +00:00
Christoph Michael Becker
d1295c9240 corrected wrong parameter name (fixes #70143)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337242 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-27 12:42:05 +00:00
Peter Cowburn
b71889694a column names case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336911 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 21:00:15 +00:00
Maciej Sobaczewski
7eb76b1f1f Close bug #69775 (fetchColumn() example is misleading)
Patch by cmb

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336896 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 07:07:33 +00:00
Peter Cowburn
2084295d69 Document pdo_pgsql copy from/to file/array methods. Patch by Alexander N (doc bug #63656)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336777 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 22:41:04 +00:00
Pieter Hordijk
53b3265387 Fixed E_ENGRISH / typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336630 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-23 08:59:26 +00:00
Karoly Negyesi
85e54017bd better code example, version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336254 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-30 07:25:07 +00:00
Maciek Sokolewicz
1ad5905021 make example consistent (use echo instead of both print and echo in the same example)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336244 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:38:05 +00:00
Adam Harvey
5da461c02a Update PDOStatement::fetchColumn() docs for the boolean column issue.
Fixes doc bug #68783 (pgsql: PDO::fetchColumn() false returned for value false
and no rows returned).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335883 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-04 02:34:10 +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
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
Adam Harvey
f2c41f5da1 Update new functions in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334641 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 06:47:08 +00:00
Peter Cowburn
7f24a47407 Typofix
Patch by Don Wilson

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334004 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-28 19:18:58 +00:00
Bob Weinand
a4c1f077f7 Updated docs to match arginfo on PDO::__construct
arginfo calls the parameter options; docs called them driver_options.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333541 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-14 20:13:34 +00:00
Peter Cowburn
ef5dde1af7 Value is not dumped
Remko van Bezooijen

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333216 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:38 +00:00
Peter Cowburn
cb535d5ac0 PDO::prepare() improvements
Patch by Col. Shrapnel

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333202 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:41 +00:00
Adam Harvey
ff3a7948d5 Document PDO::FETCH_NAMED in the same place as the other fetch constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332113 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-13 21:47:00 +00:00
Joe Watkins
f8646b59e2 #46542 PDO __call behaviour <5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331999 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-26 09:37:54 +00:00
Popa Adrian Marius
385d9fd8bc cleanup reference of old ib6
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331422 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-17 14:16:18 +00:00
Philip Olson
799afa7e6f Clarified return value as suggested by PHP Bug #64631
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330637 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 00:36:23 +00:00
Sebastian Bergmann
656d1610af Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Jakub Vrana
9e8b518051 Add versions for classes
Generated by http://pastebin.com/NByXgj7E and manually edited

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330432 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:02:33 +00:00
Jakub Vrana
d9e790b852 Link constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330431 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 20:29:47 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
9ef99a43b5 Fix PDO_PGSQL link
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330293 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-19 17:44:06 +00:00
Jakub Vrana
55e7ee28d6 PDOStatement::debugDumpParams() returns null (bug #64839)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330278 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 23:56:01 +00:00
Karoly Negyesi
5626663456 mention https://bugs.php.net/bug.php?id=44409 in the docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329574 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 22:12:45 +00:00
Karoly Negyesi
4c8f96a13e Added a few words on FETCH_PROPS_LATE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329573 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 22:03:35 +00:00
Justin Martin
a937c3c578 Changed return value to &return.success;, as returns 1 on success no longer would seem to apply.
Closes bug #63944.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329087 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 00:22:00 +00:00
Sherif Ramadan
cfcfe6e059 Updated PDO error handling chapter with new example and added note to reflect PDO::__construct behavior.
This fixes Bug #63845 in that a note is added to inform the user that PDO::__construct will always throw an exception if the connection fails.
A new example is also added to reflect that even when the PDO::ATTR_ERRMODE is set in the constructor, and the connection fails, a PDOException will still be thrown.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329077 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-11 11:09:57 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Sherif Ramadan
34cef396fa Added class-level version information for PDO, PDOStatement, and PDOException.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327897 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-06 05:13:54 +00:00
Sherif Ramadan
1d410ffe5d Fixed wrong variable name used in the example code.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327812 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-27 02:02:20 +00:00
Sherif Ramadan
4ff7ef044b Added example for binding values in an array using arbitrary unnamed placeholders in a prepared statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327811 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-27 01:59:34 +00:00
Sherif Ramadan
d376395d1d Fixed markup missing note tag and added new note for php.ini changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327625 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-12 22:00:53 +00:00
Jakub Vrana
81de01788d Document fetch constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327081 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-12 17:45:56 +00:00
Adam Harvey
ef51bbad95 Fix doc bug #62503 (DDL statements in PDO queries are implicitly commited!).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326723 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 06:21:14 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +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
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Jakub Vrana
3112007d2d Use static modifier
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323240 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-15 21:48:29 +00:00