|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-01-22 13:47 UTC] johnston at itactics dot com
<?php
$a[b]['a c'] = "lala";
echo "$a[b]['a c']";
?>
returns "Array"
<?php
$z['hello baby'] = "yo";
$z['bubye baby'] = "bah";
array_keys($z);
?>
doesnt even return anything.
I'm trying to write a script that parses out a mail header into $message[header][headername] = "value";
and headername might be a few words or might have some weird chars in it and php's buggy arrays are causing me grief - lots of grief. It wouldnt even matter if i removed all weird characters.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 21:00:01 2025 UTC |
<?php $[b]['a c'] = "lala"; echo "$a[b]['a c']"; ?> returns "Array" <?php $z['hello baby'] = "yo"; $z['bubye baby'] = "bah"; print array_keys($z); ?> also, returns "Array" I'm trying to write a script that parses out a mail header into $message[header][headername] = "value"; and headername might be a few words or might have some weird chars in it and php's buggy arrays are causing me grief - lots of grief. It wouldnt even matter if i removed all weird characters.