summaryrefslogtreecommitdiff
path: root/Zend/tests/bug29015.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug29015.phpt')
-rw-r--r--Zend/tests/bug29015.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/bug29015.phpt b/Zend/tests/bug29015.phpt
new file mode 100644
index 000000000..6c18ab8a0
--- /dev/null
+++ b/Zend/tests/bug29015.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
+--FILE--
+<?php
+$a = new stdClass();
+$x = "";
+$a->$x = "string('')";
+var_dump($a);
+?>
+--EXPECTF--
+Fatal error: Cannot access empty property in %sbug29015.php on line 4