Home
last modified time | relevance | path

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

1234567

/PHP-8.0/ext/pdo_mysql/tests/
H A Dbug_38546.phpt44 $result = $st->execute();
47 var_dump($st->errorInfo());
70 $result = $st->execute();
73 var_dump($st->errorInfo());
96 $result = $st->execute();
99 var_dump($st->errorInfo());
123 $result = $st->execute();
126 var_dump($st->errorInfo());
150 $result = $st->execute();
153 var_dump($st->errorInfo());
[all …]
H A Dbug63185.phpt25 $st = $pdo->query('CALL test_procedure_error_at_second()');
26 var_dump($st->fetchAll());
28 var_dump($st->nextRowset());
32 unset($st);
35 $st = $pdo->query('CALL test_procedure_error_at_second()');
36 var_dump($st->fetchAll());
38 var_dump($st->nextRowset());
42 var_dump($st->fetchAll());
/PHP-8.0/ext/pdo_pgsql/tests/
H A Dbug64953.phpt20 $st = $pdo->prepare('SELECT ?::char as i');
21 $st->bindValue(1, '1');
22 $st->execute();
23 var_dump($st->fetch()); // return false
26 $st = $pdo->prepare('SELECT (?)::char as i');
27 $st->bindValue(1, '1');
28 $st->execute();
34 $st->execute(array(":int" => 123));
35 var_dump($st->fetch());
38 $st->execute();
[all …]
/PHP-8.0/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-8.0/ext/fileinfo/libmagic/
H A Dbuffer.c44 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init() argument
48 if (st) in buffer_init()
49 memcpy(&b->st, st, sizeof(b->st)); in buffer_init()
50 else if (b->fd == -1 || zend_fstat(b->fd, &b->st) == -1) in buffer_init()
51 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()
81 b->eoff = b->st.st_size - b->elen; in buffer_fill()
H A Dis_json.c173 size_t *st, size_t lvl) in json_parse_array() argument
191 st[JSON_ARRAYN]++; in json_parse_array()
207 size_t *st, size_t lvl) in json_parse_object() argument
345 if (lvl > 1 && (st[JSON_OBJECT] || st[JSON_ARRAYN])) in json_parse()
382 st[t]++; in json_parse()
388 return rv && (st[JSON_ARRAYN] || st[JSON_OBJECT]); in json_parse()
398 size_t st[JSON_MAX]; in file_is_json() local
405 memset(st, 0, sizeof(st)); in file_is_json()
420 #define P(n) st[n], st[n] > 1 ? "s" : "" in file_is_json()
448 struct stat st; in main() local
[all …]
H A Dis_csv.c179 struct stat st; in main() local
185 if (fstat(fd, &st) == -1) in main()
188 if ((p = malloc(st.st_size)) == NULL) in main()
190 (intmax_t)st.st_size); in main()
191 if (read(fd, p, st.st_size) != st.st_size) in main()
193 (intmax_t)st.st_size); in main()
194 printf("is csv %d\n", csv_parse(p, p + st.st_size)); in main()
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dpdo_fetch_func_001.phpt17 $st = $db->query('SELECT * FROM testing');
18 $st->fetchAll(PDO::FETCH_FUNC, function($x, $y) use ($st) { var_dump($st); print "data: $x, $y\n"; …
20 $st = $db->query('SELECT name FROM testing');
24 $st = $db->query('SELECT * FROM testing');
31 $st = $db->query('SELECT * FROM testing');
38 $st = $db->query('SELECT * FROM testing');
45 $st = $db->query('SELECT * FROM testing');
52 $st = $db->query('SELECT * FROM testing');
84 $st = $db->query('SELECT * FROM testing');
88 $st = $db->query('SELECT * FROM testing');
[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 (a TEXT);');
16 var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
/PHP-8.0/Zend/tests/
H A Dbug37138.phpt6 class st {
10 class stch extends st {
13 st::e ();
14 st::e2 ();
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"
/PHP-8.0/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-8.0/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-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
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-type2-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 EST'); // st, zt2
47 $end = new DateTime('2010-03-14 00:15:35 EST'); // sp st, zt2
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 EST'); // st, zt2
87 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
/PHP-8.0/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 | (__int64… in ftok()
/PHP-8.0/ext/intl/tests/
H A Dmsgfmt_setPattern_cache.phpt22 string(10) "1.3 -- 1st"
23 string(10) "1.3 -- 1st"
24 string(10) "1st -- 1.3"
/PHP-8.0/ext/mbstring/tests/
H A Dmb_eregi_replace.phpt10 function do_translit($st) {
27 $st = mb_eregi_replace($i,$u,$st);
29 return $st;
/PHP-8.0/ext/sqlite3/tests/
H A Dgh9032.phpt18 $st = $db->prepare('attach database :a AS "db2"');
19 $st->bindValue("a", ":memory:");
20 $st->execute();
/PHP-8.0/ext/imap/tests/
H A Dimap_mutf7_to_utf8.phpt10 var_dump(imap_mutf7_to_utf8("t&AOQ-st"));
17 string(5) "täst"
H A Dimap_utf8_to_mutf7_basic.phpt10 var_dump(imap_utf8_to_mutf7("täst"));
17 string(8) "t&AOQ-st"
/PHP-8.0/ext/spl/tests/
H A Darray_010.phpt6 $obj = new ArrayObject(array('1st', 1, 2=>'3rd', '4th'=>4));
67 string(3) "1st"
90 string(3) "1st"
109 string(3) "1st"
116 string(3) "1st"
134 string(3) "1st"

Completed in 40 milliseconds

1234567