Home >Backend Development >PHP Tutorial >PHP对字符串的递增运算

PHP对字符串的递增运算

WBOY
WBOYOriginal
2016-05-19 12:15:54883browse
<?php2  for($i = 'A'; $i <= '
'; $i++) {
    echo $i;
 }

得到的是A-Z的字母哦!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn