diff options
Diffstat (limited to 'php/test/Ice/slicing/exceptions/Client.php')
-rw-r--r-- | php/test/Ice/slicing/exceptions/Client.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/test/Ice/slicing/exceptions/Client.php b/php/test/Ice/slicing/exceptions/Client.php index fc818c09d99..db410f4366a 100644 --- a/php/test/Ice/slicing/exceptions/Client.php +++ b/php/test/Ice/slicing/exceptions/Client.php @@ -16,7 +16,8 @@ function test($b) if(!$b) { $bt = debug_backtrace(); - die("\ntest failed in ".$bt[0]["file"]." line ".$bt[0]["line"]."\n"); + echo "\ntest failed in ".$bt[0]["file"]." line ".$bt[0]["line"]."\n"; + exit(1); } } |