No need to post it as a bug. I'll look into it.
Thanks.
At 11:51 AM 3/15/2004 -0500, Hans Lellelid wrote:
Here's a script to reproduce the problem w/ static callbacks.
The problem only seems to happen when the function calling the static
function using preg_replace_callback() is not declared 'sta
Here's a script to reproduce the problem w/ static callbacks.
The problem only seems to happen when the function calling the static
function using preg_replace_callback() is not declared 'static' itself,
but is accessed as a static function. Also, this only happens when being
called from anothe
At 11:21 AM 3/15/2004 -0500, Hans Lellelid wrote:
obj == null checks now trigger E_NOTICE
class Foo {
}
$t = new Foo();
if ($t == null) {
}
Notice - Object of class Foo could not be converted to boolean
Changing the comparison to $t === null makes the notice go away. Is this
intended? If not
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
Can you do a reverse apply of the following diff and let me know if it
fixes the problem?
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.274&r2=1.275&ty=u
No, it doesn't.
At 05:04 PM 3/15/2004 +0100, Jan Schneider wrote:
Hi,
before rep
obj == null checks now trigger E_NOTICE
class Foo {
}
$t = new Foo();
if ($t == null) {
}
Notice - Object of class Foo could not be converted to boolean
Changing the comparison to $t === null makes the notice go away. Is
this intended? If not I can post it as a bug report.
Thanks,
Hans
--
PH
Can you do a reverse apply of the following diff and let me know if it
fixes the problem?
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.274&r2=1.275&ty=u
Thanks,
Andi
At 05:04 PM 3/15/2004 +0100, Jan Schneider wrote:
Hi,
before reporting a bug, I want to make sure that this i
I was just about to post the same bug ...
Except that I couldn't quite build a reproducing testcase. I get
exactly the same message in my code, but when I created a small static
class to reproduce the problem it seems to work fine ... (static or
non-static or mixture)
Hans
Jan Schneider wrot
Hi,
before reporting a bug, I want to make sure that this is no intentional
change. Are static methods no longer supported as callbacks?
preg_replace_callback('/some pattern/', array('MyClass', 'Method'),
$subject)
raises a warning atm:
Unable to call custom replacement function in ...
Jan.
--
At 10:07 AM 3/15/2004 -0500, Hans Lellelid wrote:
I notice that in the new RC1, the following reference to class constants
is no longer possible:
class MyClass {
const MY_CONST = 1;
function __construct() {
echo MY_CONST;
}
}
You must now use self::MY_CONST
I notice that in the new RC1, the following reference to class constants
is no longer possible:
class MyClass {
const MY_CONST = 1;
function __construct() {
echo MY_CONST;
}
}
You must now use self::MY_CONST to reference the class constant. While
I c
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I fixed get_object_vars() a couple of days ago. Can you check if this still
occurs?
No, that seems to have fixed it, thanks!
At 01:52 PM 3/15/2004 +0100, Jan Schneider wrote:
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I will roll RC1 on the 17th so if
I fixed get_object_vars() a couple of days ago. Can you check if this still
occurs?
Andi
At 01:52 PM 3/15/2004 +0100, Jan Schneider wrote:
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I will roll RC1 on the 17th so if there are "serious" show stoppers speak up.
Dunno what you consider "serious",
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I will roll RC1 on the 17th so if there are "serious" show stoppers speak up.
Dunno what you consider "serious", but bug 2
http://bugs.php.net/bug.php?id=2 is on the ze2 level.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de
On Thu, 11 Mar 2004 16:41:38 +0100 (CET)
Derick Rethans <[EMAIL PROTECTED]> wrote:
> On Thu, 11 Mar 2004, Jay Smith wrote:
>
> > Andi Gutmans wrote:
> >
> > > Any idea why the bugs database isn't responding?
> >
> > I've had a similar problem over the past couple of weeks. For whatever
> > reason
At 08:40 AM 3/15/2004 +0100, Jan Lehnardt wrote:
Hi,
On 15 Mar 2004, at 7:10, Andi Gutmans wrote:
The .tar.gz/.tar.bz2 are available at http://snaps.php.net/~andi
if I understood correctly, we'll be providing two packages, once
5.0.0 is released. One with libxml2 bundled and one without;
shouldn't
15 matches
Mail list logo