summaryrefslogtreecommitdiff
path: root/php/test/Slice/keyword/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/test/Slice/keyword/Client.php')
-rw-r--r--php/test/Slice/keyword/Client.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/test/Slice/keyword/Client.php b/php/test/Slice/keyword/Client.php
index 54075d97017..84da5378948 100644
--- a/php/test/Slice/keyword/Client.php
+++ b/php/test/Slice/keyword/Client.php
@@ -34,7 +34,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);
}
}