Re: Re: note 103139 rejected and deleted from collator.asort by notes editor danbrown
| From: | Daniel P. Brown | Date: | Mon, 28 Mar 2011 18:12:14 +0000 |
| Subject: | Re: Re: note 103139 rejected and deleted from collator.asort by notes editor danbrown | ||
| References: | 1 2 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178276@lists.php.net to get a copy of this message | ||
Because it's tantamount to a bug report. If you think something
on the site - including a user-submitted note - contains an error that
should be fixed, it should be submitted via the bug tracker at
http://bugs.php.net/, not as a follow-up user note.
Thanks for playing a part in helping to keep things accurate.
It's very much appreciated.
On Mon, Mar 28, 2011 at 13:43, Jeffrey Dean. Walter
<jeff_walter@kace.com> wrote:
> Why is this being rejected? This post is simply to point out an error in the previous user
> post...
>
> Cheers,
> Jeff Walter
> Dell/KACE
> 210-410-1032
> jeff_walter@kace.com
> jeff_walter@dell.com
>
> Life would be so much easier if I only had the source code. - Unknown
>
> On Mar 28, 2011, at 12:48 PM, <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 -----
>>
>> The above post doesn't work. This example does..
>>
>> function natsortIntl($number) {
>> return sprintf('%032d', $number);
>> }
>>
>> function sortIntl($array, $natural = true) {
>> $data = $array;
>> if ($natural === true) {
>> $data = preg_replace_callback('~([0-9]+)~',
>> 'natsortIntl', $data);
>> }
>>
>> collator_asort(collator_create('root'), $data);
>>
>> return array_intersect_key($data, $array); <--- This is correct.
>> }
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/