LINUX.ORG.RU
Глобально, надежно, Ынтырпрайзно.
gnomino
()
Да, это очень полезно. Для труЪ-пхп кодеров, что не умеют другие языки?

function is_long( mixed_var ) {
    // http://kevin.vanzonneveld.net
    // +   original by: Paulo Ricardo F. Santos
    //  -   depends on: is_float
    // %        note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
    // %        note 1: it different from the PHP implementation. We can't fix this unfortunately.
    // *     example 1: is_long(186.31);
    // *     returns 1: true
 
    return is_float(mixed_var);
}
anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.