Home
last modified time | relevance | path

Searched refs:strnatcmp (Results 1 – 12 of 12) sorted by relevance

/PHP-7.2/ext/standard/tests/strings/
H A Dstrnatcmp_basic.phpt22 var_dump(strnatcmp($a1, $b1));
23 var_dump(strnatcmp($a1, $c1));
24 var_dump(strnatcmp($a1, $d1));
25 var_dump(strnatcmp($b1, $c1));
26 var_dump(strnatcmp($d1, $c1));
28 var_dump(strnatcmp($a1, $b2));
29 var_dump(strnatcmp($a1, $c2));
30 var_dump(strnatcmp($a1, $d2));
31 var_dump(strnatcmp($b1, $c2));
32 var_dump(strnatcmp($d1, $c2));
[all …]
H A Dstrnatcmp_error.phpt2 Test strnatcmp() function : error conditions
5 /* Prototype : int strnatcmp ( string $str1 , string $str2 )
9 echo "*** Testing strnatcmp() : error conditions ***\n";
11 echo "-- Testing strnatcmp() function with Zero arguments --\n";
12 var_dump( strnatcmp() );
18 var_dump( strnatcmp( $str1, $str2, $extra_arg) );
23 *** Testing strnatcmp() : error conditions ***
24 -- Testing strnatcmp() function with Zero arguments --
26 Warning: strnatcmp() expects exactly 2 parameters, 0 given in %s on line %d
30 -- Testing strnatcmp() function with more than expected no. of arguments --
[all …]
H A Dbug29075.phpt2 Bug #29075 (strnatcmp() incorrectly handles whitespace)
6 strnatcmp('foo ', 'foo '),
7 strnatcmp('foo', 'foo'),
8 strnatcmp(' foo', ' foo')
H A Dstrnatcasecmp_error.phpt11 echo "-- Testing strnatcmp() function with Zero arguments --\n";
23 -- Testing strnatcmp() function with Zero arguments --
/PHP-7.2/ext/sqlite3/tests/
H A Dsqlite3_36_create_collation.phpt2 Test SQLite3::createCollation() by adding strnatcmp() as an SQL COLLATE sequence
10 $db->createCollation('NAT', 'strnatcmp');
21 $naturalSort = $db->query('SELECT s FROM t ORDER BY s COLLATE NAT'); //strnatcmp() sort
/PHP-7.2/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createcollation.phpt17 $db->sqliteCreateCollation('MYCOLLATE', function($a, $b) { return strnatcmp($a, $b); });
/PHP-7.2/ext/standard/
H A Dphp_string.h86 PHP_FUNCTION(strnatcmp);
113 #define strnatcmp(a, b) \ macro
H A Dconfig.w3233 versioning.c assert.c strnatcmp.c levenshtein.c incomplete_class.c \
H A Dconfig.m4460 var.c versioning.c assert.c strnatcmp.c levenshtein.c \
H A Dbasic_functions.c2756 PHP_FE(strnatcmp, arginfo_strnatcmp)
H A Dstring.c5183 PHP_FUNCTION(strnatcmp) argument
/PHP-7.2/
H A DREADME.REDIST.BINS10 10. ext/standard/strnatcmp.c
205 10. ext/standard/strnatcmp.c
207 strnatcmp.c -- Perform 'natural order' comparisons of strings in C.

Completed in 96 milliseconds