look at 2: and 3: in the image. It should be 4, but return me '0'.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I think that the problem is how you are using Simple HTML DOM. You are exploding If you are trying to get the content of the tag you should use
|
|||||||||
|
$UO2
? Do avar_dump($UO2)
. – Gergo Erdosi yesterday$UO2 = " <div>3<b>";
then the casting will return0
– raidenace yesterday