Converted the rest of PHP examles to new format.