mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
Unicode support
This commit is contained in:
+1
-1
@@ -827,7 +827,7 @@ static PHP_METHOD(PDO, getAttribute)
|
||||
|
||||
case PDO_ATTR_STATEMENT_CLASS:
|
||||
array_init(return_value);
|
||||
add_next_index_string(return_value, dbh->def_stmt_ce->name, 1);
|
||||
add_next_index_text(return_value, dbh->def_stmt_ce->name, 1);
|
||||
if (dbh->def_stmt_ctor_args) {
|
||||
dbh->def_stmt_ctor_args->refcount++;
|
||||
add_next_index_zval(return_value, dbh->def_stmt_ctor_args);
|
||||
|
||||
@@ -137,13 +137,26 @@ array(3) {
|
||||
===DONE===
|
||||
PDODatabase::__destruct()
|
||||
PDOStatementX::__destruct()
|
||||
--UEXPECT--
|
||||
--UEXPECTF--
|
||||
unicode(11) "PDODatabase"
|
||||
unicode(12) "PDOStatement"
|
||||
===QUERY===
|
||||
array(1) {
|
||||
[0]=>
|
||||
unicode(12) "PDOStatement"
|
||||
}
|
||||
array(2) {
|
||||
[0]=>
|
||||
unicode(13) "PDOStatementX"
|
||||
[1]=>
|
||||
array(1) {
|
||||
[0]=>
|
||||
object(PDODatabase)#%d (0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
PDODatabase::query()
|
||||
PDOStatementX::__construct()
|
||||
PDOStatementX::execute()
|
||||
unicode(13) "PDOStatementX"
|
||||
unicode(11) "PDODatabase"
|
||||
===FOREACH===
|
||||
|
||||
Reference in New Issue
Block a user