summaryrefslogtreecommitdiff
path: root/ext/unicode/collator.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed bug #46067 (Collator methods - Segfault)Felipe Pena2008-09-201-0/+4
|
* New way for check void parametersFelipe Pena2008-03-041-2/+2
|
* New macro for check void parametersFelipe Pena2008-02-281-1/+1
|
* Fix buildJani Taskinen2007-11-021-1/+1
|
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* Wrong locale name.Andrei Zmievski2007-04-101-7/+7
|
* Fix protos.Andrei Zmievski2006-10-061-4/+4
|
* Fix protos.Andrei Zmievski2006-09-221-2/+14
|
* Fix protos.Andrei Zmievski2006-09-211-11/+11
|
* Backfill protos for ext/unicode functionsSara Golemon2006-09-201-0/+25
|
* Add collator_set_default().Andrei Zmievski2006-04-211-7/+28
|
* Hmm, ZEND_FENTRY() is the only one that allows flags to be added..Andrei Zmievski2006-04-211-0/+4
|
* Implement collator_get_default() and simplify/fix the underlying code.Andrei Zmievski2006-04-211-39/+29
| | | | | # Derick, objects aren't that difficult.. :)
* Move to refcounted implementation of collators.Andrei Zmievski2006-04-201-14/+37
|
* Fix collator instantiation.Andrei Zmievski2006-03-281-4/+12
|
* Fix typos.Andrei Zmievski2006-03-281-2/+2
|
* - Implemented basic collation support. For some reason "new Collator" gives ↵Derick Rethans2006-03-261-0/+288
segfaults when the object's collation resource is used. - The following example shows what is implemented: <?php $orig = $strings = array( 'côte', 'cote', 'côté', 'coté', 'fluße', 'flüße', ); echo "German phonebook:\n"; $c = collator_create( "de@collation=phonebook" ); foreach($c->sort($strings) as $string) { echo $string, "\n"; } echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON ? "With" : "Without", " french accent sorting order\n"; echo "\nFrench with options:\n"; $c = collator_create( "fr" ); $c->setAttribute(Collator::CASE_FIRST, Collator::UPPER_FIRST); $c->setAttribute(Collator::CASE_LEVEL, Collator::ON); $c->setStrength(Collator::SECONDARY); foreach($c->sort($strings) as $string) { echo $string, "\n"; } echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON ? "With" : "Without", " french accent sorting order\n"; ?>