使用find从html获取tag属性

i have this html code

  <img alt="Tablet - BLUE"
       title="Tablet - BLUE" src="helo.jpg" normal-src="helo_norm.jpg">  

I use php find() to get the src helo.jpg text of img tag. It works. How can i get the normal-src helo_norm.jpg text?

 foreach($html->find('img') as $ul)
            {
                    $picturelink=$ul->src;
}

You need to use...

$normalSrc = $ul->{'normal-src'};