Lines Matching refs:label
18 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
21 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
25 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
27 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
31 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
40 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
49 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
58 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
67 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
76 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
85 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
89 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
93 $stmt = $link->prepare('SELECT label FROM test WHERE id=1');
95 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a']);
99 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
101 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
103 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
112 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
115 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>null, 'num' => null]);
119 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');