Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Request #2698 Implement kinda install-strip
Submitted: 2004-11-05 12:20 UTC
From: mike Assigned:
Status: Wont fix Package: PEAR
PHP Version: Irrelevant OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2004-11-05 12:20 UTC] mike
Description: ------------ Would be nice if pear had a "install-strip" command, which would install files with role "php" piped through "php -w". Sounds sane?

Comments

 [2004-11-05 12:33 UTC] cellog
This is best implemented with <?php foreach (System::find(array('/path/to/pear', '-name', '*.php')) as $file) { `php -w $file > $file`; } ?> Not with an added command for the installer. Most users prefer comments to figure out how the code works if there is a bug, and if you use any kind of bytecode cache, they do not affect speed at all. Greg