added comments, make typo checker work with redefined plural string functions
This commit is contained in:
parent
0f8bcacfdd
commit
00b5f6f8a1
3 changed files with 59 additions and 3 deletions
11
util/typohelper.php
Normal file
11
util/typohelper.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
$str = <<< EOT
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE );
|
||||
ini_set('display_errors', '1');
|
||||
ini_set('log_errors','0');
|
||||
EOT;
|
||||
|
||||
$str .= str_replace('<?php', '', file_get_contents($argv[1]));
|
||||
|
||||
eval($str);
|
Loading…
Add table
Add a link
Reference in a new issue