Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of IlyaM (2933)

Friday July 25, 2003
05:43 AM

PHP annoyance

[ #13686 ]
One reason I extreamly dislike PHP is that they have no analog of CPAN which results in a lot of staff being put in core. Which in turn results being practically imposible to develop backwards compatible code. I.e. if you say develop with 4.2.x, then in each core lib you use there are zillion new features which are not present in former versions. And you occasionally use new features even if you want to stay backward compatible just because there are so many of them.

With perl it's core is much smaller and many core libs have standalone versions avialable from CPAN which still work with old perls. Basically I can keep in my head list of all things I should I avoid if I want to be backward compatible even back to 5.00503. Try this with PHP.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • php-- (Score:3, Interesting)

    by inkdroid (3294) on 2003.07.25 9:11 (#22410) Homepage Journal

    This is exactly what I dislike the most about PHP too. It's a true hassle to recompile and redeploy PHP/Apache everytime you want to add a bit of functionality (like XMLRPC, GD, etc). I also am not fond of how there is no namespace support in PHP for classes.

    Aside: with all the fun that has been happening w/ Parrot/Ponie lately I've been daydreaming about writing a PHP parser that targets parrot.

    • Re:php-- (Score:3, Informative)

      I'm with you inkdroid, that's what I dislike about PHP, that and the complete ease with which you can intertwine the HTML and code.

      As for a PHP compiler that targets parrot, well I think Sterling Hughes [edwardbear.org] is working on that [edwardbear.org].