Related Links : Search Engine Optimization | | Search Engine Marketing | Online Marketing | Freelance Programmer| SEO Thailand | SEO Expert | SEO services | PHP Programmer Thailand | SEO Tutorial | What is SEO |

  Home Our SEO Services SEO Expert Consultant Php Programmer Scripts| Email : sachin {at} jainsachin {dot} com

PHP | Check whether the given error code indicates failure | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    Check whether the given error code indicates failure

    intl_is_failure

    (No version information available, might be only in CVS)

    intl_is_failure — Check whether the given error code indicates failure

    Description

    bool intl_is_failure ( integer $error_code )

    Parameters

    error_code

    is a value that returned by functions: intl_get_error_code(), collator_get_error_code() .

    Return Values

    TRUE if it the code indicates some failure, and FALSE in case of success or a warning.

    Examples

    Example #1 intl_is_failure() example

    <?php
    function check$err_code )
    {
        
    var_exportintl_is_failure$err_code ) );
        echo 
    "\n";
    }
        
    checkU_ZERO_ERROR );
    checkU_USING_FALLBACK_WARNING );
    checkU_ILLEGAL_ARGUMENT_ERROR );
    ?>

    The above example will output something similar to:

    false
    false
    true
    


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin