/PHP-5.5/tests/output/ |
H A D | ob_start_basic_006.phpt | 18 public $id = 'none'; 20 function __construct($id) { 21 $this->id = $id; 35 return "C::h[call:$i; len:$len; id:$this->id] - $string\n"; 67 $c->id = 'changedID'; 70 $c->id = 'changedIDagain'; 116 C::h[call:1; len:37; id:originalID] - bool(true) 122 C::h[call:2; len:37; id:changedID] - bool(true)
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | sqlite3_05_delete.phpt | 12 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 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 27 var_dump($db->exec("DELETE FROM test WHERE id = 'a'")); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_06_prepared_stmt.phpt | 12 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 = ? ORDER BY id ASC");
|
H A D | sqlite3_07_prepared_stmt.phpt | 12 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 = ? ORDER BY id ASC");
|
H A D | sqlite3_08_udf.phpt | 17 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 20 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 21 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')")); 27 $results = $db->query("SELECT my_udf_md5(id) FROM test ORDER BY id ASC");
|
H A D | sqlite3stmt_paramCount_error.phpt | 11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)')); 14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')")); 15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')")); 18 $query = "SELECT * FROM foobar WHERE id = ? ORDER BY id ASC";
|
/PHP-5.5/ext/session/tests/ |
H A D | session_set_save_handler_class_016.phpt | 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);
|
H A D | session_set_save_handler_class_017.phpt | 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);
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | bug44327.phpt | 26 $db->exec("CREATE TABLE test (id INT)"); 27 $db->exec("INSERT INTO test(id) VALUES (1)"); 28 $stmt = $db->prepare("SELECT id FROM test"); 56 %unicode|string%(19) "SELECT id FROM test" 57 [%u|b%"id"]=> 60 %unicode|string%(19) "SELECT id FROM test"
|
H A D | pdo_mysql_attr_init_command.phpt | 24 $create = sprintf('CREATE TABLE %s(id INT)', $table); 31 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 32 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 39 %unicode|string%(58) "CREATE TABLE test_%s(id INT)" 44 [%u|b%"id"]=>
|
H A D | pdo_mysql_subclass.phpt | 61 $db->exec('CREATE TABLE test(id INT)'); 62 $db->exec('INSERT INTO test(id) VALUES (1), (2)'); 63 $stmt = $db->query('SELECT * FROM test ORDER BY id ASC'); 86 exec('CREATE TABLE test(id INT)') 87 exec('INSERT INTO test(id) VALUES (1), (2)') 88 query('SELECT * FROM test ORDER BY id ASC') 92 [%u|b%"id"]=> 97 [%u|b%"id"]=>
|
/PHP-5.5/ext/intl/tests/ |
H A D | timezone_clone_basic.phpt | 26 [id] => Europe/Amsterdam 33 [id] => Europe/Amsterdam 40 [id] => GMT 47 [id] => GMT
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | bug45289.phpt | 19 $id = 1; 20 if (!($stmt = $link->prepare('SELECT id, label FROM test WHERE id=? LIMIT 1'))) 23 if (!$stmt->bind_param('i', $id) || !$stmt->execute()) 30 printf("[004] [007] http://bugs.mysql.com/bug.php?id=47485\n");
|
H A D | mysqli_affected_rows.phpt | 36 …if (!mysqli_query($link, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $… 39 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')")) 46 mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')"); 50 …if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id =… 62 if (!mysqli_query($link, "INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) { 69 if (!mysqli_query($link, "INSERT INTO test(id, label) SELECT id + 10, label FROM test")) 75 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (4, 'd')")) 81 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (5, 'e')")) 87 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2")) 105 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2")) { [all …]
|
H A D | bug67839.phpt | 23 …if (!mysqli_query($link, "CREATE TABLE test(id INT PRIMARY KEY, fp4 FLOAT, fp8 DOUBLE) ENGINE = In… 29 if (!mysqli_query($link, "INSERT INTO test(id, fp4, fp8) VALUES (1, 9.9999, 9.9999)")) { 34 if (!($stmt = mysqli_prepare($link, "SELECT id, fp4, fp8 FROM test"))) { 39 $id = null; 43 if (!mysqli_stmt_bind_result($stmt, $id, $fp4, $fp8)) { 59 print $id . ": " . $fp4 . ": " . $fp8 . "\n";
|
H A D | mysqli_stmt_attr_set.phpt | 170 $id = $label = NULL; 171 $stmt->bind_result($id, $label); 174 $results[$id] = $label; 184 $id = $label = NULL; 188 $results2[$id] = $label; 201 $id = $label = NULL; 205 $results2[$id] = $label; 227 $id = $label = NULL; 231 $results[$id] = $label; 254 $id = $label = NULL; [all …]
|
/PHP-5.5/ext/pdo/tests/ |
H A D | bug_36798.phpt | 25 $db->exec("CREATE TABLE test (id INTEGER)"); 26 $db->exec("INSERT INTO test (id) VALUES (1)"); 28 $stmt = $db->prepare("SELECT '�' as test FROM test WHERE id = :id"); 29 $stmt->execute(array(":id" => 1));
|
H A D | pdo_006.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 22 $stmt = $db->prepare('SELECT val, id from test'); 60 ["id"]=> 65 ["id"]=> 73 ["id"]=>
|
/PHP-5.5/tests/lang/ |
H A D | 037.phpt | 7 private $id="foo"; 16 private $id = "bar"; 20 print $this->id;
|
H A D | 036.phpt | 6 private $id = "foo"; 10 print $this->id; 15 public $id = "bar";
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_affected_rows.phpt | 36 if (!mysql_query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $engine, $… 39 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link)) 46 @mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link); 50 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4", $lin… 62 if (!mysql_query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')", $link)) { 69 if (!mysql_query("INSERT INTO test(id, label) SELECT id + 10, label FROM test", $link)) 75 if (!mysql_query("REPLACE INTO test(id, label) values (4, 'd')", $link)) 81 if (!mysql_query("REPLACE INTO test(id, label) values (5, 'e')", $link)) 87 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link)) 93 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link)) { [all …]
|
/PHP-5.5/ext/dom/ |
H A D | documentfragment.c | 56 zval *id; in PHP_METHOD() local 62 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &id, dom_documentfragm… in PHP_METHOD() 75 intern = (dom_object *)zend_object_store_get_object(id TSRMLS_CC); in PHP_METHOD() 123 zval *id; in PHP_METHOD() local 131 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_documentfrag… in PHP_METHOD() 135 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
|
/PHP-5.5/ext/oci8/tests/ |
H A D | lob_043.phpt | 18 "create table lob_043_tab(id number, c1 clob)", 21 insert into lob_043_tab (id, c1) values (i, i || ' abcdefghijklmnopq'); 32 $s = oci_parse($c, 'select id, c1 from lob_043_tab order by id'); 44 $s = oci_parse($c, 'select id, c1 from lob_043_tab order by id');
|
H A D | define5.phpt | 14 "create table define5_tab (id number, string varchar(10))", 15 "insert into define5_tab (id, string) values (1, 'some')", 16 "insert into define5_tab (id, string) values (2, 'thing')", 24 $stmt = oci_parse($c, "select string from define5_tab where id = 1"); 33 $stmt = oci_parse($c, "select string from define5_tab where id = 1"); 42 $stmt = oci_parse($c, "select string from define5_tab where id = 2");
|
/PHP-5.5/Zend/ |
H A D | zend_list.c | 50 ZEND_API int _zend_list_delete(int id TSRMLS_DC) in _zend_list_delete() 54 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_delete() 57 return zend_hash_index_del(&EG(regular_list), id); in _zend_list_delete() 67 ZEND_API void *_zend_list_find(int id, int *type TSRMLS_DC) in _zend_list_find() argument 71 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_find() 80 ZEND_API int _zend_list_addref(int id TSRMLS_DC) in _zend_list_addref() 84 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_addref() 111 int id; in zend_fetch_resource() local 133 id = (*passed_id)->value.lval; in zend_fetch_resource() 135 id = default_id; in zend_fetch_resource() [all …]
|