FAQ
Hi all,

Not quite sure who actually implemented E_STRICT, but it doesn't take notice
of internal vs userland classes. See below. (and let me know if I need to
open a bug report.)

- Steph

----- Original Message -----
From: "Andrei Zmievski" <andrei@gravitonic.com>
To: "Steph Fox" <steph@zend.com>
Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net>
Sent: Tuesday, January 03, 2006 8:13 PM
Subject: Re: interesting buglet

Ask the person who implemented that warning, perhaps?

-Andrei
On Jan 3, 2006, at 10:02 AM, Steph Fox wrote:

Hey Andrei,

I was debugging something completely unrelated (PHP stuff) and left
display_startup_errors = 1 in the php.ini I use for PHP-GTK 2.

Get this:

C:\php5>php -v

Strict Standards: Declaration of GtkToolbar::set_style() should be
compatible with that of GtkWidget::set_style() in Unknown on line 0

Strict Standards: Declaration of GtkMenu::set_accel_path() should be
compatible with that of GtkWidget::set_accel_path() in Unknown on line 0

Strict Standards: Declaration of GtkWindow::mnemonic_activate() should be
compatible with that of GtkWidget::mnemonic_activate() in Unknown on line


Strict Standards: Declaration of GtkMenuItem::set_accel_path() should be
compatible with that of GtkWidget::set_accel_path() in Unknown on line 0

Strict Standards: Declaration of GtkStatusbar::remove() should be
compatible with that of GtkContainer::remove() in Unknown on line 0

Strict Standards: Declaration of GtkCList::remove() should be compatible
with that of GtkContainer::remove() in Unknown on line 0

Strict Standards: Declaration of GtkComboBoxEntry::new_with_model()
should be compatible with that of GtkComboBox::new_with_model() in
Unknown on line 0
PHP 5.1.2RC2-dev (cli) (built: Jan 3 2006 00:05:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

Guess we need to force display_startup_errors = 0? Or is there some way
to make PHP know these are internal classes?

- Steph

__________ NOD32 1.1350 (20060103) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

Search Discussions

  • Steph Fox at Jan 3, 2006 at 10:09 pm
    No it didn't take me that long, I was busy writing stuff...

    The test suite copes with this, I can't see a reason for it to break
    anything. If it goes into HEAD, can it also go into 5_1 please?

    - Steph

    (ps ws fixes for zend_compile.c attached also).


    ----- Original Message -----
    From: "Steph Fox" <steph@zend.com>
    To: "internals" <internals@lists.php.net>
    Sent: Tuesday, January 03, 2006 8:18 PM
    Subject: [PHP-DEV] Fw: interesting buglet

    Hi all,

    Not quite sure who actually implemented E_STRICT, but it doesn't take
    notice of internal vs userland classes. See below. (and let me know if I
    need to open a bug report.)

    - Steph

    ----- Original Message -----
    From: "Andrei Zmievski" <andrei@gravitonic.com>
    To: "Steph Fox" <steph@zend.com>
    Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net>
    Sent: Tuesday, January 03, 2006 8:13 PM
    Subject: Re: interesting buglet

    Ask the person who implemented that warning, perhaps?

    -Andrei
    On Jan 3, 2006, at 10:02 AM, Steph Fox wrote:

    Hey Andrei,

    I was debugging something completely unrelated (PHP stuff) and left
    display_startup_errors = 1 in the php.ini I use for PHP-GTK 2.

    Get this:

    C:\php5>php -v

    Strict Standards: Declaration of GtkToolbar::set_style() should be
    compatible with that of GtkWidget::set_style() in Unknown on line 0

    Strict Standards: Declaration of GtkMenu::set_accel_path() should be
    compatible with that of GtkWidget::set_accel_path() in Unknown on line 0

    Strict Standards: Declaration of GtkWindow::mnemonic_activate() should
    be compatible with that of GtkWidget::mnemonic_activate() in Unknown on
    line 0

    Strict Standards: Declaration of GtkMenuItem::set_accel_path() should be
    compatible with that of GtkWidget::set_accel_path() in Unknown on line 0

    Strict Standards: Declaration of GtkStatusbar::remove() should be
    compatible with that of GtkContainer::remove() in Unknown on line 0

    Strict Standards: Declaration of GtkCList::remove() should be compatible
    with that of GtkContainer::remove() in Unknown on line 0

    Strict Standards: Declaration of GtkComboBoxEntry::new_with_model()
    should be compatible with that of GtkComboBox::new_with_model() in
    Unknown on line 0
    PHP 5.1.2RC2-dev (cli) (built: Jan 3 2006 00:05:59)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

    Guess we need to force display_startup_errors = 0? Or is there some way
    to make PHP know these are internal classes?

    - Steph

    __________ NOD32 1.1350 (20060103) Information __________

    This message was checked by NOD32 antivirus system.
    http://www.eset.com
    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php


    __________ NOD32 1.1350 (20060103) Information __________

    This message was checked by NOD32 antivirus system.
    http://www.eset.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJan 3, '06 at 6:18p
activeJan 3, '06 at 10:09p
posts2
users1
websitephp.net

1 user in discussion

Steph Fox: 2 posts

People

Translate

site design / logo © 2022 Grokbase