cvs: php-src /ext/pdo_mysql/tests connection.inc pdo_001.phpt pdo_002.phpt pdo_003.phpt pdo_004.phpt pdo_005.phpt pdo_006.phpt pdo_007.phpt
pdo_008.phpt pdo_009.phpt pdo_010.phpt pdo_011.phpt pdo_012.phpt pdo_013.phpt pdo_014.phpt prepare.inc skipif.inc

From: Date: Sat, 26 Feb 2005 15:41:55 +0000
Subject: cvs: php-src /ext/pdo_mysql/tests connection.inc pdo_001.phpt pdo_002.phpt pdo_003.phpt pdo_004.phpt pdo_005.phpt pdo_006.phpt pdo_007.phpt
pdo_008.phpt pdo_009.phpt pdo_010.phpt pdo_011.phpt pdo_012.phpt pdo_013.phpt pdo_014.phpt prepare.inc skipif.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30612@lists.php.net to get a copy of this message
wez Sat Feb 26 10:41:55 2005 EDT Modified files: /php-src/ext/pdo_mysql/tests connection.inc pdo_001.phpt pdo_002.phpt pdo_003.phpt pdo_004.phpt pdo_005.phpt pdo_006.phpt pdo_007.phpt pdo_008.phpt pdo_009.phpt pdo_010.phpt pdo_011.phpt pdo_012.phpt pdo_013.phpt pdo_014.phpt prepare.inc skipif.inc Log: fix line endings

