Blog Post RSS ?

Blogs » PHP » JsLint for PHP anyone?
 

JsLint for PHP anyone?

by Harry Fuecks

Anyone with excess time and skill on their hands? Would be awesome to see a port of jslint to PHP (and Perl / Python / Ruby for that matter). There’s probably some issues with multibyte strings to contend with but browsing the source it looks doable.

It would mean is tools like Simple Test could help validate Javascript on a page they’re. Simple Test comes with it’s own regex-based parsing tools, which I introduced briefly here. Whether regexes are the right way to go though is another question, bearing in mind character encoding issues.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

This post has 9 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...