php class unserialization code added