Re: [PHP] Reading class variable value always returns NULL

2012-08-15 Thread Reto Kaiser
at 11:52 PM, Reto Kaiser r...@cargomedia.ch wrote: Hey, We have: error_reporting((E_ALL | E_STRICT) ~(E_NOTICE | E_USER_NOTICE)); Displaying errors is disabled: display_errors = Off We have a custom error handler which logs all errors to a file. In this file we receive byeffect errors, like

Re: [PHP] Reading class variable value always returns NULL

2012-08-14 Thread Reto Kaiser
On Mon, Aug 13, 2012 at 5:09 PM, Robert Cummings rob...@interjinn.com wrote: On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The class has one variable declared: = class

Re: [PHP] Reading class variable value always returns NULL

2012-08-14 Thread Reto Kaiser
Hi, We have since deployed another webserver machine and observe the exact same behavior there. So it is not a hardware problem. We have also disabled various php modules, but this didn't help either. Any debug suggestions are welcome! :) Reto On Tue, Aug 14, 2012 at 10:40 AM, Reto Kaiser r

Re: [PHP] Reading class variable value always returns NULL

2012-08-14 Thread Reto Kaiser
! Thanks, Reto On Tue, Aug 14, 2012 at 11:11 PM, Jim Lucas li...@cmsws.com wrote: On 08/12/2012 05:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. Does anyone have an idea what could cause

[PHP] Reading class variable value always returns NULL

2012-08-12 Thread Reto Kaiser
Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The class has one variable declared: = class A { private $_cookies; } = In a method of this class I assign this classvariable plus an undeclared