PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » Services_Google » Bug #2164

Apache error while running sample?

Details

Submitted2004-08-19 18:30 UTC
Frommichael dot klink at no-limits dot net
Assignedjellybob
StatusBogus
PackageServices_Google
PHP Version5.0.0RC3 (Release Candidate 3)
OSWin XP
Roadmaps(Not assigned)

Comments

[2004-08-19 18:30 UTC] michael dot klink at no-limits dot net

Description:
------------
If I try to run the example an Apache error occured in 0x0070dd3c.

Reproduce code:
---------------
$this -> system = $this -> SystemConfig();
$this -> id4google = $this -> system[root][config][modules][websearch][google][id];
$this -> google = new Services_Google($id4google);
$this -> google -> queryOptions['limit'] = 100;
$this -> google -> search($this -> search);
foreach($this -> google as $this -> key => $this -> result) {
echo $this -> key."\t".$this -> result -> title."\n";
}

Expected result:
----------------
unkown apache error?

[2004-08-24 22:08 UTC] jellybob at gmail dot com

I don't think this is a bug in Services_Google, since when run without your object references, this code appears to run with no problems.

If you can provide some more detail, it may be possible to trace the error, but it looks like a bug in your code.

[2004-08-24 23:45 UTC] jellybob at gmail dot com

Ok, I think I have the problem now - are you using 5.0.1 and selected the highest available version?

I just upgraded, and it does the same thing for me.

[2004-08-25 04:54 UTC] michael dot klink at no-limits dot net

Yes, that's right I'm using the php version 5.0.1. Is there a problem within 5.0.1?

[2004-11-07 20:12 UTC] jellybob at gmail dot com

It appears that this is a bug in the Zend optimizer, which will segfault if you attempt to use any code which implements an interface.