I have installed Magento and PrestaShop on my local computer. I wrote 2 modules (for presta and magento and they have the same core). The problem is error_reporting. Let me give you an example. Magento
@ini_set('display_errors', 'on');
@error_reporting(E_ALL | E_STRICT);
$obj = new Obj();
var_dump($obj->version); //returns null because the property "version" doesn't really exist
die();
Presta
$obj = new Obj();
var_dump($obj->version); //returns E_NOTICE error because the property "version" doesn't really exist
Why Magento returns null while Presta throws error. What can cause such a behavior?