We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65faa58 commit 681827cCopy full SHA for 681827c
ext/pdo_mysql/tests/gh11550.phpt
@@ -13,6 +13,8 @@ MySQLPDOTest::skip();
13
require_once __DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc';
14
$pdo = MySQLPDOTest::factory();
15
16
+$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
17
+
18
$pdo->exec(<<<'SQL'
19
CREATE TABLE `test_gh11550` (
20
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@@ -51,9 +53,9 @@ array(1) {
51
53
[0]=>
52
54
array(4) {
55
["id"]=>
- int(1)
56
+ string(1) "1"
57
58
59
["name"]=>
60
string(5) "test1"
61
[1]=>
@@ -66,9 +68,9 @@ array(1) {
66
68
67
69
array(6) {
70
71
72
73
74
75
76
0 commit comments