I upgraded my PHP version to 5.4 ([XAMPP](https://en.wikipedia.org/wiki/XAMPP) 1.7.3 to 1.8.0). Now I see *Strict Standards* error, for `myDBconnection`:

> 
> Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\alous\include\dbconn.php on line 4
> 
> 
> 

### dbconn.php:

```
<?php
    defined('_VALID') or die('Restricted Access!');

    $conn = &ADONewConnection($config['db_type']); // <--- This Line 4

    if ( !$conn->Connect($config['db_host'],
                         $config['db_user'],
                         $config['db_pass'],
                         $config['db_name'])) {

        echo 'Could not connect to MySQL! Please check your database settings!';
        die();
    }
    $conn->execute("SET NAMES 'utf8'");
?>

```

*Note:* I don't need to disable Strict Standards in php.ini with this method `error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT`! I want to fix my PHP code.