note 53512 deleted from function.mkdir by sean

From: Date: Sat, 04 Jun 2005 02:08:53 +0000
Subject: note 53512 deleted from function.mkdir by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89889@lists.php.net to get a copy of this message
Note Submitter: php dot net at phor dot net Reason: bad code ---- <?php function mkdir_p($path) { return is_dir($path) || mkdir_p(dirname($path)) && mkdir($path); } ?>

« previous php.notes (#89889) next »