ID:               32835
 User updated by:  jason at amp-design dot net
 Reported By:      jason at amp-design dot net
-Status:           Bogus
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: CentOS 4 / RHEL 3
 PHP Version:      5CVS-2005-04-26 (dev)
 New Comment:

$p = fgfdghfgf;

where fgfdghfgf is totally undefined gives no warning or error.

I have just double checked with phpinfo() and display errors is on.
However, looking at the php.ini that phpinfo() points to display_errors
is set to the default value of Off. There is nothing overriding the
php.ini value, so it seems like phpinfo is not displaying this value
correctly.

when I turn display errors on, and restart apache, no change happens.
Display errors is still on, and no errors do get displayed.

Should you want to know my command line I am using....

 Command         './configure' '--enable-bcmath' '--enable-exif'
'--with-gettext' '--enable-calendar' '--prefix=/usr/local'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=usr/local' '--with-xml'
'--with-libxml-dir=/usr/local' '--with-expat-dir=/usr/local/lib'
'--with-dom=/usr/local' '--enable-ftp' '--with-mysql=/usr/local'
'--enable-shared=yes' '--enable-static=yes' '--with-xsl=/usr/local'
'--enable-track-vars' '--enable-sockets' '--enable-wddx'
'--with-xmlrpc' '--with-zlib-dir=/usr/local/include' '--with-iconv'
'--with-curl' '--enable-pcntl' '--with-curlwrappers' '--enable-wddx'
'--with-xmlrpc' '--with-dom' '--with-dom-xslt' '--with-dom-exslt'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-pear' '--enable-xslt' '--with-xslt-sablot' '--enable-sockets'
'--enable-gd-native-ttf' '--with-ttf' '--enable-debug' '--with-pgsql'
'--enable-shmop' '--with-config-file-path=/etc/php.ini'

the ./configure line. Other than the changing the display errors
setting, and turning log errors to off, the php.ini file remains
untouched from it's default settings.


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

[2005-04-26 13:08:57] [EMAIL PROTECTED]

Set display_errors to On.

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

[2005-04-26 12:54:23] jason at amp-design dot net

Description:
------------
In the lastest CVS snapshot (8.30 GMT today), the Undefined variable
notice doesn't appear when concatenating to an undefined variable. I
haven't tested this with other scenarios which may also bring up this
error. 

Reproduce code:
---------------
<?php
error_reporting(E_ALL);
$f .= 'fgfgf';
?>

Expected result:
----------------
Notice: Undefined variable: f

Actual result:
--------------
Nothing


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


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

Reply via email to