summaryrefslogtreecommitdiff
path: root/Zend/tests/bug29015.phpt
blob: 2b116383ff4dda08cb0b678f8d205ca4475c0913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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: Uncaught EngineException: Cannot access empty property in %sbug29015.php:4
Stack trace:
#0 {main}
  thrown in %sbug29015.php on line 4