Re: note 87919 rejected and deleted from function.define by notes editor thiago

From: Date: Tue, 30 Dec 2008 18:33:41 +0000
Subject: Re: note 87919 rejected and deleted from function.define by notes editor thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148691@lists.php.net to get a copy of this message
This is a bit crazy!! My comments were not questions, reports of bugs nor suggestions for new features. The preceding note is factually inaccurate, and I was pointing this out. Yet the totally misleading, factually inaccurate note gets through and you reject the accurate correction!! And for irrelevant reasons! Why do you treat people who take the trouble to try to correct inaccuracies with such contempt? Best regards, Martin Brampton php-notes@lists.php.net wrote:
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 ----- It is not right that comparing a define with an integer always returns true. It is correct to state that comparing zero against a define that is alphabetic will result in true - because in this case the define is a string which will be coerced to being an integer, and if it contains nothing but letters and spaces, the result of the coercion will be zero. Note that changing the code shown below to use the integer 1 results in the comparison failing - only zero will compare equal and this is correct. Similarly, changing the code below so that the name is '1stephane' (which when coerced to integer is 1) also results in the comparison failing, again correctly. PHP is obliging but sometimes confusing!


« previous php.notes (#148691) next »