From:             ensophic at hotmail dot com
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Feature/Change Request
Bug description:  Function for obfuscation/encryption

Description:
------------
I recommend that a code encryption function be added to PHP, similar to
Zend Encoder or SourceGuardian Pro. 

For example:

source_encrypt(code string, key string) could encrypt PHP code using a
key.

source_decrypt(encrypted_code string, key string) could decrypt PHP code
and output the evaluated result of encrypted_code. This way, your PHP
application could be a series of source_decrypt functions, and the end
user wouldn't be able to access the PHP source code.

I know this goes against open source, but many companies would greatly
benefit from these functions (if not for speed, to save the money that
would be spent on SourceGuardian Pro).


-- 
Edit bug report at http://bugs.php.net/?id=24507&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24507&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24507&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24507&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24507&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24507&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24507&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24507&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24507&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24507&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24507&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24507&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24507&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24507&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24507&r=gnused

Reply via email to