|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-10-26 17:01 UTC] adambaratz@php.net
-Assigned To:
+Assigned To: adambaratz
[2016-10-27 17:53 UTC] adambaratz@php.net
[2016-10-27 17:53 UTC] adambaratz@php.net
-Status: Assigned
+Status: Closed
[2017-01-12 09:12 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Description: ------------ See test script. Should ideally return an int, but ensure that the SQL type won't overflow the PHP type. Test script: --------------- $pdo = new \PDO(...); $statement = $pdo->query('select cast(1 as bigint)'); var_dump($statement->fetchColumn()); // string(1) "1"