Edit report at https://bugs.php.net/bug.php?id=31134&edit=1
ID: 31134
Comment by: williamscatherine461 at gmail dot com
Reported by: jlabonsk at eportation dot com
Summary: foreach() semantics broken between 4.3.9 and 4.3.10
Status: Not a bug
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 4.3.10
Block user comment: N
Private report: N
New Comment:
Hello , My name is catherine williams.I am also provide techinical issue related to Hotmail Gmail
outlook login issue.The Hotmail email account login process is quite simple. All you need is to
navigate to the Hotmail or Outlook email window and click sign in. After that just simply enter your
hotmail email id and click next. Further, you just need to enter your unique password. That's
all you need to do to get access to your hotmail email account. If you face any problem in getting
access to your account due to hotmail login issues then not an issue. Just simply click the
âforgotten passwordâ and follow the on screen instructions. The process to recover a
forgotten password is quite simple on hotmail.
For More info:
https://emailsupportphonenumber.net/blog/how-to-create-a-hotmail-account">How
to create a Hotmail Account ?
Previous Comments:
------------------------------------------------------------------------
[2011-04-01 17:43:25] varioseveral at gmail dot com
Hi. In this moment the server update the sql, i have problems with my db, i can't export,
import, add, etc. What can i do for solve this problem? Thanks
------------------------------------------------------------------------
[2011-03-06 14:16:30] phuquangnam1 at gmail dot com
help
------------------------------------------------------------------------
[2004-12-16 21:17:49] jsjohnst@php.net
Same issue as:
http://bugs.php.net/bug.php?id=31108
Upgrade Zend Optimizer and it fixes it.
------------------------------------------------------------------------
[2004-12-16 20:36:35] jsjohnst@php.net
I can also confirm this is an issue.
------------------------------------------------------------------------
[2004-12-16 20:24:57] jlabonsk at eportation dot com
Description:
------------
The foreach($array as $key) construct returns an array for $key, instead of just the key. This
breaks many scripts that count on $key being a scalar (and well, the key).
Reproduce code:
---------------
$test = array(2, 3, 4, 5);
foreach($test as $key){
print_r($key);
}
Expected result:
----------------
2345
Actual result:
--------------
Array
(
[0] => 2
[1] => 0
)
Array
(
[0] => 3
[1] => 1
)
Array
(
[0] => 4
[1] => 2
)
Array
(
[0] => 5
[1] => 3
)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=31134&edit=1