php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9598 Variables in class referenced by xml_set_object are not in scope with xml_parse
Submitted: 2001-03-07 01:26 UTC Modified: 2002-06-22 07:56 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: michael at austhailia dot com Assigned:
Status: Not a bug Package: XML related
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
 [2001-03-07 01:26 UTC] michael at austhailia dot com
While using xml_set_object() and xml_parse(), variables references as $this->variable inside the tag handler functions are not in the same scope. That is, once the xml_parse() function has completed, the variables within the class are the same as before xml_parse(). This is illustrated with the following script, note the use of $dummy_var. I have been using this class on php-4.0b4pl1 and have just upgraded to php-4.0.4pl1. PHP build command line is as follows:

./configure  --with-apache=../apache_1.3.12 --with-odbc=/usr/local/iodbc --with-mysql=/usr/local/mysql --with-xml --with-imap --enable-track-vars --disable-debug

Testing script follows:

<?php

class CNewsHarvest
{
    var $parser;
    var $articles;
    var $article_count;
    var $current_article;
    var $current_tag;
    var $dummy_var;

    function CNewsHarvest()
    {
        $this->dummy_var = "My Dummy Variable";
        $this->article_count = 0;
        $this->parser = xml_parser_create();
        xml_set_object($this->parser, &$this);
        xml_set_element_handler($this->parser, "tag_open", "tag_close");
        xml_set_character_data_handler($this->parser, "data_handler");
    }

    function parse($data)
    {
        xml_parse($this->parser, $data, 1);
    }

    function tag_open($parser, $tag, $attributes)
    {
        $this->current_tag = $tag;
        if ($tag == "ARTICLE")
        {
            $this->article_count++;
            while (list($key, $value) = each($attributes))
            {
                if ($key == "ID")
                    $this->current_article = $value;
            }
        }
    }

    function tag_close($parser, $tag)
    {
        global $articles, $article_count;
        if ($tag == "MOREOVERNEWS")
        {
          $articles = $this->articles;
          $article_count = $this->article_count;
        }
    }

    function data_handler($parser, $data)
    {
        $data = trim($data);
        if (trim(strlen($data)) > 0)
        {
            printf("<font color=\"red\">%s</font><br>", trim(strlen($data)));
            printf("adding article %s(%s), key=%s, data=%s<br>\n", $this->current_article, $this->article_count, $this->current_tag, $data);
            $this->articles[$this->article_count][$this->current_tag] = $data;
            $this->dummy_var = $data;
            $this->MyVarDump();        
        }

    }

    function GetArticle($id)
    {
        return $this->articles[$id];
    }

    function GetArticleElement($id, $element)
    {
        return $this->articles[$id][$element];
    }

    function MyVarDump()
    {
        echo "Doing var dump<br>\n";
        echo "dumping [parser]<br>\n";
        var_dump($this->parser);
        echo "<br>\n";
//        echo "dumping [articles]<br>\n";
//        var_dump($this->articles);
//        echo "<br>\n";        
        echo "dumping [article_count]<br\n";
        var_dump($this->article_count);
        echo "<br>\n";
        echo "dumping [current_article]<br>\n";
        var_dump($this->current_article);
        echo "<br>\n";
        echo "dumping [current_tag]<br>\n";
        var_dump($this->current_tag);
        echo "dumping [dummy_var]<br>\n";
        var_dump($this->dummy_var);
//        echo "dumping [this]<br>\n";
//        var_dump($this);
//        echo "<br>\n";
        echo "var dump complete.<br>\n";
    }

    function do_dump()
    {
        printf("<br>There are %s articles<br>\n", $this->article_count);
        for ($i = 1; $i <= $this->article_count; $i++)
        {
            printf("<font size=+1><a href=\"%s\">%s</a></font><br>", $this->articles[$i]["URL"], $this->articles[$i]["HEADLINE_TEXT"]);
            printf("<em>%s %s</em><p>", $this->articles[$i]["SOURCE"], $this->articles[$i]["HARVEST_TIME"]);
        }
    }
}

$xml_parser = new CNewsHarvest();

$Engine = "http://p.moreover.com/cgi-local/page?";
$Category = "k=economy&";
$Output = "o=xml";

$TheFile = $Engine.$Category.$Output;
$ary_lines = file($TheFile);
$Contents = "";
while (list($key, $value) = each($ary_lines))
    $Contents .= $value;

$xml_parser->parse($Contents);
echo "<p>Parse Finished, dumping vars...<p>\n";
$xml_parser->MyVarDump();
printf("Doing dump...<br>");
echo "<br>\n";
$xml_parser->do_dump();

