1--TEST-- 2Test ctype_lower() function : usage variations - different integers 3--SKIPIF-- 4<?php require_once('skipif.inc'); ?> 5--FILE-- 6<?php 7/* Prototype : bool ctype_lower(mixed $c) 8 * Description: Checks for lowercase character(s) 9 * Source code: ext/ctype/ctype.c 10 */ 11 12/* 13 * Pass different integers to ctype_lower() to test which character codes are considered 14 * valid lowercase characters 15 */ 16 17echo "*** Testing ctype_lower() : usage variations ***\n"; 18 19$orig = setlocale(LC_CTYPE, "C"); 20 21for ($i = 0; $i < 256; $i++) { 22 if (ctype_lower($i)) { 23 echo "character code $i is a lower case character\n"; 24 } 25} 26 27setlocale(LC_CTYPE, $orig); 28?> 29===DONE=== 30--EXPECT-- 31*** Testing ctype_lower() : usage variations *** 32character code 97 is a lower case character 33character code 98 is a lower case character 34character code 99 is a lower case character 35character code 100 is a lower case character 36character code 101 is a lower case character 37character code 102 is a lower case character 38character code 103 is a lower case character 39character code 104 is a lower case character 40character code 105 is a lower case character 41character code 106 is a lower case character 42character code 107 is a lower case character 43character code 108 is a lower case character 44character code 109 is a lower case character 45character code 110 is a lower case character 46character code 111 is a lower case character 47character code 112 is a lower case character 48character code 113 is a lower case character 49character code 114 is a lower case character 50character code 115 is a lower case character 51character code 116 is a lower case character 52character code 117 is a lower case character 53character code 118 is a lower case character 54character code 119 is a lower case character 55character code 120 is a lower case character 56character code 121 is a lower case character 57character code 122 is a lower case character 58===DONE=== 59