Re: Inconsistancy in PDO dsn
| From: | Wez Furlong | Date: | Fri, 28 Apr 2006 01:24:17 +0000 |
| Subject: | Re: Inconsistancy in PDO dsn | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23002@lists.php.net to get a copy of this message | ||
On 4/27/06, Kevin Waterson <kevin@oceania.net> wrote:
This one time, at band camp, "Wez Furlong" <kingwez@gmail.com> wrote: The manual doesn't tell you that you can use spaces, so simply don't do it. but in this example we have a space and it works mysql: host = localhost; dbname=testThe manual doesn't tell you that you can use spaces. So, *don't do that*. The behaviour may change; relying on undefined behaviour means that you can expect your application to break one day, later rather than sooner. So, one last time: *don't do that*. --Wez.