http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/connection.inc?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/connection.inc diff -u php-src/ext/pdo_mysql/tests/connection.inc:1.1 php-src/ext/pdo_mysql/tests/connection.inc:1.2 --- php-src/ext/pdo_mysql/tests/connection.inc:1.1 Sun Feb 20 13:23:12 2005 +++ php-src/ext/pdo_mysql/tests/connection.inc Sat Feb 26 10:41:54 2005 @@ -1,12 +1,12 @@ -<?php - -$HOST = 'localhost'; -$USER = 'root'; -$PASSWD = ''; -$DBNAME = 'test'; - -$CONNECTION = "mysql:host=$HOST;dbname=$DBNAME"; - -$PDO_TESTS = dirname(__FILE__) . '/../../pdo/tests/'; - -?> \ No newline at end of file +<?php + +$HOST = 'localhost'; +$USER = 'root'; +$PASSWD = ''; +$DBNAME = 'test'; + +$CONNECTION = "mysql:host=$HOST;dbname=$DBNAME"; + +$PDO_TESTS = dirname(__FILE__) . '/../../pdo/tests/'; + +?> http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_001.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_001.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_001.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_001.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_001.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_001.phpt Sat Feb 26 10:41:54 2005 @@ -1,41 +1,41 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_ASSOC +--TEST-- +PDO_MySQL: PDO_FETCH_ASSOC --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_001.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECT-- -array(3) { - [0]=> - array(2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - array(2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - [2]=> - array(2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_001.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +array(3) { + [0]=> + array(2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + array(2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + [2]=> + array(2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_002.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_002.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_002.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_002.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_002.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_002.phpt Sat Feb 26 10:41:54 2005 @@ -1,41 +1,41 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_NUM +--TEST-- +PDO_MySQL: PDO_FETCH_NUM --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_002.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECT-- -array(3) { - [0]=> - array(2) { - [0]=> - string(1) "1" - [1]=> - string(1) "A" - } - [1]=> - array(2) { - [0]=> - string(1) "2" - [1]=> - string(1) "B" - } - [2]=> - array(2) { - [0]=> - string(1) "3" - [1]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_002.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +array(3) { + [0]=> + array(2) { + [0]=> + string(1) "1" + [1]=> + string(1) "A" + } + [1]=> + array(2) { + [0]=> + string(1) "2" + [1]=> + string(1) "B" + } + [2]=> + array(2) { + [0]=> + string(1) "3" + [1]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_003.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_003.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_003.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_003.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_003.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_003.phpt Sat Feb 26 10:41:54 2005 @@ -1,53 +1,53 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_BOTH +--TEST-- +PDO_MySQL: PDO_FETCH_BOTH --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_003.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECT-- -array(3) { - [0]=> - array(4) { - ["id"]=> - string(1) "1" - [0]=> - string(1) "1" - ["val"]=> - string(1) "A" - [1]=> - string(1) "A" - } - [1]=> - array(4) { - ["id"]=> - string(1) "2" - [0]=> - string(1) "2" - ["val"]=> - string(1) "B" - [1]=> - string(1) "B" - } - [2]=> - array(4) { - ["id"]=> - string(1) "3" - [0]=> - string(1) "3" - ["val"]=> - string(1) "C" - [1]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_003.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +array(3) { + [0]=> + array(4) { + ["id"]=> + string(1) "1" + [0]=> + string(1) "1" + ["val"]=> + string(1) "A" + [1]=> + string(1) "A" + } + [1]=> + array(4) { + ["id"]=> + string(1) "2" + [0]=> + string(1) "2" + ["val"]=> + string(1) "B" + [1]=> + string(1) "B" + } + [2]=> + array(4) { + ["id"]=> + string(1) "3" + [0]=> + string(1) "3" + ["val"]=> + string(1) "C" + [1]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_004.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_004.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_004.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_004.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_004.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_004.phpt Sat Feb 26 10:41:54 2005 @@ -1,41 +1,41 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_OBJ +--TEST-- +PDO_MySQL: PDO_FETCH_OBJ --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_004.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(3) { - [0]=> - object(stdClass)#%d (2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - object(stdClass)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - [2]=> - object(stdClass)#%d (2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_004.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(3) { + [0]=> + object(stdClass)#%d (2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + object(stdClass)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + [2]=> + object(stdClass)#%d (2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_005.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_005.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_005.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_005.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_005.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_005.phpt Sat Feb 26 10:41:54 2005 @@ -1,120 +1,120 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_CLASS +--TEST-- +PDO_MySQL: PDO_FETCH_CLASS --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_005.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(3) { - [0]=> - object(stdClass)#%d (3) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - ["val2"]=> - string(2) "AA" - } - [1]=> - object(stdClass)#%d (3) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - ["val2"]=> - string(2) "BB" - } - [2]=> - object(stdClass)#%d (3) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - ["val2"]=> - string(2) "CC" - } -} -array(3) { - [0]=> - object(TestBase)#%d (3) { - ["id"]=> - string(1) "1" - ["val:protected"]=> - string(1) "A" - ["val2:private"]=> - string(2) "AA" - } - [1]=> - object(TestBase)#%d (3) { - ["id"]=> - string(1) "2" - ["val:protected"]=> - string(1) "B" - ["val2:private"]=> - string(2) "BB" - } - [2]=> - object(TestBase)#%d (3) { - ["id"]=> - string(1) "3" - ["val:protected"]=> - string(1) "C" - ["val2:private"]=> - string(2) "CC" - } -} -TestDerived::__construct(0,1) -TestDerived::__construct(1,2) -TestDerived::__construct(2,3) -array(3) { - [0]=> - object(TestDerived)#%d (5) { - ["row:protected"]=> - int(0) - ["id"]=> - string(1) "1" - ["val:protected"]=> - string(1) "A" - ["val2:private"]=> - NULL - ["val2"]=> - string(2) "AA" - } - [1]=> - object(TestDerived)#%d (5) { - ["row:protected"]=> - int(1) - ["id"]=> - string(1) "2" - ["val:protected"]=> - string(1) "B" - ["val2:private"]=> - NULL - ["val2"]=> - string(2) "BB" - } - [2]=> - object(TestDerived)#%d (5) { - ["row:protected"]=> - int(2) - ["id"]=> - string(1) "3" - ["val:protected"]=> - string(1) "C" - ["val2:private"]=> - NULL - ["val2"]=> - string(2) "CC" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_005.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(3) { + [0]=> + object(stdClass)#%d (3) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + ["val2"]=> + string(2) "AA" + } + [1]=> + object(stdClass)#%d (3) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + ["val2"]=> + string(2) "BB" + } + [2]=> + object(stdClass)#%d (3) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + ["val2"]=> + string(2) "CC" + } +} +array(3) { + [0]=> + object(TestBase)#%d (3) { + ["id"]=> + string(1) "1" + ["val:protected"]=> + string(1) "A" + ["val2:private"]=> + string(2) "AA" + } + [1]=> + object(TestBase)#%d (3) { + ["id"]=> + string(1) "2" + ["val:protected"]=> + string(1) "B" + ["val2:private"]=> + string(2) "BB" + } + [2]=> + object(TestBase)#%d (3) { + ["id"]=> + string(1) "3" + ["val:protected"]=> + string(1) "C" + ["val2:private"]=> + string(2) "CC" + } +} +TestDerived::__construct(0,1) +TestDerived::__construct(1,2) +TestDerived::__construct(2,3) +array(3) { + [0]=> + object(TestDerived)#%d (5) { + ["row:protected"]=> + int(0) + ["id"]=> + string(1) "1" + ["val:protected"]=> + string(1) "A" + ["val2:private"]=> + NULL + ["val2"]=> + string(2) "AA" + } + [1]=> + object(TestDerived)#%d (5) { + ["row:protected"]=> + int(1) + ["id"]=> + string(1) "2" + ["val:protected"]=> + string(1) "B" + ["val2:private"]=> + NULL + ["val2"]=> + string(2) "BB" + } + [2]=> + object(TestDerived)#%d (5) { + ["row:protected"]=> + int(2) + ["id"]=> + string(1) "3" + ["val:protected"]=> + string(1) "C" + ["val2:private"]=> + NULL + ["val2"]=> + string(2) "CC" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_006.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_006.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_006.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_006.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_006.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_006.phpt Sat Feb 26 10:41:54 2005 @@ -1,64 +1,64 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_GROUP +--TEST-- +PDO_MySQL: PDO_FETCH_GROUP --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_006.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(2) { - ["A"]=> - array(2) { - [0]=> - array(1) { - [0]=> - string(1) "1" - } - [1]=> - array(1) { - [0]=> - string(1) "2" - } - } - ["C"]=> - array(1) { - [0]=> - array(1) { - [0]=> - string(1) "3" - } - } -} -array(2) { - ["A"]=> - array(2) { - [0]=> - array(1) { - ["id"]=> - string(1) "1" - } - [1]=> - array(1) { - ["id"]=> - string(1) "2" - } - } - ["C"]=> - array(1) { - [0]=> - array(1) { - ["id"]=> - string(1) "3" - } - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_006.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(2) { + ["A"]=> + array(2) { + [0]=> + array(1) { + [0]=> + string(1) "1" + } + [1]=> + array(1) { + [0]=> + string(1) "2" + } + } + ["C"]=> + array(1) { + [0]=> + array(1) { + [0]=> + string(1) "3" + } + } +} +array(2) { + ["A"]=> + array(2) { + [0]=> + array(1) { + ["id"]=> + string(1) "1" + } + [1]=> + array(1) { + ["id"]=> + string(1) "2" + } + } + ["C"]=> + array(1) { + [0]=> + array(1) { + ["id"]=> + string(1) "3" + } + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_007.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_007.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_007.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_007.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_007.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_007.phpt Sat Feb 26 10:41:54 2005 @@ -1,52 +1,52 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_UNIQUE +--TEST-- +PDO_MySQL: PDO_FETCH_UNIQUE --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_007.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(3) { - ["A"]=> - array(1) { - [0]=> - string(1) "A" - } - ["B"]=> - array(1) { - [0]=> - string(1) "A" - } - ["C"]=> - array(1) { - [0]=> - string(1) "C" - } -} -array(3) { - ["A"]=> - array(1) { - ["val"]=> - string(1) "A" - } - ["B"]=> - array(1) { - ["val"]=> - string(1) "A" - } - ["C"]=> - array(1) { - ["val"]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_007.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(3) { + ["A"]=> + array(1) { + [0]=> + string(1) "A" + } + ["B"]=> + array(1) { + [0]=> + string(1) "A" + } + ["C"]=> + array(1) { + [0]=> + string(1) "C" + } +} +array(3) { + ["A"]=> + array(1) { + ["val"]=> + string(1) "A" + } + ["B"]=> + array(1) { + ["val"]=> + string(1) "A" + } + ["C"]=> + array(1) { + ["val"]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_008.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_008.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_008.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_008.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_008.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_008.phpt Sat Feb 26 10:41:54 2005 @@ -1,30 +1,30 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_UNIQUE conflict +--TEST-- +PDO_MySQL: PDO_FETCH_UNIQUE conflict --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_008.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(2) { - ["A"]=> - array(1) { - [0]=> - string(1) "B" - } - ["C"]=> - array(1) { - [0]=> - string(1) "C" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_008.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(2) { + ["A"]=> + array(1) { + [0]=> + string(1) "B" + } + ["C"]=> + array(1) { + [0]=> + string(1) "C" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_009.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_009.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_009.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_009.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_009.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_009.phpt Sat Feb 26 10:41:54 2005 @@ -1,89 +1,89 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_CLASSTYPE +--TEST-- +PDO_MySQL: PDO_FETCH_CLASSTYPE --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_009.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(4) { - [0]=> - array(3) { - [0]=> - string(8) "stdClass" - [1]=> - string(1) "1" - [2]=> - string(1) "A" - } - [1]=> - array(3) { - [0]=> - string(5) "Test1" - [1]=> - string(1) "2" - [2]=> - string(1) "B" - } - [2]=> - array(3) { - [0]=> - string(5) "Test2" - [1]=> - string(1) "3" - [2]=> - string(1) "C" - } - [3]=> - array(3) { - [0]=> - NULL - [1]=> - string(1) "4" - [2]=> - string(1) "D" - } -} -Test1::__construct() -Test2::__construct() -Test3::__construct() -array(4) { - [0]=> - object(stdClass)#%d (2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - [2]=> - object(Test2)#%d (2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } - [3]=> - object(Test3)#%d (2) { - ["id"]=> - string(1) "4" - ["val"]=> - string(1) "D" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_009.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(4) { + [0]=> + array(3) { + [0]=> + string(8) "stdClass" + [1]=> + string(1) "1" + [2]=> + string(1) "A" + } + [1]=> + array(3) { + [0]=> + string(5) "Test1" + [1]=> + string(1) "2" + [2]=> + string(1) "B" + } + [2]=> + array(3) { + [0]=> + string(5) "Test2" + [1]=> + string(1) "3" + [2]=> + string(1) "C" + } + [3]=> + array(3) { + [0]=> + NULL + [1]=> + string(1) "4" + [2]=> + string(1) "D" + } +} +Test1::__construct() +Test2::__construct() +Test3::__construct() +array(4) { + [0]=> + object(stdClass)#%d (2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + [2]=> + object(Test2)#%d (2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } + [3]=> + object(Test3)#%d (2) { + ["id"]=> + string(1) "4" + ["val"]=> + string(1) "D" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_010.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_010.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_010.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_010.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_010.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_010.phpt Sat Feb 26 10:41:54 2005 @@ -1,76 +1,76 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_(CLASSTYPE and GROUP/UNIQUE) +--TEST-- +PDO_MySQL: PDO_FETCH_(CLASSTYPE and GROUP/UNIQUE) --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_010.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -Test1::__construct() -Test2::__construct() -Test3::__construct() -array(2) { - ["Group1"]=> - array(2) { - [0]=> - object(stdClass)#%d (2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - } - ["Group2"]=> - array(2) { - [0]=> - object(Test2)#%d (2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } - [1]=> - object(Test3)#%d (2) { - ["id"]=> - string(1) "4" - ["val"]=> - string(1) "D" - } - } -} -Test1::__construct() -Test2::__construct() -Test3::__construct() -array(2) { - ["Group1"]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - ["Group2"]=> - object(Test3)#%d (2) { - ["id"]=> - string(1) "4" - ["val"]=> - string(1) "D" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_010.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +Test1::__construct() +Test2::__construct() +Test3::__construct() +array(2) { + ["Group1"]=> + array(2) { + [0]=> + object(stdClass)#%d (2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + } + ["Group2"]=> + array(2) { + [0]=> + object(Test2)#%d (2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } + [1]=> + object(Test3)#%d (2) { + ["id"]=> + string(1) "4" + ["val"]=> + string(1) "D" + } + } +} +Test1::__construct() +Test2::__construct() +Test3::__construct() +array(2) { + ["Group1"]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + ["Group2"]=> + object(Test3)#%d (2) { + ["id"]=> + string(1) "4" + ["val"]=> + string(1) "D" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_011.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_011.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_011.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_011.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_011.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_011.phpt Sat Feb 26 10:41:54 2005 @@ -1,181 +1,181 @@ ---TEST-- -PDO_MySQL: PDO_FETCH_FUNC and statement overloading +--TEST-- +PDO_MySQL: PDO_FETCH_FUNC and statement overloading --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_011.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -Test1::__construct(0,0) -test(1,N/A) -test(2,N/A) -test(3,N/A) -test(4,N/A) -array(2) { - ["Group1"]=> - array(2) { - [0]=> - array(1) { - [1]=> - string(3) "N/A" - } - [1]=> - array(1) { - [2]=> - string(3) "N/A" - } - } - ["Group2"]=> - array(2) { - [0]=> - array(1) { - [3]=> - string(3) "N/A" - } - [1]=> - array(1) { - [4]=> - string(3) "N/A" - } - } -} -test(1,A) -test(2,B) -test(3,C) -test(4,D) -array(4) { - [0]=> - array(1) { - [1]=> - string(1) "A" - } - [1]=> - array(1) { - [2]=> - string(1) "B" - } - [2]=> - array(1) { - [3]=> - string(1) "C" - } - [3]=> - array(1) { - [4]=> - string(1) "D" - } -} -Test1::factory(1,A) -Test1::__construct(1,A) -Test1::factory(2,B) -Test1::__construct(2,B) -Test1::factory(3,C) -Test1::__construct(3,C) -Test1::factory(4,D) -Test1::__construct(4,D) -array(4) { - [0]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - [2]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } - [3]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "4" - ["val"]=> - string(1) "D" - } -} -Test1::factory(1,A) -Test1::__construct(1,A) -Test1::factory(2,B) -Test1::__construct(2,B) -Test1::factory(3,C) -Test1::__construct(3,C) -Test1::factory(4,D) -Test1::__construct(4,D) -array(4) { - [0]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "1" - ["val"]=> - string(1) "A" - } - [1]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "2" - ["val"]=> - string(1) "B" - } - [2]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "3" - ["val"]=> - string(1) "C" - } - [3]=> - object(Test1)#%d (2) { - ["id"]=> - string(1) "4" - ["val"]=> - string(1) "D" - } -} -DerivedStatement::__construct(Overloaded) -string(16) "DerivedStatement" -DerivedStatement::retrieve(1,A) -DerivedStatement::retrieve(2,B) -DerivedStatement::retrieve(3,C) -DerivedStatement::retrieve(4,D) -array(4) { - [0]=> - array(1) { - [1]=> - string(1) "A" - } - [1]=> - array(1) { - [2]=> - string(1) "B" - } - [2]=> - array(1) { - [3]=> - string(1) "C" - } - [3]=> - array(1) { - [4]=> - string(1) "D" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_011.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +Test1::__construct(0,0) +test(1,N/A) +test(2,N/A) +test(3,N/A) +test(4,N/A) +array(2) { + ["Group1"]=> + array(2) { + [0]=> + array(1) { + [1]=> + string(3) "N/A" + } + [1]=> + array(1) { + [2]=> + string(3) "N/A" + } + } + ["Group2"]=> + array(2) { + [0]=> + array(1) { + [3]=> + string(3) "N/A" + } + [1]=> + array(1) { + [4]=> + string(3) "N/A" + } + } +} +test(1,A) +test(2,B) +test(3,C) +test(4,D) +array(4) { + [0]=> + array(1) { + [1]=> + string(1) "A" + } + [1]=> + array(1) { + [2]=> + string(1) "B" + } + [2]=> + array(1) { + [3]=> + string(1) "C" + } + [3]=> + array(1) { + [4]=> + string(1) "D" + } +} +Test1::factory(1,A) +Test1::__construct(1,A) +Test1::factory(2,B) +Test1::__construct(2,B) +Test1::factory(3,C) +Test1::__construct(3,C) +Test1::factory(4,D) +Test1::__construct(4,D) +array(4) { + [0]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + [2]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } + [3]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "4" + ["val"]=> + string(1) "D" + } +} +Test1::factory(1,A) +Test1::__construct(1,A) +Test1::factory(2,B) +Test1::__construct(2,B) +Test1::factory(3,C) +Test1::__construct(3,C) +Test1::factory(4,D) +Test1::__construct(4,D) +array(4) { + [0]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "1" + ["val"]=> + string(1) "A" + } + [1]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "2" + ["val"]=> + string(1) "B" + } + [2]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "3" + ["val"]=> + string(1) "C" + } + [3]=> + object(Test1)#%d (2) { + ["id"]=> + string(1) "4" + ["val"]=> + string(1) "D" + } +} +DerivedStatement::__construct(Overloaded) +string(16) "DerivedStatement" +DerivedStatement::retrieve(1,A) +DerivedStatement::retrieve(2,B) +DerivedStatement::retrieve(3,C) +DerivedStatement::retrieve(4,D) +array(4) { + [0]=> + array(1) { + [1]=> + string(1) "A" + } + [1]=> + array(1) { + [2]=> + string(1) "B" + } + [2]=> + array(1) { + [3]=> + string(1) "C" + } + [3]=> + array(1) { + [4]=> + string(1) "D" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_012.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_012.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_012.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_012.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_012.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_012.phpt Sat Feb 26 10:41:54 2005 @@ -1,70 +1,70 @@ ---TEST-- -PDO_MySQ: PDOStatement::setFetchMode +--TEST-- +PDO_MySQ: PDOStatement::setFetchMode --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_012.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(2) { - [0]=> - array(2) { - [0]=> - string(1) "A" - [1]=> - string(6) "Group1" - } - [1]=> - array(2) { - [0]=> - string(1) "B" - [1]=> - string(6) "Group2" - } -} -Test::__construct(N/A) -Test::__construct(N/A) -array(2) { - [0]=> - object(Test)#%d (2) { - ["val"]=> - string(1) "A" - ["grp"]=> - string(6) "Group1" - } - [1]=> - object(Test)#%d (2) { - ["val"]=> - string(1) "B" - ["grp"]=> - string(6) "Group2" - } -} -Test::__construct(Changed) -Test::__construct(Changed) -array(2) { - [0]=> - object(Test)#%d (2) { - ["val"]=> - string(1) "A" - ["grp"]=> - string(6) "Group1" - } - [1]=> - object(Test)#%d (2) { - ["val"]=> - string(1) "B" - ["grp"]=> - string(6) "Group2" - } -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_012.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(2) { + [0]=> + array(2) { + [0]=> + string(1) "A" + [1]=> + string(6) "Group1" + } + [1]=> + array(2) { + [0]=> + string(1) "B" + [1]=> + string(6) "Group2" + } +} +Test::__construct(N/A) +Test::__construct(N/A) +array(2) { + [0]=> + object(Test)#%d (2) { + ["val"]=> + string(1) "A" + ["grp"]=> + string(6) "Group1" + } + [1]=> + object(Test)#%d (2) { + ["val"]=> + string(1) "B" + ["grp"]=> + string(6) "Group2" + } +} +Test::__construct(Changed) +Test::__construct(Changed) +array(2) { + [0]=> + object(Test)#%d (2) { + ["val"]=> + string(1) "A" + ["grp"]=> + string(6) "Group1" + } + [1]=> + object(Test)#%d (2) { + ["val"]=> + string(1) "B" + ["grp"]=> + string(6) "Group2" + } +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_013.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_013.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_013.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_013.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_013.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_013.phpt Sat Feb 26 10:41:54 2005 @@ -1,58 +1,58 @@ ---TEST-- -PDO_MySQL: PDOStatement is Traversable +--TEST-- +PDO_MySQL: PDOStatement is Traversable --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); ?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_013.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -array(2) { - [0]=> - string(1) "A" - [1]=> - string(6) "Group1" -} -array(2) { - [0]=> - string(1) "B" - [1]=> - string(6) "Group2" -} -Test::__construct(N/A) -object(Test)#%d (2) { - ["val"]=> - string(1) "A" - ["grp"]=> - string(6) "Group1" -} -Test::__construct(N/A) -object(Test)#%d (2) { - ["val"]=> - string(1) "B" - ["grp"]=> - string(6) "Group2" -} -Test::__construct(WOW) -object(Test)#%d (2) { - ["val"]=> - string(1) "A" - ["grp"]=> - string(6) "Group1" -} -Test::__construct(WOW) -object(Test)#%d (2) { - ["val"]=> - string(1) "B" - ["grp"]=> - string(6) "Group2" -} -===DONE=== +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_013.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +array(2) { + [0]=> + string(1) "A" + [1]=> + string(6) "Group1" +} +array(2) { + [0]=> + string(1) "B" + [1]=> + string(6) "Group2" +} +Test::__construct(N/A) +object(Test)#%d (2) { + ["val"]=> + string(1) "A" + ["grp"]=> + string(6) "Group1" +} +Test::__construct(N/A) +object(Test)#%d (2) { + ["val"]=> + string(1) "B" + ["grp"]=> + string(6) "Group2" +} +Test::__construct(WOW) +object(Test)#%d (2) { + ["val"]=> + string(1) "A" + ["grp"]=> + string(6) "Group1" +} +Test::__construct(WOW) +object(Test)#%d (2) { + ["val"]=> + string(1) "B" + ["grp"]=> + string(6) "Group2" +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/pdo_014.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/pdo_014.phpt diff -u php-src/ext/pdo_mysql/tests/pdo_014.phpt:1.1 php-src/ext/pdo_mysql/tests/pdo_014.phpt:1.2 --- php-src/ext/pdo_mysql/tests/pdo_014.phpt:1.1 Wed Feb 23 19:11:16 2005 +++ php-src/ext/pdo_mysql/tests/pdo_014.phpt Sat Feb 26 10:41:54 2005 @@ -1,50 +1,50 @@ ---TEST-- -PDO_MySQL: PDOStatement and SPL Iterators +--TEST-- +PDO_MySQL: PDOStatement and SPL Iterators --SKIPIF-- <?php # vim:ft=php -require_once('skipif.inc'); -if (!extension_loaded('SPL')) die('skip SPL not available'); -?> ---FILE-- -<?php - -require_once('connection.inc'); -require_once('prepare.inc'); - -require_once($PDO_TESTS . 'pdo_014.inc'); - -?> -===DONE=== -<?php exit(0); ?> ---EXPECTF-- -Test::__construct(WOW) -object(Test)#4 (2) { - ["val"]=> - string(1) "A" - ["grp"]=> - string(6) "Group1" -} -Test::__construct(WOW) -object(Test)#6 (2) { - ["val"]=> - string(1) "B" - ["grp"]=> - string(6) "Group2" -} -NULL -bool(false) -PDOStatementAggregate::__construct -PDOStatementAggregate::getIterator -array(2) { - [0]=> - string(1) "A" - [1]=> - string(6) "Group1" -} -array(2) { - [0]=> - string(1) "B" - [1]=> - string(6) "Group2" -} -===DONE=== +require_once('skipif.inc'); +if (!extension_loaded('SPL')) die('skip SPL not available'); +?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_014.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +Test::__construct(WOW) +object(Test)#4 (2) { + ["val"]=> + string(1) "A" + ["grp"]=> + string(6) "Group1" +} +Test::__construct(WOW) +object(Test)#6 (2) { + ["val"]=> + string(1) "B" + ["grp"]=> + string(6) "Group2" +} +NULL +bool(false) +PDOStatementAggregate::__construct +PDOStatementAggregate::getIterator +array(2) { + [0]=> + string(1) "A" + [1]=> + string(6) "Group1" +} +array(2) { + [0]=> + string(1) "B" + [1]=> + string(6) "Group2" +} +===DONE=== http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/prepare.inc?r1=1.2&r2=1.3&ty=u Index: php-src/ext/pdo_mysql/tests/prepare.inc diff -u php-src/ext/pdo_mysql/tests/prepare.inc:1.2 php-src/ext/pdo_mysql/tests/prepare.inc:1.3 --- php-src/ext/pdo_mysql/tests/prepare.inc:1.2 Mon Feb 21 13:54:42 2005 +++ php-src/ext/pdo_mysql/tests/prepare.inc Sat Feb 26 10:41:54 2005 @@ -1,16 +1,16 @@ -<?php - -require_once('connection.inc'); - -$SQL = array(); - -$DB = new pdo($CONNECTION, $USER, $PASSWD); - -foreach(array('test','classtypes') as $name) -{ - $DB->query('DROP TABLE IF EXISTS '.$name); -} - -$DB->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_WARNING); - -?> \ No newline at end of file +<?php + +require_once('connection.inc'); + +$SQL = array(); + +$DB = new pdo($CONNECTION, $USER, $PASSWD); + +foreach(array('test','classtypes') as $name) +{ + $DB->query('DROP TABLE IF EXISTS '.$name); +} + +$DB->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_WARNING); + +?> http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/skipif.inc?r1=1.1&r2=1.2&ty=u Index: php-src/ext/pdo_mysql/tests/skipif.inc diff -u php-src/ext/pdo_mysql/tests/skipif.inc:1.1 php-src/ext/pdo_mysql/tests/skipif.inc:1.2 --- php-src/ext/pdo_mysql/tests/skipif.inc:1.1 Sun Feb 20 13:23:12 2005 +++ php-src/ext/pdo_mysql/tests/skipif.inc Sat Feb 26 10:41:54 2005 @@ -1,12 +1,12 @@ -<?php - -if (!extension_loaded('pdo_mysql')) die('skip'); - -require_once('connection.inc'); -require_once('prepare.inc'); - -if (!$DB) { - die('skip cannot open db'); -} - -?> \ No newline at end of file +<?php + +if (!extension_loaded('pdo_mysql')) die('skip'); + +require_once('connection.inc'); +require_once('prepare.inc'); + +if (!$DB) { + die('skip cannot open db'); +} + +?>
« previous php.cvs (#30612) next »