How can i encrypt a function or its contents in a php class?
Posted
by jane
on Stack Overflow
See other posts from Stack Overflow
or by jane
Published on 2010-05-22T20:42:25Z
Indexed on
2010/05/22
20:50 UTC
Read the original article
Hit count: 218
php
|encryption
How can i encrypt a function or its contents in a php class ?
e.g. Take a look at below class, i would like to encrypt the function test1() so the code inside will never be revealed but executes as normal
class test
{
var $x;
var $y;
function test1()
{
return $this->x;
}
function test2()
{
return $this->y;
}
}
Thanks in advance
© Stack Overflow or respective owner