diff options
| author | Ulf Wendel <uw@php.net> | 2009-10-19 20:07:25 +0000 |
|---|---|---|
| committer | Ulf Wendel <uw@php.net> | 2009-10-19 20:07:25 +0000 |
| commit | eb0e09f5dc387e8a8642e373b84793daf10dcb2f (patch) | |
| tree | 49034c268a84dfa1b73aec50e5338ae670ddff27 /ext/mysqli/tests/mysqli_connect.phpt | |
| parent | 3766730f3c8bef5d0cf3b374c8e8f5ebd3ffdc9f (diff) | |
| download | php-git-eb0e09f5dc387e8a8642e373b84793daf10dcb2f.tar.gz | |
Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result...
Diffstat (limited to 'ext/mysqli/tests/mysqli_connect.phpt')
| -rw-r--r-- | ext/mysqli/tests/mysqli_connect.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_connect.phpt b/ext/mysqli/tests/mysqli_connect.phpt index dd2792f811..cf7c7bede8 100644 --- a/ext/mysqli/tests/mysqli_connect.phpt +++ b/ext/mysqli/tests/mysqli_connect.phpt @@ -5,7 +5,7 @@ mysqli_connect() <?php require_once('skipifemb.inc'); ?> --FILE-- <?php - include "connect.inc"; + require_once("connect.inc"); $tmp = NULL; $link = NULL; |
