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 | __NAMESPACE__ | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    __NAMESPACE__

    __NAMESPACE__

    The compile-time constant __NAMESPACE__ is defined to the name of the current namespace. Outside namespace this constant has the value of empty string. This constant is useful when one needs to compose full name for local namespaced names.

    Example #1 Using __NAMESPACE__

    <?php
    namespace A
    ::B::C;
             
    function 
    foo() {
    // do stuff
    }

    set_error_handler(__NAMESPACE__ "::foo");
    ?>


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin