PHP5 Intro

Via Simon, Sterling Hughes has posted his slides (apparently it is for Mozilla browsers only) for an upcoming PHP 5 presentation in New York tomorrow. Simon likes the class autoloading. I like the Exceptions handling.


<?php
define('NUM', 10);
try {
    if (NUM < 20) {
        throw new Exception(
            NUM . " is too small!"
        );
    }
} catch (Exception $e) {
    echo $e->getMessage();
    echo "n<br />n";
}
?>

Could prove very useful for debugging purposes.

I for one can’t wait for PHP5 to come out. I just hope PHPWebHosting.com isn’t slow to upgrade.

WordPress database error: [Table './mydimension/wp_comments' is marked as crashed and should be repaired]
SELECT * FROM wp_comments WHERE comment_post_ID = '26' AND comment_approved = '1' ORDER BY comment_date

Comments are closed.