Re: get_properties VS ce.default_properties
| From: | Pierre | Date: | Mon, 19 Feb 2007 17:07:22 +0000 |
| Subject: | Re: get_properties VS ce.default_properties | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4571@lists.php.net to get a copy of this message | ||
On 2/19/07, Piotr Pokora <piotrek.pokora@gmail.com> wrote:
Pierre <pierre.php@gmail.com> wrote: What you do or not does matter in most cases. For example, you have to call the parent constructor. Yeah , but I also should take into account other user's code. However PHP code is written , segfault should not happen. I think it's solveable by adding zend_objects_store's wrapper which initilize underlying data in case when PHP programmer makes any mistake (e.g. does not invoke parent's constructor).Just for the record, it does work if you use the latest version of pecl/swishe, with or without calling the parent constructor. --Pierre