Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 175) sorted by relevance

1234567

/php-src/ext/pdo_mysql/tests/
H A Dbug_38546.phpt41 $result = $st->execute();
44 var_dump($st->errorInfo());
67 $result = $st->execute();
70 var_dump($st->errorInfo());
93 $result = $st->execute();
96 var_dump($st->errorInfo());
120 $result = $st->execute();
123 var_dump($st->errorInfo());
147 $result = $st->execute();
150 var_dump($st->errorInfo());
[all …]
H A Dbug63185.phpt26 $st = $pdo->query("CALL {$procedure}()");
27 var_dump($st->fetchAll());
29 var_dump($st->nextRowset());
33 unset($st);
36 $st = $pdo->query("CALL {$procedure}()");
37 var_dump($st->fetchAll());
39 var_dump($st->nextRowset());
43 var_dump($st->fetchAll());
/php-src/ext/filter/tests/
H A D058.phpt16 'tést@example.com',
17 'tést.child@example.com',
18 'tést@xn--exmple-cua.com',
19 'tést@xn----zfa.xe',
20 'tést@subexample.wizard',
21 'tést@[255.255.255.255]',
23 'tést@[IPv6:2001::7344]',
25 'tést+reference@example.com',
44 string(17) "tést@example.com"
45 string(23) "tést.child@example.com"
[all …]
/php-src/ext/pdo_pgsql/tests/
H A Dbug64953.phpt21 $st = $pdo->prepare('SELECT ?::char as i');
22 $st->bindValue(1, '1');
23 $st->execute();
24 var_dump($st->fetch()); // return false
27 $st = $pdo->prepare('SELECT (?)::char as i');
28 $st->bindValue(1, '1');
29 $st->execute();
35 $st->execute(array(":int" => 123));
36 var_dump($st->fetch());
39 $st->execute();
[all …]
H A Dbug_14244.phpt22 $st = $pdo->prepare("SELECT '?' question");
23 $st->execute();
24 var_dump($st->fetch());
28 $st = $pdo->prepare("SELECT \$\$?\$\$ question");
29 $st->execute();
30 var_dump($st->fetch());
/php-src/ext/fileinfo/libmagic/
H A Dbuffer.c42 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init() argument
46 if (st) in buffer_init()
47 memcpy(&b->st, st, sizeof(b->st)); in buffer_init()
48 else if (b->fd == -1 || zend_fstat(b->fd, &b->st) == -1) in buffer_init()
49 memset(&b->st, 0, sizeof(b->st)); in buffer_init()
73 if (!S_ISREG(b->st.st_mode)) in buffer_fill()
76 b->elen = CAST(size_t, b->st.st_size) < b->flen ? in buffer_fill()
77 CAST(size_t, b->st.st_size) : b->flen; in buffer_fill()
86 b->eoff = b->st.st_size - b->elen; in buffer_fill()
H A Dis_json.c181 size_t *st, size_t lvl) in json_parse_array() argument
202 st[JSON_ARRAYN]++; in json_parse_array()
364 if (lvl > 1 && (st[JSON_OBJECT] || st[JSON_ARRAYN])) in json_parse()
402 st[t]++; in json_parse()
411 return (st[JSON_ARRAYN] || st[JSON_OBJECT]) ? 1 : 0; in json_parse()
413 return (st[JSON_ARRAYN] || st[JSON_OBJECT]) ? 2 : 0; in json_parse()
426 size_t st[JSON_MAX]; in file_is_json() local
434 memset(st, 0, sizeof(st)); in file_is_json()
451 #define P(n) st[n], st[n] > 1 ? "s" : "" in file_is_json()
479 struct stat st; in main() local
[all …]
H A Dis_csv.c180 struct stat st; in main() local
186 if (fstat(fd, &st) == -1) in main()
189 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main()
191 (intmax_t)st.st_size); in main()
192 if (read(fd, p, st.st_size) != st.st_size) in main()
194 (intmax_t)st.st_size); in main()
195 printf("is csv %d\n", csv_parse(p, p + st.st_size)); in main()
H A Dis_simh.c191 struct stat st; in main() local
197 if (fstat(fd, &st) == -1) in main()
200 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main()
202 (intmax_t)st.st_size); in main()
203 if (read(fd, p, st.st_size) != st.st_size) in main()
205 (intmax_t)st.st_size); in main()
206 printf("is simh %d\n", simh_parse(p, p + st.st_size)); in main()
/php-src/ext/pdo_sqlite/tests/
H A Dpdo_fetch_func_001.phpt14 $st = $db->query('SELECT * FROM test_fetch_func_001');
15 $st->fetchAll(
17 function($x, $y) use ($st) {
18 var_dump($st, $x, $y);
22 $st = $db->query('SELECT name FROM test_fetch_func_001');
23 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'strtoupper'));
27 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'nothing'));
34 var_dump($st->fetchAll(PDO::FETCH_FUNC, ''));
41 var_dump($st->fetchAll(PDO::FETCH_FUNC, NULL));
48 var_dump($st->fetchAll(PDO::FETCH_FUNC, 1));
[all …]
H A Dpdo_sqlite_statement_getattribute.phpt10 $st = $db->prepare('SELECT 1;');
12 var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
14 $st = $db->prepare('CREATE TABLE test_sqlite_stmt_getattribute (a TEXT);');
16 var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
/php-src/Zend/asm/
H A Djump_loongarch64_sysv_elf_gas.S61 st.d $s0, $sp, 64
62 st.d $s1, $sp, 72
63 st.d $s2, $sp, 80
64 st.d $s3, $sp, 88
65 st.d $s4, $sp, 96
66 st.d $s5, $sp, 104
67 st.d $s6, $sp, 112
68 st.d $s7, $sp, 120
69 st.d $s8, $sp, 128
70 st.d $fp, $sp, 136
[all …]
/php-src/ext/pdo_firebird/
H A Dpdo_firebird_utils.cpp61 Firebird::CheckStatusWrapper st(status); in fb_decode_time_tz() local
62 util->decodeTimeTz(&st, timeTz, hours, minutes, seconds, fractions, in fb_decode_time_tz()
64 if (st.hasData()) { in fb_decode_time_tz()
65 fb_copy_status((const ISC_STATUS*)st.getErrors(), isc_status, 20); in fb_decode_time_tz()
80 Firebird::CheckStatusWrapper st(status); in fb_decode_timestamp_tz() local
81 util->decodeTimeStampTz(&st, timestampTz, year, month, day, in fb_decode_timestamp_tz()
84 if (st.hasData()) { in fb_decode_timestamp_tz()
85 fb_copy_status((const ISC_STATUS*)st.getErrors(), isc_status, 20); in fb_decode_timestamp_tz()
/php-src/sapi/fpm/tests/
H A Dsocket-uds-numeric-ugid.phpt35 $st = stat($tester->getListen('{{ADDR:UDS}}'));
36 if ($st) {
37 $pw = posix_getpwuid($st['uid']);
38 $gr = posix_getgrgid($st['gid']);
41 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";
H A Dsocket-uds-numeric-ugid-nonroot.phpt40 $st = stat($tester->getListen('{{ADDR:UDS}}'));
41 if ($st) {
42 $pw = posix_getpwuid($st['uid']);
43 $gr = posix_getgrgid($st['gid']);
46 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";
/php-src/Zend/tests/
H A Dbug70547.phpt25 brokenTrace("1st", $arg2, "3th", "4th");
34 string(3) "1st"
44 string(3) "1st"
52 string(3) "1st"
58 string(3) "1st"
H A Dbug37138.phpt6 class st {
10 class stch extends st {
13 st::e ();
14 st::e2 ();
H A Dgh13670_001.phpt40 $st = gc_status();
42 if ($st['runs'] > 10) {
43 var_dump($st);
/php-src/ext/date/tests/
H A D003.phpt14 string(4) "31st"
15 string(3) "1st"
35 string(4) "21st"
45 string(4) "31st"
H A DDateTime_data-spring-type2-type3.inc15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
43 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
47 $end = new DateTime('2010-03-14 00:15:35'); // sp st, zt3
48 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
53 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
58 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
67 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
87 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
H A DDateTime_data-spring-type3-type2.inc15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
27 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
47 $end = new DateTime('2010-03-14 00:15:35 EST'); // sp st, zt2
48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
67 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
87 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
H A DDateTime_data-spring-type3-type3.inc15 * + st: standard time on transition day 2010-03-14 00:10:20
27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
47 $end = new DateTime('2010-03-14 00:15:35'); // sp st, zt3
48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
67 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
87 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
/php-src/ext/intl/tests/
H A Dmsgfmt_setPattern_cache.phpt20 string(10) "1.3 -- 1st"
21 string(10) "1.3 -- 1st"
22 string(10) "1st -- 1.3"
/php-src/win32/
H A Dftok.c29 struct _stat st; in ftok() local
38 if (_wstat(pathw, &st) < 0) { in ftok()
54 ret = (key_t) ((proj_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (bhfi.nFileIndexLow & 0xffff)); in ftok()
/php-src/ext/mbstring/tests/
H A Dmb_eregi_replace.phpt11 function do_translit($st) {
28 $st = mb_eregi_replace($i,$u,$st);
30 return $st;

Completed in 39 milliseconds

1234567