Slashdot Mirror


PHP 5 RC 1 released

An anonymous reader writes "PHP just released the first release candidate of PHP 5 after 4 beta releases. It is considered stable and feature-complete -- so get testing!"

13 of 388 comments (clear)

  1. Re:Power Power Power by Anonymous Coward · · Score: 5, Insightful

    It's funny, I remember when it was a main tenet of programming that data should be separate from presentation. However, PHP has shown just how powerful integrating data and presentation can be through inlining code directly into a webpage layout.

    Try something complicated. You'll change your tune right quick.

  2. Re:Power Power Power by Anonymous Coward · · Score: 4, Insightful

    Powerful is one thing, maintainable another.

    Keeping data and presentation separate is still the best thing to do. But that's why we have CSS. So unless you're still using tables, font tags or whatnot, you're not integrating data and presentation.

  3. Re:Power Power Power [where's my perl!?!] by Telastyn · · Score: 5, Insightful

    Huh?

    Having been a big PHP fan, let me assure you that PHP has a strong central theme like a kleptomaniac with ADD has a strong attention span.

    Having been a big PHP fan, every story about PHP releases reminds me of the page long list of vulnerabilities and issues under it's entry in netbsd's package listing.

    Having since moved to perl, I'm wondering if those death throes you're talking about are the same ones that haven't arrived on my BSD machine yet...

  4. Re:Power Power Power by kevin_conaway · · Score: 4, Insightful

    Umm, Perl is not dead or dying. It may not be used as much as it used to for CGI programming but in the world of system administrators, it is still very much alive and even growing. An admin without perl is making his or her life much worse than it could be

  5. Re:It is NOT stable by Anonymous Coward · · Score: 3, Insightful

    You'll know it's stable when porn sites start transitioning to it. Consider the load testing that they are able to throw at any software.

  6. Re:significant changes by Carl+T · · Score: 5, Insightful
    the semantics regarding object assignment have changed from copy to reference

    Sounds to me like the migration to PHP 5 will be a long and painful one. The project I've been working on in PHP for the last couple of years sure could use some of the new features, and if what another poster said about responsiveness translates to higher speed, that's another reason to switch. Then again, looking through megs of PHP code for things that are suddenly ever so slightly broken because of subtle language changes is not exactly fun.

    For new projects, OTOH, I don't see much reason to stick with PHP 4, except the horrors of having to instruct users that they need to upgrade their PHP interpreter(s) again.

    --

    This signature is not in the public domain.
  7. Re:It is NOT stable by Anonymous Coward · · Score: 3, Insightful

    ...why do people mod this shit up? It's NOT fucking insigtful, it's redundant. The entire parent post could be removed and no one would think anything different than if it was never posted to begin with. It's just repeating shit that was already said and is so blatantly fucking obvious to anyone who cares enough to use it.

    "RC1 != Stable". No fucking shit, Captain Obvious. That's why it's a RELEASE CANDIDATE *gasp*. Nowhere did it state "Put this on your production machines at once." It said "stable enough for people to start playing with."

    Let me guess, the sun is yellow?

    Modding this shit up just encourages people to post brain-dead information and therefore makes everyone stupider in return. So don't do it.

  8. Re:Power Power Power by FyRE666 · · Score: 3, Insightful

    If you are putting php in your html you are doing it backwards. Marked up content goes in one database table CSS goes in the other and php puts them together.

    That's possibly the most ridiculous thing I've ever read here (above -1 anyway). Why on Earth would you want to keep hammering the database for HTML markup, let alone CSS text?!! You'll find there's this thing known as a "filesystem" that does a better job at returning such content, much more quickly and more efficiently.

    If you really are using the method you suggest above, then I can only imagine you don't have a very busy site...

  9. Re:Safety? by Tablizer · · Score: 3, Insightful

    PHP is a weakly-typed language by design.....Let's not forget that PHP is, after all, a scripting language

    Agreed. Why does everybody want to turn PHP into Java? If you want to use Java, then use Java. Diversity is good.

  10. Re:Here you go by perrin_harkins · · Score: 3, Insightful
    All of these scale well enough that for most sites you won't care, and none of them really scale well enough to support something like cnn.com.[...]If you want something that will scale to absolutely huge levels (like the aforementioned CNN), J2EE is about the only game in town.

    Yahoo uses PHP and Perl. Amazon uses Perl. TicketMaster uses Perl. These are some of the biggest sites in existence. The only truly large site using Java is eBay, and they are not using all the standard J2EE stuff. And I can't believe you are claiming that Tcl is more maintainable than Perl.

  11. Unicode by UnConeD · · Score: 4, Insightful

    So does PHP5 have proper Unicode support, or are we still supposed to pretend that you can treat UTF8 as ASCII and that it will 'just work'?

  12. XML/XSLT for humans? by phutureboy · · Score: 3, Insightful

    OK, I tried using XML & XSLT under PHP a couple years ago, for the CMS system which is linked in my .sig. It was one of the most frustrating experiences of my life.

    Firstly, it required that PHP be recompiled with the Sablotron module, which would have made the software inaccessible to most of its current user base.

    Secondly, writing the XSL stylesheets was complicated as hell. The learning curve associated with them would have made the software inaccessible to ~96% of its current user base, probably including me. (it now uses its own templating system which allows designers to create the templates.)

    Has any of this changed? For example, are there any WYSIWYG editors which make it easier to write stylesheets? Will PHP 5 have XSLT capabilities built-in?

    Or am I missing something? Is XSLT really not as hard to get started with as I think? (If I'm just a dumbass, I'm sure someone on /. will quickly point that out :)

  13. Connection pooling ? by vlad_petric · · Score: 4, Insightful

    All the OO features are nice, but what's really missing in PHP are some critical "enteprise" features, like true connection pooling (and no, pconnect doesn't count).

    --

    The Raven