2015-09-07 75 views
-4

將PHP版本從5.3更改爲5.5後,我在PHP腳本中發生錯誤。代碼如下所示:如何調試這個PHP代碼?

<?php //003c3 

if(!extension_loaded('ionCube Loader')){ 
    $__oc=strtolower(substr(php_uname(),0,3)); 
    $__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so'); 
    @dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir')); 
    $__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2)); 
$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd); 
while($__i--){if($__rd[$__i]=='/'){ 
    $__lp=substr($__rd,0,$__i).$__ln; 
    if(file_exists($__oid.$__lp)){ 
     $__ln=$__lp;break;}}}@dl($__ln); 
    }else { 
     die('The file '.__FILE__." is corrupted.\n"); 
    } 

    if(function_exists('_il_exec')){ 
     return _il_exec(); 
    } 
    echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.'); 
    exit(199); 
?> 
4+oV594EY3tjgN0odFKT7b+obVYffEG8RdNnCO7CoGLb4NV4MfbokDwgKPKvV7xT71apE7Q3bEN/ 
lOCV4A/BL+3uuRIgCoD/iTvsrlUhVWpGmj9c6Bs6RLuL0DuwMHHSGvbnPtcMOvTw8kpEHxQ5+tlw... 

的錯誤是:

Call to undefined function dl() 

有沒有辦法在實際的代碼來獲得呢?

謝謝!

+1

錯誤

php的文件作爲refered是???????????? – 2015-09-07 06:37:51

+0

您應該以更易讀的格式列出您的代碼...就像使用回車符一樣。 – Amarnasan

+0

我更新了我的帖子,那是代碼如何出現在我的PHP文件中。 – Arnie

回答