[php-src] PR #21881: ext/pgsql: move object initialization before fetching row in pg_fetch_object
| From: | arshidkv12 | Date: | Mon, 27 Apr 2026 07:06:12 +0000 |
| Subject: | [php-src] PR #21881: ext/pgsql: move object initialization before fetching row in pg_fetch_object | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35904@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21881
Author: arshidkv12
Move **object_init_ex()** earlier to fail fast before performing any database fetch work.
This avoids unnecessary PGresult processing when object instantiation fails.