[PEPr] Comment on Tools and Utilities::MIME_ContentType

From: Date: Mon, 19 Apr 2004 20:00:06 +0000
Subject: [PEPr] Comment on Tools and Utilities::MIME_ContentType
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28080@lists.php.net to get a copy of this message
Michael Wallner (http://pear.php.net/user/mike) has commented on the proposal for Tools and Utilities::MIME_ContentType. Comment: Uhm, please don't load PEAR/Config.php (37k) for a single constant, but use the replacement feature of the installer instead. Why do you use ereg_replace() if you already use preg_split()? Do you plan a MIME_Magic class too? That would be definiteley awesome :) Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=54 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#28080) next »