ID:               28862
 User updated by:  jsgoupil at lookstrike dot com
 Reported By:      jsgoupil at lookstrike dot com
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: WinXP
 PHP Version:      5.0.0RC3
 New Comment:

Just wondering why you release PHP5 and you let this bug open...


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

[2004-07-14 09:46:51] [EMAIL PROTECTED]

Uh, are you paying us to do work?

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

[2004-07-14 07:24:16] jsgoupil at lookstrike dot com

PHP5.0.0 released and you didn't correct that bug ?
Uh ? Where are you ?

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

[2004-06-21 07:53:00] jsgoupil at lookstrike dot com

Description:
------------
When I check an isset of a variable that contain text I receive an
error ONLY when i check the last+1 char...

NOTE: Working properly on php4.3.6

Reproduce code:
---------------
<?php
$test = "s";
if(isset($test[1]))
        echo "OK";
else
        echo "ERROR";
?>

Expected result:
----------------
It supposed to return "ERROR" because $test[1] is not existing (in
real, there is a \0 in C++ but in php, we are not supposed to see it).
(working fine in php4.3.6)

Actual result:
--------------
We currently get "OK"
If we do an isset of $test[2], we get an error...
Obviously, php check the \0


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


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

Reply via email to