diff options
author | Antony Dovgal <tony2001@php.net> | 2006-06-27 21:10:04 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-06-27 21:10:04 +0000 |
commit | 41ada4ba9b040a54461c651a9082ac445846e3f6 (patch) | |
tree | ac261b15fef0bc69ca649f1fc610374c43db0a70 /Zend/tests/005.phpt | |
parent | 29b0798cc8ecf8c150dcb7befb98f052965e6d5f (diff) | |
download | php-git-41ada4ba9b040a54461c651a9082ac445846e3f6.tar.gz |
add new tests
Diffstat (limited to 'Zend/tests/005.phpt')
-rw-r--r-- | Zend/tests/005.phpt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Zend/tests/005.phpt b/Zend/tests/005.phpt new file mode 100644 index 0000000000..15a510bfe8 --- /dev/null +++ b/Zend/tests/005.phpt @@ -0,0 +1,27 @@ +--TEST-- +strcasecmp() tests +--FILE-- +<?php + +var_dump(strcasecmp("")); +var_dump(strcasecmp("", "")); +var_dump(strcasecmp("aef", "dfsgbdf")); +var_dump(strcasecmp("qwe", "qwer")); +var_dump(strcasecmp("qwerty", "QweRty")); +var_dump(strcasecmp("qwErtY", "qwerty")); +var_dump(strcasecmp("q123", "Q123")); +var_dump(strcasecmp("01", "01")); + +echo "Done\n"; +?> +--EXPECTF-- +Warning: Wrong parameter count for strcasecmp() in %s on line %d +NULL +int(0) +int(-3) +int(-1) +int(0) +int(0) +int(0) +int(0) +Done |