I have PHP code like below, which goes well on XAMPP version 5.3 :
...
if (!@$this->LDAP_Connection = ldap_connect($this->LDAP_Server, $this->LDAP_Port)) {
$this->_SetLDAPError();
return false;
} else {
...
}
...
But when I switch to XAMPP version 5.5.19, it appears an unknown error.
Is there a mistaken configuration in php.ini file? or
Is there any other way regarding the use of Error Control Operator ('@') in XAMPP version 5.5.19 or above?
I've read the documentation in http://php.net/manual/en/language.operators.errorcontrol.php, but it doesn't solve the problem.
Thank you for taking your time to give me some example code or alter my code in answer comment.