Note that there are some explanatory texts on larger screens.

plurals
  1. PODoes such an obfuscator exist?
    primarykey
    data
    text
    <p>First off, I am personally against obfuscation and agree with others who are so, such as most respondents to <a href="https://stackoverflow.com/questions/232736/code-obfuscator-for-php">this previous question</a>. </p> <p>However, I have been told to find one. So, please, let's not rehash why obfuscators are useless. Thanks.</p> <p>I have to find a PHP obfuscator which </p> <ul> <li>is preferably free :-)</li> <li>will obfuscate all strings, but not SQL (!!??) (e.g., in <code>$_SESSION['password'] = 'secret'</code>; it should obfuscate <code>$_SESSION</code>, <code>password</code> and <code>secret</code>m but should <em>not</em> obfuscate strings like <code>odbc_exec($connection, 'drop database if exists users');</code>)</li> <li>can scan a project across multiple directories and know that variable <code>$password</code> declared in file a.php and renamed to <code>$lI1O0l</code> should be so named in file b.php which includes a.php and all other dependency stuff) </li> <li>will strip all comments and reduce whitespace</li> <li>is tried and proven on medium-large projects (at least a few hundred files in a few dozen directories)</li> <li>(and this one is tricky) - does <em>not</em> access the internet. So, if it is a commercial product it might have licence files which I get from the vendor and send to my customer's IT dept (on CD, for instance) for installation. But the customers' PCs will not have internet access to determine if the obfuscator is validly licensed.</li> </ul> <p>Does such a beast exist? Would it make any difference if I run my code through a PHP compiler and ship an executable to the customers (if so, which compiler).</p> <p>I realize this is rather a contentious subject, but I'm just asking for advice to help me try to do my job ...</p> <p>Thanks in advance</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload