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

Related posts:

  1. Are PHP Namespaces Really So Bad? Namespaces have caused a divide amongst developers who either love...
  2. Server-side JavaScript Will Be as Common as PHP Despite the fact that JavaScript has been typecast as the...
  3. Introducing php-tracer-weaver php-tracer-weaver is a tool for automatically generating docblock comments, with...
  4. Free PHP Webinar: How to Increase Performance with Caching Zend are running a free webinar today, with a live...

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...