我有一个带有变量的 file1.php。变量名称未知。file1.php 使用 ZendGuard 5 加密。所以我无法查看代码。在 file1.php 中包含 file2.php。我不知道包含 file2.php 的位置,因为 file1.php 已加密。有没有办法在 php 代码中显示未知名称变量?
例子:
file1.php(它将使用 ZendGuard 5 加密)
$my_secret_variable='Hi stackoverflow!';
$my_other_secret_variable_SOME_RANDOM_A4Nf8d3ET='Hi stack!';
include ('file2.php');
file2.php(未加密)让我们尝试猜测秘密变量的名称和值。
//first attempt
echo'$my_secret';
//second attempt
echo'$my_secret_var';
//etc
有没有办法在 php 代码中显示未知的名称和值变量?