title: PHP class to validate javascript syntax
body: <p>Do you have any ideas where to find a PHP class (library) which can validate JavaScript syntax?</p>
  
  <p><strong>Result</strong>: it seems that there is no such library which is available to download, so the only solution is to write own. Thank you all.</p>