Hi
I obviously shouldn't have registered with this website for help, please can you remove my registration and last post. It has now been sorted elsewhere.
Thanks (0 Replies)
Discussion started by: skylark167
0 Replies
2. Post Here to Contact Site Administrators and Moderators
When I'm trying to register it says that my e-mail adress )is banned by administrator. Why?
Thanks
PS The same problem occurs with other 2 adresses I have (1 Reply)
Discussion started by: Mihail
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hi, i got several questions regarding Solaris 10 configuration which i would like to ask here. Unfortunately Russia is blacklisted so I cannot register the normal way.
My IP is: 5.19.nnn.nnn
email: <removed>
Thank you. (5 Replies)
friends
I have the following code that works perfect
while read linea
do
largo=${#linea}
echo "largo es///////////: $largo "
if
then
echo "Longitud De Registro Invalida"
echo " $linea > ERROR DE LONGITUD" >> ... (2 Replies)
Discussion started by: tricampeon81
2 Replies
LEARN ABOUT PHP
arrayobject.natcasesort
ARRAYOBJECT.NATCASESORT(3) 1 ARRAYOBJECT.NATCASESORT(3)ArrayObject::natcasesort - Sort an array using a case insensitive "natural order" algorithm
SYNOPSIS
public void ArrayObject::natcasesort (void )
DESCRIPTION
This method is a case insensitive version of ArrayObject::natsort.
This method implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value asso-
ciations. This is described as a "natural ordering".
PARAMETERS
This function has no parameters.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
ArrayObject.natcasesort(3) example
<?php
$array = array('IMG0.png', 'img12.png', 'img10.png', 'img2.png', 'img1.png', 'IMG3.png');
$arr1 = new ArrayObject($array);
$arr2 = clone $arr1;
$arr1->asort();
echo "Standard sorting
";
print_r($arr1);
$arr2->natcasesort();
echo "
Natural order sorting (case-insensitive)
";
print_r($arr2);
?>
The above example will output:
Standard sorting
ArrayObject Object
(
[0] => IMG0.png
[5] => IMG3.png
[4] => img1.png
[2] => img10.png
[1] => img12.png
[3] => img2.png
)
Natural order sorting (case-insensitive)
ArrayObject Object
(
[0] => IMG0.png
[4] => img1.png
[3] => img2.png
[5] => IMG3.png
[2] => img10.png
[1] => img12.png
)
For more information see: Martin Pool's Natural Order String Comparison page.
SEE ALSO
ArrayObject::asort, ArrayObject::ksort, ArrayObject::natsort, ArrayObject::uasort, ArrayObject::uksort.
PHP Documentation Group ARRAYOBJECT.NATCASESORT(3)