I've been looking around SO for a JavaScript obfuscation script of some kind, note that I'm not looking for a compressor, I need an obfuscation script/code that will shrink the JavaScript files I have in PHP (not in JavaScript) for production reasons.
I've heard about Minify, I've used it a couple times, works great but it doesn't obfuscate my JS code, simply that is all I need to have, think like the Dean Edwards packer but without packing it, just the shrink variables mode in PHP instead of JS.
EDIT: My mistake, I understood "obfuscate" wrongly, I mean minification on the JS code - shrinking variable names and removing whitespace, etc. Minify is the closest I got to, but it does not shrink variables.
Is there one out there?