Lines Matching refs:i
229 $i = 0; // char index for input string
239 while($i < $slen){
243 while ($i < $slen && (strpos($chars,$s[$i]) === false) ){
244 $result .= $s{$i};
245 $i = $i + 1;
248 $ch = $s{$i};
250 if($ch == '/' && $s{$i+1} == '*' && $s{$i+2} != '@'){
251 $endC = strpos($s,'*/',$i+2);
253 $i = $endC + 2;
258 if($ch == '/' && $s{$i+1} == '/'){
259 $endC = strpos($s,"\n",$i+2);
261 $i = $endC;
269 while($s{$i-$j} == ' '){
272 if( ($s{$i-$j} == '=') || ($s{$i-$j} == '(') ){
276 while($s{$i+$j} != '/'){
277 while( ($s{$i+$j} != '\\') && ($s{$i+$j} != '/')){
280 if($s{$i+$j} == '\\') $j = $j + 2;
282 $result .= substr($s,$i,$j+1);
283 $i = $i + $j + 1;
291 while( $s{$i+$j} != '"' && ($i+$j < $slen)){
292 if( $s{$i+$j} == '\\' && ($s{$i+$j+1} == '"' || $s{$i+$j+1} == '\\') ){
298 $result .= substr($s,$i,$j+1);
299 $i = $i + $j + 1;
306 while( $s{$i+$j} != "'" && ($i+$j < $slen)){
307 if( $s{$i+$j} == '\\' && ($s{$i+$j+1} == "'" || $s{$i+$j+1} == '\\') ){
313 $result .= substr($s,$i,$j+1);
314 $i = $i + $j + 1;
321 if($i+1 < $slen && (strpos($chars,$s[$i+1]) !== false)){
322 $i = $i + 1;
330 $i = $i + 1;
340 $i = $i + 1;