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

Bug #16921 PHP_Compat includes functions that no version of PHP does
Submitted: 2009-12-18 00:42 UTC
From: mckinzey Assigned: hm2k
Status: Closed Package: PHP_Compat (version CVS)
PHP Version: 5.3.1 OS:
Roadmaps: 1.6.0a3    
Subscription  


 [2009-12-18 00:42 UTC] mckinzey (John McKinzey)
Description: ------------ http://svn.php.net/viewvc/pear/packages/PHP_Compat/trunk/Compat/Function/bcinvert.php?view=log PHP_Compat implements a function called bcinvert even though no such comparable function exists in any version of PHP. As nice a feature as it might be, PHP_Compat, in my opinion, isn't supposed to be a collection of functions that would be *nice* to have - it's supposed to be a collection of functions that PHP *does* have, in one version or another. If PHP_Compat is going to start including functions that would be *nice* to have then where do you draw the line? And at this point doesn't the name PHP_Compat become a bit of a misnomer? If PHP_Compat is going to start including functions that would be nice to have then maybe PHP_Compat's name ought to be changed to PHP_Functions or something?

Comments

 [2009-12-18 00:44 UTC] mckinzey (John McKinzey)
-Summary: PHP_Compat includes functions that no version of PHP doesb +Summary: PHP_Compat includes functions that no version of PHP does
 [2010-07-27 18:11 UTC] hm2k (James Wade)
-Status: Open +Status: Closed -Assigned To: +Assigned To: hm2k
I see no reason to keep this function. Commit At revision: 301611