printf("Done");
$xml_parser->MyVarDump();

?> 

Output under php-4.0.4pl1 follows:
45
adding article _16171893(1), key=URL, data=http://c.moreover.com/click/here.pl?x16171893
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16171893" var dump complete.
66
adding article _16171893(1), key=HEADLINE_TEXT, data=Development: Indias new budget focuses on liberalizing its economy
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(66) "Development: Indias new budget focuses on liberalizing its economy" var dump complete.
11
adding article _16171893(1), key=SOURCE, data=Earth Times
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(11) "Earth Times" var dump complete.
4
adding article _16171893(1), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16171893(1), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
11
adding article _16171893(1), key=TAGLINE, data=Development
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(7) "TAGLINE" dumping [dummy_var]
string(11) "Development" var dump complete.
44
adding article _16171893(1), key=DOCUMENT_URL, data=http://www.earthtimes.org/currentedition.htm
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(44) "http://www.earthtimes.org/currentedition.htm" var dump complete.
19
adding article _16171893(1), key=HARVEST_TIME, data=Mar 7 2001 6:19AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 6:19AM" var dump complete.
45
adding article _16171393(2), key=URL, data=http://c.moreover.com/click/here.pl?x16171393
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16171393" var dump complete.
63
adding article _16171393(2), key=HEADLINE_TEXT, data=Australia Central Bank Cuts Rate as Economy Contracts (Update1)
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(63) "Australia Central Bank Cuts Rate as Economy Contracts (Update1)" var dump complete.
13
adding article _16171393(2), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16171393(2), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16171393(2), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
24
adding article _16171393(2), key=DOCUMENT_URL, data=http://www.bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(24) "http://www.bloomberg.com" var dump complete.
19
adding article _16171393(2), key=HARVEST_TIME, data=Mar 7 2001 6:06AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 6:06AM" var dump complete.
45
adding article _16169577(3), key=URL, data=http://c.moreover.com/click/here.pl?x16169577
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16169577" var dump complete.
60
adding article _16169577(3), key=HEADLINE_TEXT, data=Alston blames international influence for Aus economy status
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(60) "Alston blames international influence for Aus economy status" var dump complete.
10
adding article _16169577(3), key=SOURCE, data=ABC Online
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(10) "ABC Online" var dump complete.
4
adding article _16169577(3), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16169577(3), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
47
adding article _16169577(3), key=DOCUMENT_URL, data=http://www.abc.net.au/news/newslink/default.htm
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(47) "http://www.abc.net.au/news/newslink/default.htm" var dump complete.
19
adding article _16169577(3), key=HARVEST_TIME, data=Mar 7 2001 4:52AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:52AM" var dump complete.
45
adding article _16169531(4), key=URL, data=http://c.moreover.com/click/here.pl?x16169531
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16169531" var dump complete.
61
adding article _16169531(4), key=HEADLINE_TEXT, data=PM says economy has been strengthened despite negative growth
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(61) "PM says economy has been strengthened despite negative growth" var dump complete.
10
adding article _16169531(4), key=SOURCE, data=ABC Online
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(10) "ABC Online" var dump complete.
4
adding article _16169531(4), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16169531(4), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
47
adding article _16169531(4), key=DOCUMENT_URL, data=http://www.abc.net.au/news/newslink/default.htm
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(47) "http://www.abc.net.au/news/newslink/default.htm" var dump complete.
19
adding article _16169531(4), key=HARVEST_TIME, data=Mar 7 2001 4:52AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:52AM" var dump complete.
45
adding article _16168847(5), key=URL, data=http://c.moreover.com/click/here.pl?x16168847
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16168847" var dump complete.
72
adding article _16168847(5), key=HEADLINE_TEXT, data=Australias Economy Shrinks 0.6% in Fourth Quarter; First Time Since 1991
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(72) "Australias Economy Shrinks 0.6% in Fourth Quarter; First Time Since 1991" var dump complete.
13
adding article _16168847(5), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16168847(5), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16168847(5), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
43
adding article _16168847(5), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/economies.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(43) "http://www.bloomberg.com/bbn/economies.html" var dump complete.
19
adding article _16168847(5), key=HARVEST_TIME, data=Mar 7 2001 4:33AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:33AM" var dump complete.
45
adding article _16168836(6), key=URL, data=http://c.moreover.com/click/here.pl?x16168836
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16168836" var dump complete.
73
adding article _16168836(6), key=HEADLINE_TEXT, data=Australia Cuts Key Interest Rate Quarter Point to 5.5% as Economy Shrinks
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(73) "Australia Cuts Key Interest Rate Quarter Point to 5.5% as Economy Shrinks" var dump complete.
13
adding article _16168836(6), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16168836(6), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16168836(6), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
43
adding article _16168836(6), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/economies.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(43) "http://www.bloomberg.com/bbn/economies.html" var dump complete.
19
adding article _16168836(6), key=HARVEST_TIME, data=Mar 7 2001 4:33AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168836" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:33AM" var dump complete.
45
adding article _16168804(7), key=URL, data=http://c.moreover.com/click/here.pl?x16168804
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16168804" var dump complete.
47
adding article _16168804(7), key=HEADLINE_TEXT, data=Economy dampens hopes for regional hub just now
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(47) "Economy dampens hopes for regional hub just now" var dump complete.
12
adding article _16168804(7), key=SOURCE, data=Bangkok Post
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(12) "Bangkok Post" var dump complete.
4
adding article _16168804(7), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16168804(7), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
46
adding article _16168804(7), key=DOCUMENT_URL, data=http://www.bangkokpost.com/today/Business.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(46) "http://www.bangkokpost.com/today/Business.html" var dump complete.
19
adding article _16168804(7), key=HARVEST_TIME, data=Mar 7 2001 4:32AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16168804" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:32AM" var dump complete.
45
adding article _16167705(8), key=URL, data=http://c.moreover.com/click/here.pl?x16167705
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167705" var dump complete.
59
adding article _16167705(8), key=HEADLINE_TEXT, data=Australias Economy Shrinks 0.6% in Fourth-Quarter (Update1)
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(59) "Australias Economy Shrinks 0.6% in Fourth-Quarter (Update1)" var dump complete.
13
adding article _16167705(8), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16167705(8), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167705(8), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
24
adding article _16167705(8), key=DOCUMENT_URL, data=http://www.bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(24) "http://www.bloomberg.com" var dump complete.
19
adding article _16167705(8), key=HARVEST_TIME, data=Mar 7 2001 4:22AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167705" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:22AM" var dump complete.
45
adding article _16167664(9), key=URL, data=http://c.moreover.com/click/here.pl?x16167664
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167664" var dump complete.
60
adding article _16167664(9), key=HEADLINE_TEXT, data=Broadcom Lowers 1st-Quarter Forecast, Blames Slowing Economy
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(60) "Broadcom Lowers 1st-Quarter Forecast, Blames Slowing Economy" var dump complete.
13
adding article _16167664(9), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16167664(9), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167664(9), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
39
adding article _16167664(9), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/index.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(39) "http://www.bloomberg.com/bbn/index.html" var dump complete.
19
adding article _16167664(9), key=HARVEST_TIME, data=Mar 7 2001 4:22AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167664" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:22AM" var dump complete.
45
adding article _16167634(10), key=URL, data=http://c.moreover.com/click/here.pl?x16167634
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167634" var dump complete.
63
adding article _16167634(10), key=HEADLINE_TEXT, data=Australia Central Bank Cuts Rate Qtr-Point as Economy Contracts
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(63) "Australia Central Bank Cuts Rate Qtr-Point as Economy Contracts" var dump complete.
13
adding article _16167634(10), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16167634(10), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167634(10), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
39
adding article _16167634(10), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/index.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(39) "http://www.bloomberg.com/bbn/index.html" var dump complete.
19
adding article _16167634(10), key=HARVEST_TIME, data=Mar 7 2001 4:22AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167634" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:22AM" var dump complete.
45
adding article _16167633(11), key=URL, data=http://c.moreover.com/click/here.pl?x16167633
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167633" var dump complete.
47
adding article _16167633(11), key=HEADLINE_TEXT, data=Bush Says Cut in Top Tax Rates Good for Economy
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(47) "Bush Says Cut in Top Tax Rates Good for Economy" var dump complete.
16
adding article _16167633(11), key=SOURCE, data=Reuters via iWon
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(16) "Reuters via iWon" var dump complete.
4
adding article _16167633(11), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167633(11), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
71
adding article _16167633(11), key=DOCUMENT_URL, data=http://www.iwon.com/home/news/news_overview/0,11743,top|reuters,00.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(71) "http://www.iwon.com/home/news/news_overview/0,11743,top|reuters,00.html" var dump complete.
19
adding article _16167633(11), key=HARVEST_TIME, data=Mar 7 2001 4:21AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167633" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:21AM" var dump complete.
45
adding article _16167396(12), key=URL, data=http://c.moreover.com/click/here.pl?x16167396
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167396" var dump complete.
23
adding article _16167396(12), key=HEADLINE_TEXT, data=Economy contracts 0.6pc
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(23) "Economy contracts 0.6pc" var dump complete.
16
adding article _16167396(12), key=SOURCE, data=Financial Review
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(16) "Financial Review" var dump complete.
4
adding article _16167396(12), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167396(12), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
26
adding article _16167396(12), key=DOCUMENT_URL, data=http://afr.com/marketwrap/
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(26) "http://afr.com/marketwrap/" var dump complete.
19
adding article _16167396(12), key=HARVEST_TIME, data=Mar 7 2001 4:15AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167396" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:15AM" var dump complete.
45
adding article _16167271(13), key=URL, data=http://c.moreover.com/click/here.pl?x16167271
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16167271" var dump complete.
26
adding article _16167271(13), key=HEADLINE_TEXT, data=Economy contracts by 0.6pc
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(26) "Economy contracts by 0.6pc" var dump complete.
16
adding article _16167271(13), key=SOURCE, data=Financial Review
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(16) "Financial Review" var dump complete.
4
adding article _16167271(13), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16167271(13), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
25
adding article _16167271(13), key=DOCUMENT_URL, data=http://afr.com/australia/
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(25) "http://afr.com/australia/" var dump complete.
19
adding article _16167271(13), key=HARVEST_TIME, data=Mar 7 2001 3:59AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16167271" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 3:59AM" var dump complete.
45
adding article _16166376(14), key=URL, data=http://c.moreover.com/click/here.pl?x16166376
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16166376" var dump complete.
58
adding article _16166376(14), key=HEADLINE_TEXT, data=Australias Economy Shrank 0.6% in Fourth-Quarter (Correct)
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(58) "Australias Economy Shrank 0.6% in Fourth-Quarter (Correct)" var dump complete.
13
adding article _16166376(14), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16166376(14), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16166376(14), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
39
adding article _16166376(14), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/index.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(39) "http://www.bloomberg.com/bbn/index.html" var dump complete.
19
adding article _16166376(14), key=HARVEST_TIME, data=Mar 7 2001 2:02AM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16166376" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 2:02AM" var dump complete.
45
adding article _16164152(15), key=URL, data=http://c.moreover.com/click/here.pl?x16164152
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16164152" var dump complete.
43
adding article _16164152(15), key=HEADLINE_TEXT, data=Poll: Virginians upbeat about state economy
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(43) "Poll: Virginians upbeat about state economy" var dump complete.
18
adding article _16164152(15), key=SOURCE, data=New Journal Online
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(18) "New Journal Online" var dump complete.
4
adding article _16164152(15), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16164152(15), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
36
adding article _16164152(15), key=DOCUMENT_URL, data=http://cold.jrnl.com/cfdocs/new/ffx/
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(36) "http://cold.jrnl.com/cfdocs/new/ffx/" var dump complete.
19
adding article _16164152(15), key=HARVEST_TIME, data=Mar 6 2001 8:29PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16164152" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 8:29PM" var dump complete.
45
adding article _16163432(16), key=URL, data=http://c.moreover.com/click/here.pl?x16163432
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16163432" var dump complete.
61
adding article _16163432(16), key=HEADLINE_TEXT, data=U.S. Economy: 4th-Qtr Productivity Rises at Revised 2.2% Rate
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(61) "U.S. Economy: 4th-Qtr Productivity Rises at Revised 2.2% Rate" var dump complete.
13
adding article _16163432(16), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16163432(16), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16163432(16), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
39
adding article _16163432(16), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/index.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(39) "http://www.bloomberg.com/bbn/index.html" var dump complete.
19
adding article _16163432(16), key=HARVEST_TIME, data=Mar 6 2001 8:06PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16163432" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 8:06PM" var dump complete.
45
adding article _16161936(17), key=URL, data=http://c.moreover.com/click/here.pl?x16161936
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16161936" var dump complete.
71
adding article _16161936(17), key=HEADLINE_TEXT, data=U.K. Budget to Predict Economy Will Survive U.S. Slowdown, Analysts Say
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(71) "U.K. Budget to Predict Economy Will Survive U.S. Slowdown, Analysts Say" var dump complete.
13
adding article _16161936(17), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16161936(17), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16161936(17), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
42
adding article _16161936(17), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/politics.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(42) "http://www.bloomberg.com/bbn/politics.html" var dump complete.
19
adding article _16161936(17), key=HARVEST_TIME, data=Mar 6 2001 6:58PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16161936" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 6:58PM" var dump complete.
45
adding article _16159728(18), key=URL, data=http://c.moreover.com/click/here.pl?x16159728
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16159728" var dump complete.
62
adding article _16159728(18), key=HEADLINE_TEXT, data=Yen Gains as Nikkei Rallies, Officials Seen Bolstering Economy
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(62) "Yen Gains as Nikkei Rallies, Officials Seen Bolstering Economy" var dump complete.
13
adding article _16159728(18), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16159728(18), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16159728(18), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
39
adding article _16159728(18), key=DOCUMENT_URL, data=http://www.bloomberg.com/bbn/index.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(39) "http://www.bloomberg.com/bbn/index.html" var dump complete.
19
adding article _16159728(18), key=HARVEST_TIME, data=Mar 6 2001 6:05PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16159728" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 6:05PM" var dump complete.
45
adding article _16158503(19), key=URL, data=http://c.moreover.com/click/here.pl?x16158503
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16158503" var dump complete.
72
adding article _16158503(19), key=HEADLINE_TEXT, data=Despite dour forecasts, Virginians upbeat about state economy, poll says
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(72) "Despite dour forecasts, Virginians upbeat about state economy, poll says" var dump complete.
25
adding article _16158503(19), key=SOURCE, data=Bluefield Daily Telegraph
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(25) "Bluefield Daily Telegraph" var dump complete.
4
adding article _16158503(19), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16158503(19), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
43
adding article _16158503(19), key=DOCUMENT_URL, data=http://www.zwire.com/site/news.cfm?brd=2088
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(43) "http://www.zwire.com/site/news.cfm?brd=2088" var dump complete.
19
adding article _16158503(19), key=HARVEST_TIME, data=Mar 6 2001 4:27PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16158503" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 4:27PM" var dump complete.
45
adding article _16155391(20), key=URL, data=http://c.moreover.com/click/here.pl?x16155391
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16155391" var dump complete.
74
adding article _16155391(20), key=HEADLINE_TEXT, data=United Kingdom:: Foot and Mouth Disease -- How Serious for the UK Economy?
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(74) "United Kingdom:: Foot and Mouth Disease -- How Serious for the UK Economy?" var dump complete.
26
adding article _16155391(20), key=SOURCE, data=Morgan Stanley Dean Witter
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(26) "Morgan Stanley Dean Witter" var dump complete.
4
adding article _16155391(20), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16155391(20), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
15
adding article _16155391(20), key=TAGLINE, data=United Kingdom:
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(7) "TAGLINE" dumping [dummy_var]
string(15) "United Kingdom:" var dump complete.
54
adding article _16155391(20), key=DOCUMENT_URL, data=http://www.msdw.com/GEFdata/digests/latest-digest.html
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(54) "http://www.msdw.com/GEFdata/digests/latest-digest.html" var dump complete.
19
adding article _16155391(20), key=HARVEST_TIME, data=Mar 6 2001 3:32PM
Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
string(9) "_16155391" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 6 2001 3:32PM" var dump complete.

Parse Finished, dumping vars...

Doing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
NULL 
dumping [current_tag]
NULL dumping [dummy_var]
string(17) "My Dummy Variable" var dump complete.
Doing dump...


There are 0 articles
DoneDoing var dump
dumping [parser]
resource(1) of type (xml) 
dumping [article_count]
dumping [current_article]
NULL 
dumping [current_tag]
NULL dumping [dummy_var]
string(17) "My Dummy Variable" var dump complete.



Output under php-4.0b4pl1 follows:

45
adding article _16171893(1), key=URL, data=http://c.moreover.com/click/here.pl?x16171893
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16171893" var dump complete.
66
adding article _16171893(1), key=HEADLINE_TEXT, data=Development: Indias new budget focuses on liberalizing its economy
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(66) "Development: Indias new budget focuses on liberalizing its economy" var dump complete.
11
adding article _16171893(1), key=SOURCE, data=Earth Times
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(11) "Earth Times" var dump complete.
4
adding article _16171893(1), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16171893(1), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
11
adding article _16171893(1), key=TAGLINE, data=Development
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(7) "TAGLINE" dumping [dummy_var]
string(11) "Development" var dump complete.
44
adding article _16171893(1), key=DOCUMENT_URL, data=http://www.earthtimes.org/currentedition.htm
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(44) "http://www.earthtimes.org/currentedition.htm" var dump complete.
19
adding article _16171893(1), key=HARVEST_TIME, data=Mar 7 2001 6:19AM
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171893" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 6:19AM" var dump complete.
45
adding article _16171393(2), key=URL, data=http://c.moreover.com/click/here.pl?x16171393
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16171393" var dump complete.
63
adding article _16171393(2), key=HEADLINE_TEXT, data=Australia Central Bank Cuts Rate as Economy Contracts (Update1)
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(63) "Australia Central Bank Cuts Rate as Economy Contracts (Update1)" var dump complete.
13
adding article _16171393(2), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16171393(2), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16171393(2), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
24
adding article _16171393(2), key=DOCUMENT_URL, data=http://www.bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(24) "http://www.bloomberg.com" var dump complete.
19
adding article _16171393(2), key=HARVEST_TIME, data=Mar 7 2001 6:06AM
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16171393" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 6:06AM" var dump complete.
45
adding article _16169577(3), key=URL, data=http://c.moreover.com/click/here.pl?x16169577
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16169577" var dump complete.
60
adding article _16169577(3), key=HEADLINE_TEXT, data=Alston blames international influence for Aus economy status
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(60) "Alston blames international influence for Aus economy status" var dump complete.
10
adding article _16169577(3), key=SOURCE, data=ABC Online
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(10) "ABC Online" var dump complete.
4
adding article _16169577(3), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16169577(3), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
47
adding article _16169577(3), key=DOCUMENT_URL, data=http://www.abc.net.au/news/newslink/default.htm
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(47) "http://www.abc.net.au/news/newslink/default.htm" var dump complete.
19
adding article _16169577(3), key=HARVEST_TIME, data=Mar 7 2001 4:52AM
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169577" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:52AM" var dump complete.
45
adding article _16169531(4), key=URL, data=http://c.moreover.com/click/here.pl?x16169531
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16169531" var dump complete.
61
adding article _16169531(4), key=HEADLINE_TEXT, data=PM says economy has been strengthened despite negative growth
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(61) "PM says economy has been strengthened despite negative growth" var dump complete.
10
adding article _16169531(4), key=SOURCE, data=ABC Online
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(10) "ABC Online" var dump complete.
4
adding article _16169531(4), key=MEDIA_TYPE, data=text
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(10) "MEDIA_TYPE" dumping [dummy_var]
string(4) "text" var dump complete.
11
adding article _16169531(4), key=CLUSTER, data=moreover...
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(7) "CLUSTER" dumping [dummy_var]
string(11) "moreover..." var dump complete.
47
adding article _16169531(4), key=DOCUMENT_URL, data=http://www.abc.net.au/news/newslink/default.htm
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(12) "DOCUMENT_URL" dumping [dummy_var]
string(47) "http://www.abc.net.au/news/newslink/default.htm" var dump complete.
19
adding article _16169531(4), key=HARVEST_TIME, data=Mar 7 2001 4:52AM
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16169531" 
dumping [current_tag]
string(12) "HARVEST_TIME" dumping [dummy_var]
string(19) "Mar 7 2001 4:52AM" var dump complete.
45
adding article _16168847(5), key=URL, data=http://c.moreover.com/click/here.pl?x16168847
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(3) "URL" dumping [dummy_var]
string(45) "http://c.moreover.com/click/here.pl?x16168847" var dump complete.
72
adding article _16168847(5), key=HEADLINE_TEXT, data=Australias Economy Shrinks 0.6% in Fourth Quarter; First Time Since 1991
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(13) "HEADLINE_TEXT" dumping [dummy_var]
string(72) "Australias Economy Shrinks 0.6% in Fourth Quarter; First Time Since 1991" var dump complete.
13
adding article _16168847(5), key=SOURCE, data=Bloomberg.com
Doing var dump
dumping [parser]
resource(1) of type 6 
dumping [article_count]
dumping [current_article]
string(9) "_16168847" 
dumping [current_tag]
string(6) "SOURCE" dumping [dummy_var]
string(13) "Bloomberg.com" var dump complete.
4
adding article _16168847(5), key=MEDIA_TYPE, data=text
Doing var dump
dumpi

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-14 09:55 UTC] lobbin@php.net
Is this valid on 4.1.1?
 [2002-02-15 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-06-22 07:56 UTC] cox@php.net
It's a must to create the object by reference:

$xml_parser = &new CNewsHarvest();


Tomas V.V.Cox
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 07:01:24 2020 UTC