naomichi-y / php_syntax_checker

This package is plugins for Sublime Text 2 and 3. When you save PHP file, perform syntax check of PHP
39 stars 14 forks source link

Error with ; on While params #17

Open raank opened 6 years ago

raank commented 6 years ago
// ERROR
while ($i = 0; $i <= 1000; $i++) {
    // stuf
}

// ACCEPT
$i = 0;
while($i <= 1000) {
    // stuf
    $i++;
}

This is aponted as error... Why?