ArrayIterator::natcasesort

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

ArrayIterator::natcasesort — Sort entries naturally, case insensitive

Uyarı

This function has been DEPRECATED as of PHP 8.6.0. Relying on this function is highly discouraged.

Açıklama

#[\Deprecated(since: '8.6')]
public function ArrayIterator::natcasesort(): true

Sort the entries by values using a case insensitive "natural order" algorithm.

Bilginize:

İki üye karşılaştırıldığında eşitse bunların özgün sıralamadaki yerleri korunur. PHP 8.0.0 öncesinde sıralı dizideki göreli yerleri tanımsızdı.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Daima true döndürür.

Sürüm Bilgisi

Sürüm: Açıklama
8.6.0 This method has been deprecated.
8.2.0 Dönüş türü artık true;evvelce, bool idi.

Ayrıca Bakınız

+add a note

User Contributed Notes

There are no user contributed notes for this page.