Skip to content
Permalink
Browse files
Merge pull request #764 from SmoKE585/alpha
Фикс: Редактор кода
  • Loading branch information
sergejey committed Jun 14, 2020
2 parents 36cc9bd + 5ffc963 commit 692aca89b7c027efacb98ff846773a66ece93b7b
Showing 1 changed file with 2 additions and 1 deletion.
@@ -39,7 +39,8 @@ function php_syntax_error($code)
$res = implode("\n", $out);

if(preg_match("/\.php on line \b/i", $res))

return trim($res) . "\n";
if(preg_match("/\Errors parsing\b/i", $res))
return trim($res) . "\n";
if (preg_match("/welldone\b/i", $res)) {
return false;

0 comments on commit 692aca8

Please sign in to comment.