note 97534 deleted from pdostatement.execute by danbrown

From: Date: Sat, 24 Apr 2010 22:15:39 +0000
Subject: note 97534 deleted from pdostatement.execute by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168606@lists.php.net to get a copy of this message
Note Submitter: gx ---- About my previous message: actually the correct function should be: <?php function customExecute(PDOStatement &$sth, $params = NULL) { return $sth->execute($params); } ?> PDOStatement::execute() doesn't require $input_parameters to be an array. (In fact I just realized that, out of "Array Functions", not many functions require actual array(s): preg_grep(), and... has anyone got a list? :p)

« previous php.notes (#168606) next »