Problem with class

I have a problem with this code

<?php
class Mypdo
{  static $dbh;
   public static function mydbh()
{ if (self::dbh==null)
    {     self::dbh  = new PDO("mysql:host=localhost;dbname=auctions", "dimis", "dimis");}
return self::dbh;
}
}
?>

Parse error: syntax error, unexpected ‘=’ on line 6

What is wrong?

self::dbh 

should be

self::$dbh

you forgot the $ in front of dbh?

EDIT: Yay for slow posting in the mornings, beaten again :stuck_out_tongue_winking_eye: