svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt trunk/ext/mysqli/tests/bug46614.phpt
| From: | Ulf Wendel | Date: | Thu, 24 Sep 2009 09:40:24 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt trunk/ext/mysqli/tests/bug46614.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60500@lists.php.net to get a copy of this message | ||
uw Thu, 24 Sep 2009 09:40:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288644
Log:
Fixing test
Changed paths:
U php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt
U php/php-src/trunk/ext/mysqli/tests/bug46614.phpt
Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt 2009-09-24 09:33:35 UTC (rev 288643)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug46614.phpt 2009-09-24 09:40:24 UTC (rev 288644)
@@ -12,7 +12,7 @@
<?php
class MySQL_Ext extends mysqli{
protected $fooData = array();
-
+
public function isEmpty()
{
$this->extData[] = 'Bar';
@@ -20,13 +20,11 @@
}
}
+include ("connect.inc");
+$MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db, $port, $socket);
-
- include ("connect.inc");
- $MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db);
-
- $isEmpty = $MySQL_Ext->isEmpty();
- var_dump($isEmpty);
+$isEmpty = $MySQL_Ext->isEmpty();
+var_dump($isEmpty);
?>
--EXPECT--
bool(false)
Modified: php/php-src/trunk/ext/mysqli/tests/bug46614.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/bug46614.phpt 2009-09-24 09:33:35 UTC (rev 288643)
+++ php/php-src/trunk/ext/mysqli/tests/bug46614.phpt 2009-09-24 09:40:24 UTC (rev 288644)
@@ -12,7 +12,7 @@
<?php
class MySQL_Ext extends mysqli{
protected $fooData = array();
-
+
public function isEmpty()
{
$this->extData[] = 'Bar';
@@ -20,13 +20,11 @@
}
}
+include ("connect.inc");
+$MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db, $port, $socket);
-
- include ("connect.inc");
- $MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db);
-
- $isEmpty = $MySQL_Ext->isEmpty();
- var_dump($isEmpty);
+$isEmpty = $MySQL_Ext->isEmpty();
+var_dump($isEmpty);
?>
--EXPECT--
bool(false)