Home
last modified time | relevance | path

Searched refs:id (Results 26 – 50 of 826) sorted by relevance

12345678910>>...34

/PHP-5.5/tests/classes/
H A Dclone_006.phpt11 static $id = 0;
14 $this->id = self::$id++;
19 $this->id = self::$id++;
28 echo $original->id . "\n";
32 echo $clone->id . "\n";
/PHP-5.5/ext/intl/tests/
H A Dtransliterator_transliterate_variant1.phpt16 function __toString() { return "inexistent id"; }
26 Warning: transliterator_transliterate(): String conversion of id to UTF-16 failed in %s on line %d
30 String conversion of id to UTF-16 failed: U_INVALID_CHAR_FOUND
32 …te(): transliterator_create: unable to open ICU transliterator with id "inexistent id" in %s on li…
34 …ransliterator with ID "inexistent id" (transliterator_create: unable to open ICU transliterator wi…
36 transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID
H A Dtransliterator_create_error.phpt9 Transliterator::create("inexistent id");
16 …te(): transliterator_create: unable to open ICU transliterator with id "inexistent id" in %s on li…
17 transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID
19 Warning: Transliterator::create(): String conversion of id to UTF-16 failed in %s on line %d
20 String conversion of id to UTF-16 failed: U_INVALID_CHAR_FOUND
/PHP-5.5/ext/spl/tests/
H A Darray_005.phpt8 private $id;
11 public function __construct($id, $name)
13 $this->id = $id;
19 return $this->id . ', ' . $this->name;
24 return $this->id;
30 private $id;
35 $this->id = $other->getId();
40 echo "ACCEPT ".$this->current()->getId()." == ".$this->id."\n";
41 return $this->current()->getId() == $this->id;
H A Diterator_003.phpt8 private $id;
11 public function __construct($id, $name)
13 $this->id = $id;
19 return $this->id . ', ' . $this->name;
24 return $this->id;
30 private $id;
35 $this->id = $other->getId();
40 echo "ACCEPT ".$this->current()->getId()." == ".$this->id."\n";
41 return $this->current()->getId() == $this->id;
/PHP-5.5/ext/xsl/tests/
H A Dxslt011.phpt23 function foobar($id, $secondArg = "" ) {
24 if (is_array($id)) {
25 return $id[0]->value . " - " . $secondArg;
27 return $id . " - " . $secondArg;
30 function nodeSet($id = null) {
31 if ($id and is_array($id)) {
32 return $id[0];
44 static function aStaticFunction($id) {
45 return $id;
/PHP-5.5/ext/pdo/tests/
H A Dpdo_011.phpt33 return array($id=>$val);
46 $this->id = $id;
60 return array($id=>$val);
158 ["id"]=>
165 ["id"]=>
172 ["id"]=>
179 ["id"]=>
196 ["id"]=>
203 ["id"]=>
210 ["id"]=>
[all …]
H A Dpdo_005.phpt26 public $id;
37 echo __METHOD__ . "($row,{$this->id})\n";
56 ["id"]=>
65 ["id"]=>
74 ["id"]=>
85 ["id"]=>
94 ["id"]=>
103 ["id"]=>
119 ["id"]=>
132 ["id"]=>
[all …]
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_nextrowset.phpt59 …EATE PROCEDURE p() BEGIN SELECT id FROM test ORDER BY id ASC LIMIT 3; SELECT id, label FROM test W…
129 [%u|b%"id"]=>
134 [%u|b%"id"]=>
139 [%u|b%"id"]=>
146 [%u|b%"id"]=>
153 [%u|b%"id"]=>
160 [%u|b%"id"]=>
178 [%u|b%"id"]=>
183 [%u|b%"id"]=>
188 [%u|b%"id"]=>
[all …]
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt21 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
23 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC');
24 $stmt->execute(array('id', 'label', 'label'));
37 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC');
38 $stmt->execute(array('id', 'label', 'label'));
46 if (isset($tmp[0]['id'])) {
48 if (gettype($tmp[0]['id']) == 'string')
50 settype($tmp[0]['id'], 'integer');
72 ["id"]=>
83 string(2) "id"
[all …]
H A Dpdo_mysql_stmt_closecursor.phpt22 $stmt1 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
24 $stmt2 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
29 $stmt1 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
33 $stmt1 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
42 $stmt2->bindValue(2, $row1['id']);
56 $stmt1 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
58 $stmt2 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
61 $stmt1 = $db->query('SELECT id, label FROM test ORDER BY id ASC');
79 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
86 $id = $label = null;
[all …]
H A Dpdo_mysql_prepare_native.phpt174 $stmt = prepex(26, $db, 'SELECT id, label FROM test ORDER BY id ASC');
218 array('id'));
220 array('id'));
240 "id" => "1",
244 "id" => "2",
251 $exp[0]['id'] = 1;
252 $exp[1]['id'] = 2;
306 $exp[0]['id'] = 1;
314 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
320 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
[all …]
H A Dpdo_mysql_prepare_emulated.phpt195 …$sql = "SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label AS 'SELECT' F…
223 array('id'));
225 array('id'));
291 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
298 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
304 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
309 …$sql = "SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label AS 'SELECT' F…
364 [%u|b%"id"]=>
371 [%u|b%"id"]=>
406 [%u|b%"id"]=>
[all …]
H A Dpdo_mysql_attr_max_buffer_size.phpt33 $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
36 $db->exec('INSERT INTO test(id, val) VALUES (1, REPEAT("01234567890", 10240))');
38 $stmt = $db->prepare('SELECT id, val FROM test');
41 $id = $val = NULL;
42 $stmt->bindColumn(1, $id);
45 printf("[%03d] id = %d, val = %s... (length: %d)\n",
46 $offset, $id, substr($val, 0, 10), strlen($val));
73 [001] id = 1, val = 0123456789... (length: %d)
74 [002] id = 1, val = 0123456789... (length: 1000)
75 [003] id = 1, val = 0123456789... (length: %d)
[all …]
/PHP-5.5/ext/sysvmsg/tests/
H A D003.phpt7 $id = ftok(__FILE__, 'r');
9 msg_remove_queue(msg_get_queue($id, 0600));
11 var_dump(msg_queue_exists($id));
12 $res = msg_get_queue($id, 0600);
14 var_dump(msg_queue_exists($id));
16 var_dump(msg_queue_exists($id));
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_14_querysingle.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 var_dump($db->querySingle("SELECT id FROM test WHERE id = 'a'"));
20 var_dump($db->querySingle("SELECT id, time FROM test WHERE id = 'a'", true));
33 ["id"]=>
H A Dsqlite3_10_bound_value_name.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $stmt = $db->prepare("SELECT * FROM test WHERE id = :id ORDER BY id ASC");
22 var_dump($stmt->bindValue(':id', $foo, SQLITE3_TEXT));
24 var_dump($stmt->bindValue('id', $foo, SQLITE3_TEXT));
/PHP-5.5/ext/simplexml/tests/
H A Dbug67116.phpt17 <ds><d id="d"></d></ds>
19 <e id="e"></e>
21 <fs><f id="f"></f><f id="f"></f></fs>
47 [id] => d
60 [id] => e
75 [id] => f
84 [id] => f
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_prepare.phpt30 if (false !== ($tmp = mysqli_prepare($link, 'SELECT id FROM test WHERE id > ?')))
51 $id = 1;
52 if (!mysqli_stmt_bind_param($stmt, 'i', $id) || !mysqli_stmt_execute($stmt))
59 $id = 2;
60 if (!mysqli_stmt_bind_param($stmt, 'i', $id) || !mysqli_stmt_execute($stmt))
64 if (!is_object(($stmt = mysqli_prepare($link, 'UPDATE test2 SET id = ? WHERE id = ?'))))
67 $id = 3;
96 $id = $testvar = null;
100 if (('testvar' !== $testvar) || (1 !== $id))
102 $testvar, $id, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
/PHP-5.5/ext/pgsql/tests/
H A Dpg_insert_001.phpt13 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
16 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
18 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
20 var_dump(pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
22 var_dump(pg_select($conn, 'phptests.foo', array('id' => 1)));
31 string(55) "INSERT INTO "phptests"."foo" ("id","id2") VALUES (1,2);"
35 ["id"]=>
/PHP-5.5/tests/lang/
H A Dbug24499.phpt6 private $id="priv";
10 $obj->id = "bar";
14 $id = new Id();
16 $id->tester($obj);
23 [id] => bar
/PHP-5.5/Zend/tests/
H A Dbug41209.phpt23 public function offsetGet($id) {}
25 public function offsetSet($id, $value) {}
27 public function offsetUnset($id) {}
29 public function offsetExists($id)
31 return isset($this->containers[(string) $id]);
37 var_dump(isset($cache[$id]));
42 Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: id' in %s:%d
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_iface_003.phpt2 Test session_set_save_handler() function: id interface
19 echo "*** Testing session_set_save_handler() function: id interface ***\n";
36 public function read($id) {
37 return @file_get_contents($this->path . $id);
40 public function write($id, $data) {
41 return file_put_contents($this->path . $id, $data);
44 public function destroy($id) {
45 @unlink($this->path . $id);
80 *** Testing session_set_save_handler() function: id interface ***
/PHP-5.5/ext/pdo_oci/tests/
H A Dbug46274.phpt25 $db->query('CREATE TABLE test_one_blob (id INT NOT NULL, blob1 BLOB)');
27 $stmt = $db->prepare("INSERT INTO test_one_blob (id, blob1) VALUES (:id, EMPTY_BLOB()) RETURNING bl…
34 $id = 1;
35 $stmt->bindparam(':id', $id);
44 $id = 1;
45 $stmt->bindparam(':id', $id);
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug37013.phpt30 var $id;
32 function __construct( $id, $parent ) {
33 $this->id = $id;
58id="ref1" xsi:type="SOAP-ENC:Struct"><parent id="ref2" xsi:type="SOAP-ENC:Struct"><parent xsi:nil=…

Completed in 116 milliseconds

12345678910>>...34