#19774 [Opn]: isset behaviour change 4.2.2 -> 4.2.3
| From: | nicos@php.net | Date: | Sat, 05 Oct 2002 22:41:45 +0000 |
| Subject: | #19774 [Opn]: isset behaviour change 4.2.2 -> 4.2.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21602@lists.php.net to get a copy of this message | ||
ID: 19774
Updated by: nicos@php.net
Reported By: andrusk@delfi.ee
Status: Open
Bug Type: *General Issues
Operating System: Solars 8 Sparc
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-10-05 17:38:59] andrusk@delfi.ee
<?php des not make difference for me. In our app scripts we use ?php.
Anyway, the one I provided is just a test script to demonstrate this
bug.
We have problem with our application and would like to know, if we
should wait for php 4.2.4 or should we start changing and testing this
application in order to accomodate this new behaviour.
------------------------------------------------------------------------
[2002-10-05 17:08:57] neuman_peter@hotmail.com
Please Test:
<?php
echo ":".isset($code).":";
?>
------------------------------------------------------------------------
[2002-10-05 16:49:32] andrusk@delfi.ee
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:
<?echo ":".isset($code).":";?>
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