Slashdot Mirror


PHP 4.1.0 Released

sirPaul writes: "PHP 4.1.0 is out @ php.net. "It includes highly improved performance, especially under Windows; A new, and more security-friendly way of accepting form variables; Output compression, and much, much more." Check out the changelog."

6 of 37 comments (clear)

  1. New Input Arrays by n-baxley · · Score: 3, Interesting

    The new input arrays sound like a great idea that is long overdue. Bravo to the PHP team for producing a well thought out implementation and still providing backward compatability.

    Now y'all can rip me apart for being positive in a /. post.

  2. MS working on PHP?? by stienman · · Score: 3, Interesting

    I was really surprised to see this tidbit:

    We want to thank Brett Brewer and his team in Microsoft for working with us to improve PHP for Windows

    Not that I'm against MS making PHP faster on windows (the environment I run it in currently - XP, Apache, PHP), but you'd think that MS would see PHP as a competitor to ASP.

    -Adam

    You shake and shake the ketchup bottle - first none comes, and then a lottle.

    1. Re:MS working on PHP?? by stienman · · Score: 3, Interesting

      Actually, MS is internally very competitive. Apparently when faced with a choice between two competing technologies, Mr Gates often decided to wait awhile and see who produced better results. It can be very cut-throat.

      You can read more about this on other sites on the internet - I have a relative working there, but of course we never talk about stuff like that (as most MS employees are discouraged from talking about such things, and business and pleasure don't mix) so I have, at best, third hand knowledge, but it seems reasonable.

      -Adam

      WWW Jel - Immediately relieves surfing pain!
      Indications - For temporary relief of 404 pages due to bad links.
      Directions -
      Compose email to the webmaster
      Apply description of page you came from and page you're attempting to load liberally over affected area.
      Warning - Do not use this product more than 7 times per day. If surfing and sore 404 problems do not improve in 7 days; if irritaion or pain persist or worsen; if rash or other symptoms appear consult your ISP.
      Do not exceed recommended dosage.
      If you have a history of allergy to computers, bad jokes or parodies, please consult with your ISP or local computer retailer before use.

      Micro Basics - all the goodness with 75% less fat!
      No animals were injured in the testing of this website. In fact, many of them wanted seconds.

    2. Re:MS working on PHP?? by DrSkwid · · Score: 2, Interesting

      maybe you don't get it but ASP means active server pages, PHP is just one of many languages one can use in Active Server Pages, another is VB Script, but perl, python, ruby, rebol are also included.

      ASP is simply the name Microsoft chooses to confuse the world with. The rest of the computing planet uses CGI as the acronym. By using ASP it FUDs people because then people think that Unix doesn't have ASP.

      So you see PHP isn't a competitor it's an ally. What MS want is NT/2k/XP deployment not vb script.

      Once deployed it's hard to change, even if you did think that p*'s cross platform nature was going to help you. Once your scripts become complex enough then 'MS only' stuff leeches in (pathnames for instance) and moving over becomes too much hassle and for what gain?

      XP, Apache, PHP -- spot the weakest link :)

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:MS working on PHP?? by mgkimsal2 · · Score: 3, Interesting

      PHP is just one of many languages one can use in Active Server Pages.

      Sorry, wrong. VBScript, Jscript, and to a lesser extent PerlScript are languages that have ASP 'hooks' - 'seamless' integration into the ASP environment. PHP is not one of those languages, unless something has DRASTICALLY changed, and I think we'd have seen a more specific announcement about that.

      PHP runs as an ISAPI module under Windows - hopefully it does NOW anyway. It was pretty flaky in the past. Hopefully this 4.1 release remedies a lot of that. A few core PHP people were invited to MS some time ago to discuss how to make the ISAPI version more stable. There were apparently many threading issues, and the PHP team didn't have much in the way of specific MS experience - not as much as the Unix experience the developers bring to the table.

      PHP is most definitely a competitor, as is perl. WHY would I tie myself to coding ONLY on windows (via VBscript, ASP, etc) if I can just as easily take that code and port it elsewhere? Same issue as Java - my PHP code will run without change on a unix server or a windows server. So it's most certainly a competitor, no doubt about that. Throw in the price tag for PHP/Perl/etc ($0) and it really *should* be scaring MS some. At least it probably rattles a few cages in certain departments there. :)

  3. ASP vs. PHP by Tablizer · · Score: 1, Interesting

    (quote) It totally smokes .asp (end quote)

    I have not tried the 4.1 yet, but 4 had these problems/annoyances:

    1. Session variables were more complex to use than ASP's

    2. Lack of a wrapper function makes name conflicts more likely for form vars, session vars, cookies, etc.

    3. Case sensitivity. I hate that.

    4. Semicolons

    5. No direct module-level vars

    6. Too many arrays needed to access
    mySQL.

    On the good side, it won't be totally overhauled like ASP will when that .NET crap comes.