|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-03-10 10:05 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Type: Feature/Change Request
+Type: Documentation Problem
-Assigned To:
+Assigned To: cmb
[2020-03-10 10:05 UTC] cmb@php.net
[2020-03-10 10:07 UTC] cmb@php.net
[2020-03-10 10:08 UTC] phpdocbot@php.net
[2020-03-10 10:08 UTC] phpdocbot@php.net
-Status: Verified
+Status: Closed
[2020-03-10 14:21 UTC] mumumu@php.net
[2020-03-10 14:25 UTC] phpdocbot@php.net
[2020-12-30 11:59 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
Description: ------------ PDO expects different returned values from PDOStatement::getColumnMeta() - the other methods in the API returns 0 for failure and 1 for success - but getColumnMeta should return FAILURE (-1) or SUCCESS(0) instead (enum ZEND_RESULT_CODE?) Confirmed this part of the PDO code is the same in PHP 5.6, 7.1, 7.2 and 7.3 static PHP_METHOD(PDOStatement, getColumnMeta) { ... PDO_STMT_CLEAR_ERR(); if (FAILURE == stmt->methods->get_column_meta(stmt, colno, return_value)) { PDO_HANDLE_STMT_ERR(); RETURN_FALSE; } ... }