note 97515 added to function.error-reporting

From: Date: Fri, 23 Apr 2010 14:21:48 +0000
Subject: note 97515 added to function.error-reporting
Groups: php.notes 
Request: Send a blank email to php-notes+get-168566@lists.php.net to get a copy of this message
I am running PHP Version 5.3.1 The following is my very simple script: <?php error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); class SomeClass { function SomeClass() { } } $class =& new SomeClass(); ?> And I still get the error: Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/test.php on line 9 Am I doing something terribly wrong??? It's really fustrating that the PHP developers would introduce such a deprecated features without providing a way for many projects to disable these errors until they can work through all their code! ---- Server IP: 69.147.83.197 Probable Submitter: 203.208.103.12 ---- Manual Page -- http://www.php.net/manual/en/function.error-reporting.php Edit -- https://master.php.net/note/edit/97515 Del: integrated -- https://master.php.net/note/delete/97515/integrated Del: useless -- https://master.php.net/note/delete/97515/useless Del: bad code -- https://master.php.net/note/delete/97515/bad+code Del: spam -- https://master.php.net/note/delete/97515/spam Del: non-english -- https://master.php.net/note/delete/97515/non-english Del: in docs -- https://master.php.net/note/delete/97515/in+docs Del: other reasons-- https://master.php.net/note/delete/97515 Reject -- https://master.php.net/note/reject/97515 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168566) next »