summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug27443.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lang/bug27443.phpt b/tests/lang/bug27443.phpt
new file mode 100644
index 0000000000..409794331b
--- /dev/null
+++ b/tests/lang/bug27443.phpt
@@ -0,0 +1,8 @@
+--TEST--
+Bug #27443 (defined() returns wrong type)
+--FILE--
+<?php
+echo gettype(defined('test'));
+?>
+--EXPECT--
+boolean