function _oembedcore_specificity_compare in oEmbed 6.0
Helper function that compares the length of match expressions.
1 string reference to '_oembedcore_specificity_compare'
- oembedcore_providers in ./
oembedcore.module - Returns all the registered providers, or the providers for a specific host.
File
- ./
oembedcore.module, line 236 - Core functionality for oEmbed
Code
function _oembedcore_specificity_compare($a, $b) {
return strlen($b) - strlen($a);
}