ID: 34762 Updated by: [EMAIL PROTECTED] Reported By: dco at mail dot ru -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Solaris 10 PHP Version: 5.0.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-06 16:55:45] dco at mail dot ru Description: ------------ I had a problem transferring my project to Solaris 10 from Windows. The thing is that on Solaris 10 the characters past the end of strings are considered set by the isset function. Reproduce code: --------------- $sa = 'sa'; if(isset($sa{2})) echo 'set'; else echo 'not set'; Expected result: ---------------- I expect to see "not set". Actual result: -------------- I see "set" on Solaris 10, "not set" on windows. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34762&edit=1