summaryrefslogtreecommitdiff
path: root/Zend/tests/bug53971.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2011-02-14 08:46:53 +0000
committerDmitry Stogov <dmitry@php.net>2011-02-14 08:46:53 +0000
commitb84967d3e2c85e2b20f86cf3cb05b10ea53cc939 (patch)
treea9b573d5198807145193d3cd2641f58f673ba385 /Zend/tests/bug53971.phpt
parentf912a2d0879b9a66456b9c9040a15367abb2901f (diff)
downloadphp-git-b84967d3e2c85e2b20f86cf3cb05b10ea53cc939.tar.gz
Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error)
Diffstat (limited to 'Zend/tests/bug53971.phpt')
-rw-r--r--Zend/tests/bug53971.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/bug53971.phpt b/Zend/tests/bug53971.phpt
new file mode 100644
index 0000000000..a1e66cc51e
--- /dev/null
+++ b/Zend/tests/bug53971.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Bug #53971 (isset() and empty() produce apparently spurious runtime error)
+--FILE--
+<?php
+$s = "";
+var_dump(isset($s[0][0]));
+?>
+--EXPECT--
+bool(false)
+
+