title: Difference between double colon and arrow operators in PHP?
body: <p>In the sidebar of the php web manual, <a href="http://www.php.net/manual/en/simplexmlelement.addchild.php" rel="noreferrer">link text</a> the addChild method uses the <code>::</code> scope resolution operator, but in the example it uses the Arrow operator. Can anyone tell me why that is?</p>