Slashdot Mirror


PHP 5.3 Released

Sudheer writes "The PHP development team is proud to announce the immediate release of PHP 5.3.0. This release is a major improvement in the 5.X series, which includes a large number of new features and bug fixes. Some of the key new features include: namespaces, late static binding, closures, optional garbage collection for cyclic references, new extensions (like ext/phar, ext/intl and ext/fileinfo), over 140 bug fixes and much more."

6 of 120 comments (clear)

  1. Looking Forward To It by TheNinjaroach · · Score: 4, Insightful

    Say what you will about PHP, but it puts food on my table and a good roof over my head. I have been clamoring for the new features in PHP 5.3.0 (closures, namespaces, they finally killed register_globals) and can't wait for the improvements coming in 6.

    I truly appreciate the hard work of the PHP development team and the free language they have given us, congratulations on the new release.

    --
    I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
  2. Re:features! by ScytheBlade1 · · Score: 4, Funny

    Pffft. If you're going to say that, you had better include the link to the documentation: http://us.php.net/goto

    ... scroll down.......

  3. Horray by neoform · · Score: 5, Funny

    So does this mean I should upgrade from PHP 3.2? Are there any incompatibilities with my existing code?

    Maybe someone can look over my login script and tell me if this will work in PHP5?

    $query_login="select * FROM user";
    $result_login = mysql_query($query_login) or die("Your passwrod is might be bad I think");
    //$login_check = mysql_num_rows($result_login);
    while($row=mysql_fetch_array($result_login))
    {
    $username=$row["username"];
    if ($username==$username1)
    {
    echo "";
    echo "window.location.href='login_error.php?rec=qq';";
    echo "";
    exit;
    }
    }

    --
    MABASPLOOM!
    1. Re:Horray by Anonymous Coward · · Score: 5, Funny

      If you can't tell that the parent post is a joke you're probably a PHP programmer.

  4. Re:new features in php 5.3 by amicusNYCL · · Score: 4, Informative

    You can also read the official release announcement instead of some random guy's blog.

    http://php.net/releases/5_3_0.php

    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  5. Re:Would you let it die already? by iluvcapra · · Score: 4, Insightful

    I think if the functions, calling conventions and naming were regularized

    ...and they removed the sigils, and removed the silent type coercion, and eliminated the "@" function prefix, and removed the "global" keyword, and removed the weird "list" lvalue function that looks-like-functional-pattern-matching-but-really-just-cosmetically, and fixed the pass-by-reference semantic...

    But if you did all of these things, it really wouldn't be PHP anymore.

    --
    Don't blame me, I voted for Baltar.