note 126717 added to pdo.lastinsertid

From: Date: Mon, 27 Dec 2021 10:42:19 +0000
Subject: note 126717 added to pdo.lastinsertid
Groups: php.notes 
Request: Send a blank email to php-notes+get-217425@lists.php.net to get a copy of this message
Why is the return type a string | false, shouldn't it be an int | null? ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.135 (proxied: 213.138.50.58) ---- Manual Page -- https://php.net/manual/en/pdo.lastinsertid.php Edit -- https://main.php.net/note/edit/126717 Del: integrated -- https://main.php.net/note/delete/126717/integrated Del: useless -- https://main.php.net/note/delete/126717/useless Del: bad code -- https://main.php.net/note/delete/126717/bad+code Del: spam -- https://main.php.net/note/delete/126717/spam Del: non-english -- https://main.php.net/note/delete/126717/non-english Del: in docs -- https://main.php.net/note/delete/126717/in+docs Del: other reasons-- https://main.php.net/note/delete/126717 Reject -- https://main.php.net/note/reject/126717 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#217425) next »