Php 5.4 compatibility

Removed the ampersand for php 5.4 and greater. Creates a notice error and fills php error logs. Added compatibility for older versions of php (which shouldn't be used)
Merge pull request #52 from codep0et/trunk

Php 5.4 compatibility