it's only marginally faster, but it does look a bit cleaner, and is a
bit more memory efficient:
$records[] = unserialize(serialize($boundParams));
--
The trouble with programmers is that you can never tell what a
programmer is doing until it’s too late. ~Seymour Cray
On Wed, Sep 14, 2011 at
Hi.
Based upon ...
&$name, 'age' => &$age);
$records = array();
$name = 'Richard';
$age = 43;
$records[] = $boundParams;
$name = 'Sally';
$age = 37;
$records[] = $boundParams;
print_r($records);
?>
outputs Sally twice.
Whilst that is the correct output based upon the code, it is undesired
2 matches
Mail list logo