Ticket #314 (closed defect: duplicate)

Opened 2 years ago

Last modified 15 months ago

exceptions not catched

Reported by: tsing Owned by: 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

comment:1 Changed 16 months ago by bart

  • Status changed from new to closed
  • Resolution set to duplicate

I think this bug is the same as #291

comment:2 Changed 15 months ago 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 Charm Links of London Bracelet

Note: See TracTickets for help on using tickets.