diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-20 18:59:13 -0300 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2018-02-22 08:11:30 +0100 |
commit | b895690dfacfcc888ff3d652d9997557154ddf0a (patch) | |
tree | a799bb44fa9efad5a03a63e1e9de2c1e05e46347 /ext/pdo_sqlite | |
parent | 230ef2d94774939f92128bcbbc54ffc046c2000e (diff) | |
download | php-git-b895690dfacfcc888ff3d652d9997557154ddf0a.tar.gz |
remove support for string|unicode in tests
Diffstat (limited to 'ext/pdo_sqlite')
4 files changed, 19 insertions, 19 deletions
diff --git a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt index ea6f22c054..a538f56983 100644 --- a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt +++ b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt @@ -75,19 +75,19 @@ var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'inexistent'))); --EXPECTF-- object(PDOStatement)#%d (1) { ["queryString"]=> - %string|unicode%(21) "SELECT * FROM testing" + string(21) "SELECT * FROM testing" } data: 1, php object(PDOStatement)#%d (1) { ["queryString"]=> - %string|unicode%(21) "SELECT * FROM testing" + string(21) "SELECT * FROM testing" } data: 2, array(2) { [0]=> - %string|unicode%(3) "PHP" + string(3) "PHP" [1]=> - %string|unicode%(0) "" + string(0) "" } Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: function 'nothing' not found or invalid function name in %s on line %d @@ -106,24 +106,24 @@ Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: class 'PDOSta bool(false) array(2) { [0]=> - %string|unicode%(9) "--- 1 ---" + string(9) "--- 1 ---" [1]=> - %string|unicode%(9) "--- 2 ---" + string(9) "--- 2 ---" } array(2) { [0]=> - %string|unicode%(7) "1---php" + string(7) "1---php" [1]=> - %string|unicode%(4) "2---" + string(4) "2---" } Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: cannot access private method bar::test2() in %s on line %d bool(false) array(2) { [0]=> - %string|unicode%(7) "1===php" + string(7) "1===php" [1]=> - %string|unicode%(4) "2===" + string(4) "2===" } Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: class 'bar' does not have a method 'inexistent' in %s on line %d diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt index 975dcd96bd..54eb06411f 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt @@ -25,7 +25,7 @@ $db->query('DROP TABLE foobar'); --EXPECTF-- array(2) { ["testing(name)"]=> - %string|unicode%(2) "12" + string(2) "12" [0]=> - %string|unicode%(2) "12" + string(2) "12" } diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt index b675879980..13867ae25c 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt @@ -26,13 +26,13 @@ $db->query('DROP TABLE foobar'); --EXPECTF-- array(2) { ["testing(name)"]=> - %string|unicode%(3) "php" + string(3) "php" [0]=> - %string|unicode%(3) "php" + string(3) "php" } array(2) { ["testing(name)"]=> - %string|unicode%(4) "php6" + string(4) "php6" [0]=> - %string|unicode%(4) "php6" + string(4) "php6" } diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt index 2ff0acd772..bb4d033dda 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt @@ -19,14 +19,14 @@ $db->query('DROP TABLE foo'); --EXPECTF-- object(PDOStatement)#2 (1) { ["queryString"]=> - %string|unicode%(17) "SELECT * FROM foo" + string(17) "SELECT * FROM foo" } array(3) { [0]=> - %string|unicode%(5) "00000" + string(5) "00000" [1]=> NULL [2]=> NULL } -%string|unicode%(1) "2" +string(1) "2" |