Re: [PHP4BETA] Modification of non-referenced parameters possible
| From: | Till Gerken | Date: | Sun, 12 Mar 2000 22:05:21 +0000 |
| Subject: | Re: [PHP4BETA] Modification of non-referenced parameters possible | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11992@lists.php.net to get a copy of this message | ||
> > pval **parameter;
> > zend_get_parameters_ex(1, ¶meter);
> > (*parameter)->value.lval = 2;
>
> You are not allowed to change parameters you use the _ex() functions on.
> They are read-only! If you want to change your parameters, then please use
> the non-ex functions.
In case I'm going to use the convert_to_*_ex() functions or do a
pval_copy_constructor() on parameters retrieved with the _ex() API, will
modifications be possible after that?
Till