Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $x = simplexml_load_string('<a><b>test</b></a>'); /* A valid object */
- if ($x) { /* true */ }
- if (!$x) { /* false */ }
- if ($x === false) { /* false */ }
- if ($x == false) { /* FUCKING TRUE */ }
- ?>
Add Comment
Please, Sign In to add comment