note 62438 deleted from function.array-map by nlopess

From: Date: Sat, 18 Mar 2006 12:42:03 +0000
Subject: note 62438 deleted from function.array-map by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-106025@lists.php.net to get a copy of this message
Note Submitter: benjaminhill [at] gmail [dot] com ---- It is unclear from the documentation if this works with PHP5 object constructors. For example, there isn't currently a way to directly call $objects = array_map("MyObject::__construct", $seedArray); or $objects = array_map("new MyObject", $seedArray); without wrapping the constructor in a callback function first.

« previous php.notes (#106025) next »