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

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)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 15 - 14 = ?

 [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?


 [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