PHP 5.3 Released 120
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."
Re:features! (Score:5, Funny)
Horray (Score:5, Funny)
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");
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;
}
}
My best feature... (Score:3, Funny)
...is the ability to employ goto, though it is not allowed to jump into a loop or switch statement. A fatal error is issued in such cases.
Re:Hooray fileinfo is standard! (Score:2, Funny)
Oh wait, almost any PHP project eventually gets reduced to a song and dance of ugly hacks.
*sigh* Yes, yes, we know, and Python or insert-your-pet-language-here is a gloriously clean and not-at-all counterintuitive* wonderland of fantasy and enchantment where fairies and elves smile upon you and give you their blessings and unicorns piss rainbows and shit candy.
At least until the next hip, trendy language comes out. How's your Ruby on Rails coding coming along?
*: Obviously, because if anyone finds it counterintuitive and an ugly hack, they are wrong and ugly and stupid and smell funny so there.
Re:features! (Score:4, Funny)
Re:My best feature... (Score:3, Funny)
so it's goto, but not as we know it?
Re:Horray (Score:5, Funny)
If you can't tell that the parent post is a joke you're probably a PHP programmer.
Re:Horray (Score:2, Funny)
Don't get your hopes up... I've seen real code that's worse.
Re:Hooray fileinfo is standard! (Score:3, Funny)
slash-achievements!
Achievement unlocked: [ Post 5 consecutive posts using the Preview button first ]