Ticket #314 (closed defect: duplicate)

Opened 2 years ago

Last modified 10 months ago

exceptions not catched

Reported by: tsing Assigned to: somebody
Priority: major Milestone:
Component: eAccelerator Version:
Keywords: Cc:

Description

thrown exeception not works, if it is defined in an while loop.

code:

<?php
$i = 0;
try {
    while (true) {
        $i++;
        if ($i > 10) {
            throw new Exception('if you see this, that\'s perfect.');
        }
    }
} catch (Exception $e) {
    echo $e->getMessage() . "\n";
}

the code above will not stop when $i > 10.

the bug exists in 0.9.5.2 and 0.9.5.3, other version not tested.

Change History

05/06/09 21:15:39 changed by bart

  • status changed from new to closed.
  • resolution set to duplicate.

I think this bug is the same as #291

05/27/09 09:28:35 changed by linksoflondon

links of london is here.links of london Links of London - This exquisite range is available from our online shop as well as free delivery on all orders– Visit us now! Links of London, Pandora and Links of London is one of the best online jewelry stores. A wide selection of fine quality gold, silver and diamond including Links of London CharmLinks of London Bracelet