Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
while ( is_numeric( $flyer{$idPos} )) { //some code }
$flyer{$idPos}假设两者都是变量是什么意思?
$flyer{$idPos}
这是访问数组条目的另一种不推荐的语法:
$flyer{$idPos} === $flyer[$idPos]
花括号是一种访问字符串特定字符的方法
$str = 'Bob'; echo $str{0}; // outputs B