Here's what I'd change in PHP if could:
This will prevent a lot of mistakes that could be hard to debug or lead to security holes.Code:var $newvar = 1;
2. Remove extract(), compact(), register_globals, the global keyword (maybe keep $_GLOBALS).
3. Think about object literals. Ideally they would create new objects of class stdClass or something.
PS. I don't like many of the previous suggestions. If there's already a way to do it in PHP then why not leave it as is, for example $this->something is perfectly fine and it's not as if #something saves any actual lines of code (in this instance, I'd say it makes it less intuitive as well).