SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
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?
$obj
My code:
$obj = simplexml_load_file($url);
This question is related to php object
php
object
Source: Stackoverflow.com