Skip to content

Commit

Permalink
Test case for phalcon#2829
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Sep 22, 2014
1 parent 1f9518e commit 2e0c7a2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ext/tests/issue-2829.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--TEST--
Uncaught exception causes memory corruption on shutdown - https://github.com/phalcon/cphalcon/issues/2829
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
throw new \Exception("Hi!");
?>
--EXPECTF--
Fatal error: Uncaught exception 'Exception' with message 'Hi!' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d

0 comments on commit 2e0c7a2

Please sign in to comment.