# [ZEND PATCH] Bugfix#28404

- Thread: https://externals.io/message/9924
- Original archive: https://news-web.php.net/php.internals/9924
- Started by Sara Golemon on 2004-05-17T21:57:06+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #9924 — Sara Golemon — 2004-05-17T21:57:06+00:00

URL: https://externals.io/message/9924#9924

Here's the fix for 28404, someone with ZE karma care to apply?

-Sara

Index: Zend/zend_execute.c
===================================================================
RCS file: /repository/ZendEngine2/zend_execute.c,v
retrieving revision 1.644
diff -u -r1.644 zend_execute.c
--- Zend/zend_execute.c 29 Apr 2004 09:47:29 -0000      1.644
+++ Zend/zend_execute.c 17 May 2004 21:55:22 -0000
@@ -3972,7 +3972,7 @@
                                case IS_BOOL:
                                case IS_LONG:
                                        if (offset->type == IS_DOUBLE) {
-                                               index = (long)
offset->value.lval;
+                                               index = (long)
offset->value.dval;
                                        } else {
                                                index = offset->value.lval;
