This guy has written all sorts of handy PHP code for dealing with iCal etc. Handles most calendar-based feed information, plus some neat tools.
#php
Quick PHP Tip
If you’re coding in PHP and checking variables to see if they have a strlen() == 0, or isset() or a variety of other possibilities, you might consider using empty() instead. It’s quite versatile and is nice because it doesn’t trigger any warnings or notices if you use it on a variable which hasn’t been set yet. Here are some examples to show you what it will match against:
<?php $zero_string = '0'; $zero_int = 0; $false = false; $empty_string = ''; $array = array(); $obj = new stdClass(); echo empty( $zero_string ) ? "'0' = empty\n" : ''; echo empty( $zero_int ) ? "0 = empty\n" : ''; echo empty( $false ) ? "false = empty\n" : ''; echo empty( $empty_string ) ? "'' = empty\n" : ''; echo empty( $array ) ? "array() = empty\n" : ''; echo empty( $obj ) ? "stdClass() = empty\n" : ''; echo empty( $foo ) ? "foo is empty (and the variable was never set)\n" : '';
hkit
PHP5 parsing of hCards from HTML documents
Hidden Features of PHP?
Awesome list of “hidden” features in PHP on StackOverflow. Really good collection of tips, pointers etc.
hKit microformats parser for PHP5
hKit microformats parser for PHP5
“hKit is a simple toolkit for extracting common microformats from a page. The page can be presented as a string or a URL, and the result is handed back as a standard PHP array structure. hKit uses SimpleXML for parsing, and therefore requires PHP5.”
How to use curl_multi() without blocking
How to use curl_multi() without blocking
Good post on more efficient use of curl_multi() under PHP. Much better use of resources than most examples around the place.
PHP Quick Profiler
Neat “Firebug for PHP” profiler/debugger tool.
Quick Lookup
Nice AJAX-powered tool for quickly looking up PHP, MySQL, JS and CSS functions etc from their respective references.
CommentBits
CommentBits