[Binari] Fwd: BOGAS: Deprecated: Assigning the return value of new by reference

can somebody comment on this? L. -------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be> Dear Lieven, After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in<filename>" After googling I've found that it's because in the current last version of php the construction like $something =& new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL& ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake. Yours truly, ao P.S. how about the full Bogas file to make a direct link to a locus page?

he means that the BOGAS staff is deprecated and that you will be replaced by the next update Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in <filename>" After googling I've found that it's because in the current last version of php the construction like $something = & new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL & ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
------------------------------------------------------------------------
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- ================================================================== Frederik Delaere Tel:+32 (0)9 331 38 14 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM frlae@psb.vib-ugent.be http://www.psb.vib-ugent.be ==================================================================

Avoid PHP references wherever possible. That's my advise :-) Frederik Delaere wrote:
he means that the BOGAS staff is deprecated and that you will be replaced by the next update
Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in <filename>" After googling I've found that it's because in the current last version of php the construction like $something = & new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL & ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
------------------------------------------------------------------------
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- ================================================================== Michiel Van Bel PhD student Tel:+32 (0)9 331 36 95 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM mibel@psb.vib-ugent.be http://www.psb.vib-ugent.be http://bioinformatics.psb.ugent.be ================================================================== "Humans need fantasy to be human. To be the place where the falling angel meets the rising ape." - T. Pratchett

Sorry I had to: Java for the win! Michiel Van Bel wrote:
Avoid PHP references wherever possible. That's my advise :-)
Frederik Delaere wrote:
he means that the BOGAS staff is deprecated and that you will be replaced by the next update
Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in <filename>" After googling I've found that it's because in the current last version of php the construction like $something = & new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL & ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
------------------------------------------------------------------------
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Systems Biology Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 Website: http://bioinformatics.psb.ugent.be

Op 16-11-10 14:47, Sofie Van Landeghem schreef:
Sorry I had to:
Java for the win!
Amen! But try and write a complete website in java/jsp and you'll go and run screaming to PHP. T.
Michiel Van Bel wrote:
Avoid PHP references wherever possible. That's my advise :-)
Frederik Delaere wrote:
he means that the BOGAS staff is deprecated and that you will be replaced by the next update
Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov<aosypov@gmail.com> To: Lieven Sterck<lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in<filename>" After googling I've found that it's because in the current last version of php the construction like $something =& new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL& ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
-- ================================================================== Thomas Van Parys Tel:+32 (0)9 331 36 95 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM thomas.vanparys@psb.vib-ugent.be http://bioinformatics.psb.ugent.be ==================================================================

Thomas Van Parys wrote:
Op 16-11-10 14:47, Sofie Van Landeghem schreef:
Sorry I had to:
Java for the win!
Amen!
But try and write a complete website in java/jsp and you'll go and run screaming to PHP.
T.
Or you simply stop developing the website (genefetch) further :p -- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Systems Biology Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 Website: http://bioinformatics.psb.ugent.be

memory OMNOMNOMNOMNOM :p Sofie Van Landeghem wrote:
Sorry I had to:
Java for the win!
Michiel Van Bel wrote:
Avoid PHP references wherever possible. That's my advise :-)
Frederik Delaere wrote:
he means that the BOGAS staff is deprecated and that you will be replaced by the next update
Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in <filename>" After googling I've found that it's because in the current last version of php the construction like $something = & new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL & ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
------------------------------------------------------------------------
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Systems Biology Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 Website: http://bioinformatics.psb.ugent.be
------------------------------------------------------------------------
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- ================================================================== Frederik Delaere Tel:+32 (0)9 331 38 14 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM frlae@psb.vib-ugent.be http://www.psb.vib-ugent.be ==================================================================

wut? On 16/11/2010 14:03, Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in<filename>" After googling I've found that it's because in the current last version of php the construction like $something =& new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL& ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari

i have a few ideas yes: 1. Dear Alexander, Deprecation is a problem that falls upon us all one day sooner or later. As we are running outdated versions of php here because we are using redhat, i had never encountered this problem. As you are the true discoverer of the issue, i'll allow you to fix all deprecated references. in return, you'll get the honor of being in a comment section somewhere in my code. 2. Dear Alexander, Please focus on getting your bogas working first, before nagging about these things. as a fan of metaphors, i'd say your problem compares to this like aids compares to the flue. 3. wat je wsl echt wou weten wsl: ja, het kan idd naar de toekomst to een probleem worden. de miserie is dat veel van die dingen ook in cakephp zitten, en upgraden van cakephp 1.2 naar 1.3 is niet zo evident :-) dus voorlopig nog even uitstellen, en de dag dat IT zegt dat ze morgen php gaan upgraden, hevig protesteren en mij erbij roepen :-). On 11/16/2010 02:03 PM, Lieven Sterck wrote:
can somebody comment on this?
L.
-------- Original Message -------- Subject: BOGAS: Deprecated: Assigning the return value of new by reference Date: Wed, 10 Nov 2010 18:08:30 +0300 From: Alexander Osypov <aosypov@gmail.com> To: Lieven Sterck <lieven.sterck@psb.vib-ugent.be>
Dear Lieven,
After I installed Bogas on my new system on the notebook, it issued many commentaries looking like this: "Deprecated: Assigning the return value of new by reference is deprecated in <filename>" After googling I've found that it's because in the current last version of php the construction like $something = & new Something_else(); with the ampersand is deprecated. And the cake (and some Bogas staff) is full of them. adding "& ~E_DEPRECATED" to "error_reporting(E_ALL)" helps the situation now: error_reporting(E_ALL & ~E_DEPRECATED); but beware of it - it may be not in the future. Think of fixing it in your code and switching to a new Cake.
Yours truly, ao
P.S. how about the full Bogas file to make a direct link to a locus page?
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- ================================================================== Marijn Vandevoorde Tel:+32 (0)9 331 36 95 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM mavoo@psb.vib-ugent.be http://www.psb.vib-ugent.be ==================================================================
participants (7)
-
Frederik Delaere
-
Lieven Sterck
-
Marijn Vandevoorde
-
Michiel Van Bel
-
Sofie Van Landeghem
-
Thomas Abeel
-
Thomas Van Parys