- The value of $total_results = 10
- $total_results in an object, according to gettype()
- I cannot use mathematical operators on $total_results because it's not numeric
- Tried $total_results = intval($total_results) to convert to an integer, but no luck
- The notice I get is: Object of class Zend_Gdata_Extension_OpenSearchTotalResults could not be converted to int
How can I convert to an integer?