[php-src] Issue #8682: ctype_alpha(122) return true

From: Date: Wed, 01 Jun 2022 16:10:50 +0000
Subject: [php-src] Issue #8682: ctype_alpha(122) return true
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241641@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8682 Author: sleepm ### Description The following code: ```php <?php $temp = range(0, 500000); foreach($temp as $i){ if(ctype_alpha($i)){ echo $i . PHP_EOL; } } ``` Resulted in this output: ``` 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ``` But I expected this output instead: ``` ``` ### PHP Version php 7.4.3 ### Operating System _No response_

« previous php.bugs (#241641) next »