bug29015.phpt 268 B

1234567891011
  1. --TEST--
  2. Bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
  3. --FILE--
  4. <?php
  5. $a = new stdClass();
  6. $x = "";
  7. $a->$x = "string('')";
  8. var_dump($a);
  9. ?>
  10. --EXPECTF--
  11. Fatal error: Cannot access empty property in %sbug29015.php on line 4