Guest User

Untitled

a guest
Jul 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. $xml = new SimpleXMLElement($feed_in);
  2. //pull out the calls
  3. /*
  4. * <multifunction>
  5. * <call>
  6. * <module>calling module's integer id</module>
  7. * <id>module's internal reference</id>
  8. * <function>function name</function>
  9. * <par id='parameter number'>argument</par>
  10. * <par ... >
  11. * </call>
  12. * <call ... >
  13. * </multifunction>
  14. */
  15. $numCalls = $xml->xpath("count(/multifunction/call)");
Add Comment
Please, Sign In to add comment