#43231 [Asn]: array-based callback syntax is overly E_STRICT

2008-01-16 Thread chagenbu
 ID:   43231
 Updated by:   [EMAIL PROTECTED]
 Reported By:  chuck at horde dot org
 Status:   Assigned
 Bug Type: Scripting Engine problem
 Operating System: MacOS 10.4
 PHP Version:  5.3CVS-2007-11-10 (CVS)
 Assigned To:  johannes
 New Comment:

Ping?


Previous Comments:


[2007-11-25 20:08:47] [EMAIL PROTECTED]

Just a reminder on this, since you said you already had the patch?



[2007-11-14 08:03:15] [EMAIL PROTECTED]

And this is HEAD issue too, that's where I simply MFH'd the stuff that
broke this. :)



[2007-11-10 10:32:31] [EMAIL PROTECTED]

I already have a patch for that, will commit that once I'll boot the
other system



[2007-11-10 03:20:27] chuck at horde dot org

Description:

The callback syntax of array('classname', 'methodname') for making
static method calls is now enforcing E_STRICT even if E_STRICT is not
on. So methods that are not explicitly declared static can't be used
this way even with E_STRICT off. Putting static in front of the function
makes it work, but of course results in a parse error when the code is
run under PHP 4.

Reproduce code:
---
http://bugs.php.net/?id=43231&edit=1


#43231 [Asn]: array-based callback syntax is overly E_STRICT

2007-11-25 Thread chagenbu
 ID:   43231
 Updated by:   [EMAIL PROTECTED]
 Reported By:  chuck at horde dot org
 Status:   Assigned
 Bug Type: Scripting Engine problem
 Operating System: MacOS 10.4
 PHP Version:  5.3CVS-2007-11-10 (CVS)
 Assigned To:  johannes
 New Comment:

Just a reminder on this, since you said you already had the patch?


Previous Comments:


[2007-11-14 08:03:15] [EMAIL PROTECTED]

And this is HEAD issue too, that's where I simply MFH'd the stuff that
broke this. :)



[2007-11-10 10:32:31] [EMAIL PROTECTED]

I already have a patch for that, will commit that once I'll boot the
other system



[2007-11-10 03:20:27] chuck at horde dot org

Description:

The callback syntax of array('classname', 'methodname') for making
static method calls is now enforcing E_STRICT even if E_STRICT is not
on. So methods that are not explicitly declared static can't be used
this way even with E_STRICT off. Putting static in front of the function
makes it work, but of course results in a parse error when the code is
run under PHP 4.

Reproduce code:
---
http://bugs.php.net/?id=43231&edit=1


#43231 [Asn]: array-based callback syntax is overly E_STRICT

2007-11-14 Thread jani
 ID:   43231
 Updated by:   [EMAIL PROTECTED]
 Reported By:  chuck at horde dot org
 Status:   Assigned
 Bug Type: Scripting Engine problem
 Operating System: MacOS 10.4
 PHP Version:  5.3CVS-2007-11-10 (CVS)
 Assigned To:  johannes
 New Comment:

And this is HEAD issue too, that's where I simply MFH'd the stuff that
broke this. :)


Previous Comments:


[2007-11-10 10:32:31] [EMAIL PROTECTED]

I already have a patch for that, will commit that once I'll boot the
other system



[2007-11-10 03:20:27] chuck at horde dot org

Description:

The callback syntax of array('classname', 'methodname') for making
static method calls is now enforcing E_STRICT even if E_STRICT is not
on. So methods that are not explicitly declared static can't be used
this way even with E_STRICT off. Putting static in front of the function
makes it work, but of course results in a parse error when the code is
run under PHP 4.

Reproduce code:
---
http://bugs.php.net/?id=43231&edit=1