summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/tests/normal_exit.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/tests/normal_exit.phpt')
-rw-r--r--sapi/phpdbg/tests/normal_exit.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/sapi/phpdbg/tests/normal_exit.phpt b/sapi/phpdbg/tests/normal_exit.phpt
new file mode 100644
index 0000000000..692614e98f
--- /dev/null
+++ b/sapi/phpdbg/tests/normal_exit.phpt
@@ -0,0 +1,15 @@
+--TEST--
+A script with die() must end "normally"
+--PHPDBG--
+r
+q
+--EXPECTF--
+[Successful compilation of %s]
+prompt> [Script ended normally]
+prompt>
+--FILE--
+<?php
+
+(function($argv) {
+ die();
+})($argv);