/PHP-8.3/ext/pdo_mysql/tests/ |
H A D | bug_38546.phpt | 46 $result = $st->execute(); 49 var_dump($st->errorInfo()); 72 $result = $st->execute(); 75 var_dump($st->errorInfo()); 98 $result = $st->execute(); 101 var_dump($st->errorInfo()); 125 $result = $st->execute(); 128 var_dump($st->errorInfo()); 152 $result = $st->execute(); 155 var_dump($st->errorInfo()); [all …]
|
H A D | bug63185.phpt | 26 $st = $pdo->query('CALL test_procedure_error_at_second()'); 27 var_dump($st->fetchAll()); 29 var_dump($st->nextRowset()); 33 unset($st); 36 $st = $pdo->query('CALL test_procedure_error_at_second()'); 37 var_dump($st->fetchAll()); 39 var_dump($st->nextRowset()); 43 var_dump($st->fetchAll());
|
/PHP-8.3/ext/filter/tests/ |
H A D | 058.phpt | 16 '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.3/ext/pdo_pgsql/tests/ |
H A D | bug64953.phpt | 22 $st = $pdo->prepare('SELECT ?::char as i'); 23 $st->bindValue(1, '1'); 24 $st->execute(); 25 var_dump($st->fetch()); // return false 28 $st = $pdo->prepare('SELECT (?)::char as i'); 29 $st->bindValue(1, '1'); 30 $st->execute(); 36 $st->execute(array(":int" => 123)); 37 var_dump($st->fetch()); 40 $st->execute(); [all …]
|
/PHP-8.3/ext/fileinfo/libmagic/ |
H A D | buffer.c | 42 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() 71 if (!S_ISREG(b->st.st_mode)) in buffer_fill() 74 b->elen = CAST(size_t, b->st.st_size) < b->flen ? in buffer_fill() 75 CAST(size_t, b->st.st_size) : b->flen; in buffer_fill() 79 b->eoff = b->st.st_size - b->elen; in buffer_fill()
|
H A D | is_json.c | 181 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 D | is_csv.c | 178 struct stat st; in main() local 184 if (fstat(fd, &st) == -1) in main() 187 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main() 189 (intmax_t)st.st_size); in main() 190 if (read(fd, p, st.st_size) != st.st_size) in main() 192 (intmax_t)st.st_size); in main() 193 printf("is csv %d\n", csv_parse(p, p + st.st_size)); in main()
|
/PHP-8.3/ext/pdo_sqlite/tests/ |
H A D | pdo_fetch_func_001.phpt | 15 $st = $db->query('SELECT * FROM test_fetch_func_001'); 16 $st->fetchAll(PDO::FETCH_FUNC, function($x, $y) use ($st) { var_dump($st); print "data: $x, $y\n"; … 18 $st = $db->query('SELECT name FROM test_fetch_func_001'); 19 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'strtoupper')); 22 $st = $db->query('SELECT * FROM test_fetch_func_001'); 23 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'nothing')); 29 $st = $db->query('SELECT * FROM test_fetch_func_001'); 30 var_dump($st->fetchAll(PDO::FETCH_FUNC, '')); 37 var_dump($st->fetchAll(PDO::FETCH_FUNC, NULL)); 44 var_dump($st->fetchAll(PDO::FETCH_FUNC, 1)); [all …]
|
H A D | pdo_sqlite_statement_getattribute.phpt | 10 $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-8.3/sapi/fpm/tests/ |
H A D | socket-uds-numeric-ugid.phpt | 35 $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 D | socket-uds-numeric-ugid-nonroot.phpt | 40 $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.3/Zend/tests/ |
H A D | bug70547.phpt | 25 brokenTrace("1st", $arg2, "3th", "4th"); 34 string(3) "1st" 44 string(3) "1st" 52 string(3) "1st" 58 string(3) "1st"
|
H A D | bug37138.phpt | 6 class st { 10 class stch extends st { 13 st::e (); 14 st::e2 ();
|
H A D | gh13670_001.phpt | 40 $st = gc_status(); 42 if ($st['runs'] > 10) { 43 var_dump($st);
|
/PHP-8.3/ext/date/tests/ |
H A D | 003.phpt | 14 string(4) "31st" 15 string(3) "1st" 35 string(4) "21st" 45 string(4) "31st"
|
H A D | DateTime_data-spring-type2-type3.inc | 15 * + 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 D | DateTime_data-spring-type3-type2.inc | 15 * + 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 D | DateTime_data-spring-type3-type3.inc | 15 * + 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 D | DateTime_data-spring-type2-type2.inc | 15 * + 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.3/win32/ |
H A D | ftok.c | 29 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-8.3/ext/intl/tests/ |
H A D | msgfmt_setPattern_cache.phpt | 20 string(10) "1.3 -- 1st" 21 string(10) "1.3 -- 1st" 22 string(10) "1st -- 1.3"
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_eregi_replace.phpt | 11 function do_translit($st) { 28 $st = mb_eregi_replace($i,$u,$st); 30 return $st;
|
/PHP-8.3/ext/sqlite3/tests/ |
H A D | gh9032.phpt | 16 $st = $db->prepare('attach database :a AS "db2"'); 17 $st->bindValue("a", ":memory:"); 18 $st->execute();
|
/PHP-8.3/ext/spl/tests/ |
H A D | array_010.phpt | 6 $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" 130 string(3) "1st"
|
/PHP-8.3/ext/random/ |
H A D | csprng.c | 150 struct stat st; in php_random_bytes() 168 if (fstat(fd, &st) != 0 || in php_random_bytes() 170 !(S_ISNAM(st.st_mode) || S_ISCHR(st.st_mode)) in php_random_bytes() 172 !S_ISCHR(st.st_mode) in php_random_bytes()
|