Lines Matching refs:val
18 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))');
31 function reTrieve($id, $val) {
32 echo __METHOD__ . "($id,$val)\n";
33 return array($id=>$val);
38 $select2 = $db->prepare('SELECT id, val FROM test');
39 $derived = $db->prepare('SELECT id, val FROM test', array(PDO::ATTR_STATEMENT_CLASS=>array('Derived…
43 public function __construct(public $id, public $val)
45 echo __METHOD__ . "($id,$val)\n";
48 static public function factory($id, $val)
50 echo __METHOD__ . "($id,$val)\n";
51 return new self($id, $val);
55 function test($id,$val='N/A')
57 echo __METHOD__ . "($id,$val)\n";
58 return array($id=>$val);
158 ["val"]=>
165 ["val"]=>
172 ["val"]=>
179 ["val"]=>
196 ["val"]=>
203 ["val"]=>
210 ["val"]=>
217 ["val"]=>