#19774 [NEW]: isset behaviour change 4.2.2 -> 4.2.3

2002-10-05 Thread andrusk

From: [EMAIL PROTECTED]
Operating system: Solars 8 Sparc
PHP version:  4.2.3
PHP Bug Type: *General Issues
Bug description:  isset behaviour change 4.2.2 -> 4.2.3

Hi,
We are using apache 1.2.26, register_globals is on.
configure line:
./configure --with-oci8 --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.26 --enable-track-vars --with-mcrypt
--enable-gd-native-ttf --with-gd --with-jpeg-dir --with-png-dir=/usr/local
--with-freetype-dir=/usr/local --with-zlib-dir=/usr --with-curl

Here is out test script, test php:


with php 4.2.2
http://something/test.php?code
producec output:
::

with php 4.2.3
http://something/test.php?code
producec output:
:1:

It seems like isset behaviour changed from 4.2.2 to 4.2.3. This required
changes into our application, I'd like to know if this behaviour changes
again or will stay like it is with 4.2.3.
-- 
Edit bug report at http://bugs.php.net/?id=19774&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19774&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=19774&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=19774&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19774&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=19774&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=19774&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=19774&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=19774&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=19774&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=19774&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19774&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=19774&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=19774&r=isapi




#19774 [Opn]: isset behaviour change 4.2.2 -> 4.2.3

2002-10-05 Thread andrusk

 ID:   19774
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: *General Issues
 Operating System: Solars 8 Sparc
 PHP Version:  4.2.3
 New Comment:





[2002-10-05 16:49:32] [EMAIL PROTECTED]

Hi,
We are using apache 1.2.26, register_globals is on.
configure line:
./configure --with-oci8 --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.26 --enable-track-vars --with-mcrypt
--enable-gd-native-ttf --with-gd --with-jpeg-dir
--with-png-dir=/usr/local --with-freetype-dir=/usr/local
--with-zlib-dir=/usr --with-curl

Here is out test script, test php:


with php 4.2.2
http://something/test.php?code
producec output:
::

with php 4.2.3
http://something/test.php?code
producec output:
:1:

It seems like isset behaviour changed from 4.2.2 to 4.2.3. This
required changes into our application, I'd like to know if this
behaviour changes again or will stay like it is with 4.2.3.




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




#19774 [Bgs]: isset behaviour change 4.2.2 -> 4.2.3

2002-10-05 Thread andrusk

 ID:   19774
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: *General Issues
 Operating System: Solars 8 Sparc
 PHP Version:  4.2.3
 New Comment:

Well, it worked for me before, now I'm forced to change my code. So
much for surprise. Well, this happens.

Thank you for your help. I believe I got my answer.


Previous Comments:


[2002-10-05 17:45:07] [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


The behaviour in 4.2.3 is the correct one.
I would be very suprised if this breaks any scripts because
it was not working before, now it works.



[2002-10-05 17:41:45] [EMAIL PROTECTED]

It's not really a bug, its a new way to return things with this
function. By the way I agree that it's not really a good thing that it
changed.



[2002-10-05 17:38:59] [EMAIL PROTECTED]





[2002-10-05 16:49:32] [EMAIL PROTECTED]

Hi,
We are using apache 1.2.26, register_globals is on.
configure line:
./configure --with-oci8 --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.26 --enable-track-vars --with-mcrypt
--enable-gd-native-ttf --with-gd --with-jpeg-dir
--with-png-dir=/usr/local --with-freetype-dir=/usr/local
--with-zlib-dir=/usr --with-curl

Here is out test script, test php:


with php 4.2.2
http://something/test.php?code
producec output:
::

with php 4.2.3
http://something/test.php?code
producec output:
:1:

It seems like isset behaviour changed from 4.2.2 to 4.2.3. This
required changes into our application, I'd like to know if this
behaviour changes again or will stay like it is with 4.2.3.




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