Listing variables used in a script

    Date: 03/20/07 (PHP Community)    Keywords: no keywords

    Is there a built-in function for listing all assigned variables used in a script? 

    For instance, if I have:

       $test = 'foo';
       $blah = 'blah';
       $bar = 'bar';
    ?>
    I'd call my mystery function:

         MagicFunctionCall();
    ?>

    Which would display:


    $test = foo
    $blah = blah
    $bar = bar


    Clear as mud?  :o)

    Source: http://community.livejournal.com/php/554684.html

« Cache Library || Variables: References »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home