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 Keyword Suggestion Scripts | Email : sachin {at} jainsachin {dot} com

PHP | Spotting References | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



SEO Tools




    Spotting References

    Spotting References

    Many syntax constructs in PHP are implemented via referencing mechanisms, so everything told above about reference binding also apply to these constructs. Some constructs, like passing and returning by-reference, are mentioned above. Other constructs that use references are:

    global References

    When you declare variable as global $var you are in fact creating reference to a global variable. That means, this is the same as:

    <?php
    $var 
    =& $GLOBALS["var"];
    ?>

    That means, for example, that unsetting $var won't unset global variable.

    $this

    In an object method, $this is always a reference to the caller object.


    SEO Tutorial / Articles



    Php / Mysql Tutorial



    Articles



      Other Topics



      SEO by Jainsachin