ID:               24436
 Comment by:       Nico dot Laus dot 2001 at gmx dot de
 Reported By:      Nico dot Laus dot 2002 at gmx dot de
 Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: WinXP SP1
 PHP Version:      5CVS-2003-07-01 (dev)
 New Comment:

hmmm, I will check my php.ini, maybe I can configure my php in the way
yours is, that no such errors are displayed (this is what I want)
-> I'll let you know whether I can change this with php.ini or it is
really a bug ;)


Previous Comments:
------------------------------------------------------------------------

[2003-07-01 09:29:43] [EMAIL PROTECTED]

Ah, no, that was my fault, it gives errors now. But no errors *at all*
with this:

<?php
error_reporting(E_ALL);
class test {
        function __construct() {
                if (empty($this->test[0][0])) { print "test1\n";}
                if (!isset($this->test[0][0])) { print "test2\n";}
                if (empty($this->test)) { print "test1\n";}
                if (!isset($this->test)) { print "test2\n";}
        }
}

$test1 = new test();
?>

Here it should have given 3 errors, for both the [0][0] ones, and the
empty($this->test) one. 

------------------------------------------------------------------------

[2003-07-01 09:25:03] Nico dot Laus dot 2001 at gmx dot de

is your error_reporting set to E_ALL?
-> then it should display them, too

of course I can disable showing NOTICE-errors, but I'll better show/log
them to find possible bugs

------------------------------------------------------------------------

[2003-07-01 09:06:24] [EMAIL PROTECTED]

It's weird though... I can't get it to show errors at all here
anyway...

------------------------------------------------------------------------

[2003-07-01 08:39:37] Nico dot Laus dot 2001 at gmx dot de

of course using $this->test should display an error, but by checking
whether it exists, too??
-> as I said, in earlier versions this has not returned an error

------------------------------------------------------------------------

[2003-07-01 08:36:31] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

$this->test doesn\'t exist... of course it should give a warning...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24436

-- 
Edit this bug report at http://bugs.php.net/?id=24436&edit=1

Reply via email to