diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-14 15:07:55 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-14 15:19:18 +0200 |
| commit | cfaa270da5b511e2821aa0a5e036ef5879a56bed (patch) | |
| tree | 57600b5a641d427d4d7dc519d1ce28ce807b4e37 /ext/standard/php_string.h | |
| parent | ca20f36b2a89e01c701bb9b3da0db62b28972d7e (diff) | |
| download | php-git-cfaa270da5b511e2821aa0a5e036ef5879a56bed.tar.gz | |
Use variadic signature for PDOStatement::fetchAll()
The current signature is incorrect, because the $ctor_args parameter
is not required to be an array (it can at least also be null, and
isn't enforced by an exception anyway).
I'm going for the variadic signature here, because we already use
the same variadic signature in PDO::query() and
PDOStatement::setFetchMode(), all of them accepting essentially the
same arguments.
Diffstat (limited to 'ext/standard/php_string.h')
0 files changed, 0 insertions, 0 deletions
