Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: min(six, four)?
(Example: nine)

The Note You're Voting On

JJimenez
1 year ago
When you make a wraper for PDO:query, you must define the method like this:

public function query( string $sql, ?int $fetchMode = null, mixed ...$fetchModeArgs) : \PDOStatement|false

if you delete one of the parameters or use one of the oficials parameters you get a Fatal error

<< Back to user notes page

To Top