Home » Configuration » Config » Bug #1556
PHPArray Containers writes PHP Files without PHP Tags
Details
| Submitted | 2004-06-04 14:52 UTC |
|---|---|
| From | as at mindcom dot de |
| Assigned | mansion |
| Status | Duplicate |
| Package | Config |
| PHP Version | 4.3.6 |
| OS | Win XP |
| Roadmaps | (Not assigned) |
Comments
[2004-06-04 14:52 UTC] as at mindcom dot de
Description:
------------
In Pear Config, Version 1.10.1 the PHPArray Files are written without PHP Start and END Tags.
In Version 1.10 the error does not occur.
[2004-06-04 15:23 UTC] bmansion at mamasam dot com
Let's say I am willing to fix this.
Apparently this is related to case in/sensitivity in function get_class_methods(). In PHP4, apparenetly this function returns lower cased method names. What about PHP5 ?
What is the preferred way to check if a method exists in a given class (not an instance) in PHP5 and PHP4 ?
As I don't have PHP5 to test, I had to rely on this report: http://pear.php.net/bugs/bug.php?id=1450 which is apparently wrong (thanks to you michael at mompopmedia dot com BTW :( ).
[2004-06-09 00:36 UTC] james_r at learningmedia dot co dot nz
See my comment just added to http://pear.php.net/bugs/bug.php?id=860
[2004-06-14 10:57 UTC] bmansion at mamasam dot com
Duplicate of #1633 fixed in CVS