Date: 12/12/00
- Next message: Stig S. Bakken: "Re: [PHP-DEV] short_open_tag"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everyone,
I discovered a very strange behaviour of PHP. My php-module returns objects
containing simple variables and two-dimensional arrays and arrays of
objects. The result objects are O.K. (as var_dump tells me), BUT when I want
to access some of the properties (especially the arrays) I get segmentation
faults, sometimes even when I assign parts of the object to another variable
(like $dummy = $myresult->square ).
Moreover it seems that PHP does not like expressions like
"$test=$result->square[$i]->property" while "$dummy=$result->square;
test=$dummy[$i]" works without a segmentation violation ...
Any clues ???
Thanks in advance
CHris
-- Christian Niss Avinci Region Mitte GmbH tel. +49(178)8855-617 The Know How Company fax. +49(178)998855-617 mailto:christian.niss <email protected> http://www.avinci.de
- Next message: Stig S. Bakken: "Re: [PHP-DEV] short_open_tag"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

