1--TEST--
2Bug #44327.3 (PDORow::queryString property & numeric offsets / Crash)
3--EXTENSIONS--
4pdo_sqlite
5--FILE--
6<?php
7
8$db = new PDO('sqlite::memory:');
9
10$x = $db->query('select 1 as queryStringxx');
11$y = $x->fetch(PDO::FETCH_LAZY);
12var_dump($y, $y->queryString, $y->queryStringzz, $y->queryStringxx);
13
14print "---\n";
15
16var_dump($y[5], $y->{3});
17
18?>
19--EXPECTF--
20object(PDORow)#%d (2) {
21  ["queryString"]=>
22  string(25) "select 1 as queryStringxx"
23  ["queryStringxx"]=>
24  int(1)
25}
26string(25) "select 1 as queryStringxx"
27NULL
28int(1)
29---
30NULL
31NULL
32