bug52484_3.phpt   [plain text]


--TEST--
Bug #52484.3 (__set() ignores setting properties with empty names)
--FILE--
<?php

class A {	
	function __get($prop) {
		var_dump($this->$prop);
	}
}

$a = new A();
$prop = null;

var_dump($a->$prop);

?>
--EXPECTF--
Fatal error: Cannot access empty property in %s on line %d