php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15429 Problem with hash index
Submitted: 2002-02-07 09:32 UTC Modified: 2002-02-08 02:32 UTC
From: maxy at planet dot nl Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.1.1 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: maxy at planet dot nl
New email:
PHP Version: OS:

 

 [2002-02-07 09:32 UTC] maxy at planet dot nl
I am running php 4.1.1 (windows installer)
When in call a index of a hash there is a warning returned that the index is undifined.

Everything works on a previous version of php

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-07 09:36 UTC] hholzgra@php.net
check your error_reporting settings in php.ini

read access to undefined variables or array
elements generates an E_NOTICE message


 [2002-02-08 02:32 UTC] derick@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-02-24 18:10 UTC] themrh at themrh dot com
I have the same problem on WinXP. It warns me about the invalid index, wich isn't invalid. When I prin_f() the array one line above I see it is in there! The strings are correctly quoted, but I just can't reach the index.

I put error_reporting one lvele down from E_ALL to E_ALL & ~E_NOTICE, which offcourse gets rid of the message, but the variable is still empty!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC