Re: Bug #10496: segfault on parse error
| From: | teo at gecadsoftware dot com | Date: | Wed, 25 Apr 2001 20:52:24 +0000 |
| Subject: | Re: Bug #10496: segfault on parse error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52435@lists.php.net to get a copy of this message | ||
Hi php-dev!
On Wed, 25 Apr 2001, teo@gecadsoftware.com wrote:
> From: teo@gecadsoftware.com
> Operating system: SuSE7.0
> PHP version: 4.0.4pl1
> PHP Bug Type: Scripting Engine problem
> Bug description: segfault on parse error
>
> Given the complexity of the whole app, I couldn't make a small script.
> The offending code was:
correction
- $tplBoxes = array ();
[it was for tracing it]
+ $tplBoxes = $req->getAttribute('Boxes');
[returning an array with data]
> <?php foreach ($tplBoxes as $box) {
> <option
> value="<?=$box['idb']?>"><?=$box['title']?></option>
> <?php } ?>
-- teodor