How to find if an object is empty or not in PHP.
Following is the code in which $obj
is holding XML data. How can I check if it's empty or not?
My code:
$obj = simplexml_load_file($url);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…