Re: note 85881 rejected and deleted from language.types.array by notes editor thiago

From: Date: Mon, 22 Sep 2008 20:24:40 +0000
Subject: Re: note 85881 rejected and deleted from language.types.array by notes editor thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-144626@lists.php.net to get a copy of this message
I am so sorry please again I am so sorry again and again yes you are right, but i dont measured my post as bug... sorry again ----- Original Message ----- From: <php-notes@lists.php.net> To: <akam@akameng.com> Sent: Monday, September 22, 2008 11:00 PM Subject: note 85881 rejected and deleted from language.types.array by notes editor thiago
You are receiving this email because your note posted to the online PHP manual has been removed by one of the editors. Read the following paragraphs carefully, because they contain pointers to resources better suited for requesting support or reporting bugs, none of which are to be included in manual notes because there are mechanisms and groups in place to deal with those issues. The user contributed notes are not an appropriate place to ask questions, report bugs or suggest new features; please use the resources listed on <http://php.net/support> for those purposes. This was clearly stated in the page you used to submit your note, please carefully re-read those instructions before submitting future contributions. Bug submissions and feature requests should be entered at <http://bugs.php.net/>. For documentation errors use the bug system, and classify the bug as "Documentation problem". Support and ways to find answers to your questions can be found at <http://php.net/support>. Your note has been removed from the online manual. ----- Copy of your note below ----- Discussing this line of manual: "Using the empty string as a key will create (or overwrite) a key with the empty string and its value;" example: <?php $test = array('zero' => 'php.net', '' => 'php.net', "" => 'php.net' ); //test echo $test['zero']."\n<br />"; //output: php.net
echo $test['']."\n<br />";      //output: php.net
echo $test[""]."\n<br />";     //output: php.net
foreach ($test as $key => $value ){
       echo "\$key = $key and \$value = $value \n<br />";
} //out put /* $key = zero and $value = php.net $key = and $value = php.net */ ?> I think using empty string is work, so either the manual should change or the array behavior.


« previous php.notes (#144626) next »