note 128989 added to function.oci-fetch-all

From: Date: Tue, 31 Oct 2023 17:24:02 +0000
Subject: note 128989 added to function.oci-fetch-all
Groups: php.notes 
Request: Send a blank email to php-notes+get-220945@lists.php.net to get a copy of this message
Calls to oci_fetch_all that have the 3rd and 4th params set as null now (after v.8.1 I believe) generate a warning. **Note that this pattern is shown in documentation examples #2 and #3! Example offending call: <?php $num_rows_returned = oci_fetch_all($set, $result, null, null, OCI_FETCHSTATEMENT_BY_ROW); ?> Returns: Deprecated: oci_fetch_all(): Passing null to parameter #3 ($offset) of type int is deprecated in library.php on line xxx Deprecated: oci_fetch_all(): Passing null to parameter #4 ($limit) of type int is deprecated in library.php on line xxx ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 74.113.138.4) ---- Manual Page -- https://php.net/manual/en/function.oci-fetch-all.php Edit -- https://main.php.net/note/edit/128989 Del: integrated -- https://main.php.net/note/delete/128989/integrated Del: useless -- https://main.php.net/note/delete/128989/useless Del: bad code -- https://main.php.net/note/delete/128989/bad+code Del: spam -- https://main.php.net/note/delete/128989/spam Del: non-english -- https://main.php.net/note/delete/128989/non-english Del: in docs -- https://main.php.net/note/delete/128989/in+docs Del: other reasons-- https://main.php.net/note/delete/128989 Reject -- https://main.php.net/note/reject/128989 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220945) next »