Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 1810) sorted by relevance

12345678910>>...73

/php-src/Zend/
H A Dmicro_bench.php287 $t = end_test($t, 'empty_loop'); variable
290 $t = end_test($t, 'func()', $overhead); variable
294 $t = end_test($t, 'int_func()', $overhead); variable
312 $t = end_test($t, 'self::f()', $overhead); variable
314 $t = end_test($t, 'Foo::f()', $overhead); variable
323 $t = end_test($t, '++$this->x', $overhead); variable
325 $t = end_test($t, '--$this->x', $overhead); variable
327 $t = end_test($t, '$this->x++', $overhead); variable
329 $t = end_test($t, '$this->x--', $overhead); variable
339 $t = end_test($t, 'new Foo()', $overhead); variable
[all …]
H A Dbench.php386 $t = end_test($t, "simple"); variable
388 $t = end_test($t, "simplecall"); variable
390 $t = end_test($t, "simpleucall"); variable
394 $t = end_test($t, "mandel"); variable
396 $t = end_test($t, "mandel2"); variable
400 $t = end_test($t, "ary(50000)"); variable
404 $t = end_test($t, "ary3(2000)"); variable
406 $t = end_test($t, "fibo(30)"); variable
410 $t = end_test($t, "hash2(500)"); variable
414 $t = end_test($t, "matrix(20)"); variable
[all …]
/php-src/ext/standard/tests/strings/
H A Dcrc32_variation4.phpt59 /t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t
H A Dcrc32_variation2.phpt35 '\thello world\t',
54 /t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t
H A Dcrc32_variation3.phpt35 "\thello world\t",
56 /t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t
H A Dtrim.phpt9 var_dump('ABC' === trim(" \0\t\nABC \0\t\n"));
10 var_dump("ABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n"));
11 var_dump(" \0\t\nABC" === rtrim(" \0\t\nABC \0\t\n"));
12 var_dump(" \0\t\nABC \0\t\n" === trim(" \0\t\nABC \0\t\n",''));
13 var_dump(" \0\t\nABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n",''));
14 var_dump(" \0\t\nABC \0\t\n" === rtrim(" \0\t\nABC \0\t\n",''));
H A Dbug55674.phpt5 var_dump(str_getcsv("0\t\t\"2\"\n", "\t"));
6 var_dump(str_getcsv("0\t \t'2'\n", "\t", "'"));
8 var_dump(str_getcsv(" \t \t\t\t ", "\t"));
H A Dhtmlspecialchars_decode_variation7.phpt16 foreach ($tests as $t) {
18 if ($t == $dec) {
27 foreach ($tests as $t) {
29 if ($t == $dec) {
38 foreach ($tests as $t) {
40 if ($t == $dec) {
49 foreach ($tests as $t) {
51 if ($t == $dec) {
60 foreach ($tests as $t) {
62 if ($t == $dec) {
[all …]
H A Ducwords_variation3.phpt15 't e s t i n g u c w o r d s ',
20 '(t)',
21 ' ( t )t',
25 '"t""t",test, t',
26 '\'t \'t\',test',
36 't@@#$% %test ^test &test *test +test -test',
38 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/',
65 string(3) "(t)"
67 string(7) " ( T )t"
71 string(14) ""t""t",test, T"
[all …]
/php-src/Zend/tests/
H A Dbug79155.phpt11 $t = new Foo;
12 $t->a = "str";
13 $t->b = "str";
14 $t->c = new stdClass;
15 $t->d = new stdClass;
17 var_dump($t->a, $t->b, $t->c, $t->d);
19 $t->a = null;
20 $t->b = null;
21 $t->c = null;
22 $t->d = null;
[all …]
H A Dbug69957.phpt10 } catch (DivisionByZeroError $t){
12 printf("Type: %s\n", get_class($t));
20 } catch (DivisionByZeroError $t){
22 printf("Type: %s\n", get_class($t));
29 } catch (DivisionByZeroError $t){
31 printf("Type: %s\n", get_class($t));
38 } catch (DivisionByZeroError $t){
40 printf("Type: %s\n", get_class($t));
47 } catch (DivisionByZeroError $t){
49 printf("Type: %s\n", get_class($t));
[all …]
H A Dbug30828.phpt9 foreach ($bt as $t) {
10 print $t['class'].$t['type'].$t['function']."\n";
17 foreach ($bt as $t) {
18 print $t['class'].$t['type'].$t['function']."\n";
25 foreach ($bt as $t) {
26 print $t['class'].$t['type'].$t['function']."\n";
H A Dgc_042.phpt13 $t = new Test;
14 $t->x = new stdClass;
15 $t->x->t = $t;
16 $a = (array) $t->x;
17 unset($t, $a);
26 ["t"]=>
/php-src/ext/fileinfo/
H A Dphp_libmagic.c23 zend_string *t; in convert_libmagic_pattern() local
41 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() local
47 ZSTR_VAL(t)[j] = '~'; in convert_libmagic_pattern() local
51 ZSTR_VAL(t)[j++] = 'x'; in convert_libmagic_pattern() local
53 ZSTR_VAL(t)[j] = '0'; in convert_libmagic_pattern() local
60 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() local
63 ZSTR_VAL(t)[j++] = 'i'; in convert_libmagic_pattern() local
66 ZSTR_VAL(t)[j++] = 'm'; in convert_libmagic_pattern() local
68 ZSTR_VAL(t)[j]='\0'; in convert_libmagic_pattern() local
69 ZSTR_LEN(t) = j; in convert_libmagic_pattern()
[all …]
/php-src/ext/date/lib/
H A Dinterval.c232 t->sse_uptodate = 0; in timelib_add()
239 return t; in timelib_add()
260 t->sse_uptodate = 0; in timelib_sub()
268 return t; in timelib_sub()
290 t->sse_uptodate = 0; in timelib_add_wall()
307 if (t->relative.y || t->relative.m || t->relative.d) { in timelib_add_wall()
331 timelib_set_timezone(t, t->tz_info); in timelib_add_wall()
335 return t; in timelib_add_wall()
360 if (t->relative.y || t->relative.m || t->relative.d) { in timelib_sub_wall()
384 timelib_set_timezone(t, t->tz_info); in timelib_sub_wall()
[all …]
H A Dunixtime2tm.c165 if (t->tz_abbr) { in timelib_set_timezone_from_offset()
168 t->tz_abbr = NULL; in timelib_set_timezone_from_offset()
171 t->have_zone = 1; in timelib_set_timezone_from_offset()
173 t->dst = 0; in timelib_set_timezone_from_offset()
179 if (t->tz_abbr) { in timelib_set_timezone_from_abbr()
185 t->have_zone = 1; in timelib_set_timezone_from_abbr()
204 t->tz_info = tz; in timelib_set_timezone()
205 if (t->tz_abbr) { in timelib_set_timezone()
211 t->have_zone = 1; in timelib_set_timezone()
230 timelib_unixtime2local(t, t->sse); in timelib_apply_localtime()
[all …]
/php-src/ext/standard/tests/serialize/
H A Dsleep_uninitialized_typed_prop.phpt20 $t = new Test;
21 var_dump(serialize($t));
22 var_dump(unserialize(serialize($t)) == $t);
24 $t->x = 1;
25 var_dump(unserialize(serialize($t)) == $t);
27 $t->y = 2;
28 var_dump(unserialize(serialize($t)) == $t);
30 $t->z = 3;
31 var_dump(unserialize(serialize($t)) == $t);
33 var_dump($t);
/php-src/tests/classes/
H A Dinterface_doubled.phpt45 $t = new class_a();
46 echo $t->test('if_a');
47 echo $t->test('if_b');
48 echo $t->test('if_c');
49 echo $t->test('if_d');
62 $t = new class_b();
79 $t = new class_c();
96 $t = new class_d();
113 $t = new class_e();
130 $t = new class_f();
[all …]
/php-src/ext/random/
H A Dengine_xoshiro256starstar.c55 s->state[2] ^= t; in generate_state()
124 zval t; in serialize() local
137 zval *t; in unserialize() local
146 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint64_t))) { in unserialize()
216 uint64_t t[4]; in PHP_METHOD() local
219 if (php_random_bytes_throw(&t, sizeof(t)) == FAILURE) { in PHP_METHOD()
223 } while (UNEXPECTED(t[0] == 0 && t[1] == 0 && t[2] == 0 && t[3] == 0)); in PHP_METHOD()
225 php_random_xoshiro256starstar_seed256(state, t[0], t[1], t[2], t[3]); in PHP_METHOD()
234 t[i] = 0; in PHP_METHOD()
240 if (UNEXPECTED(t[0] == 0 && t[1] == 0 && t[2] == 0 && t[3] == 0)) { in PHP_METHOD()
[all …]
H A Dengine_mt19937.c177 zval t; in serialize() local
194 zval *t; in unserialize() local
203 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint32_t))) { in unserialize()
211 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize()
220 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize()
320 zval t; in PHP_METHOD() local
332 array_init(&t); in PHP_METHOD()
346 zval *t; in PHP_METHOD() local
360 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD()
372 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD()
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dcdf_time.c110 t /= CDF_TIME_PREC; in cdf_timestamp_to_timespec()
111 tm.tm_sec = CAST(int, t % 60); in cdf_timestamp_to_timespec()
112 t /= 60; in cdf_timestamp_to_timespec()
114 tm.tm_min = CAST(int, t % 60); in cdf_timestamp_to_timespec()
115 t /= 60; in cdf_timestamp_to_timespec()
118 t /= 24; in cdf_timestamp_to_timespec()
124 t -= rdays - 1; in cdf_timestamp_to_timespec()
150 (void)&t; in cdf_timespec_to_timestamp()
160 *t += tm.tm_sec; in cdf_timespec_to_timestamp()
161 *t += tm.tm_min * 60; in cdf_timespec_to_timestamp()
[all …]
/php-src/ext/date/tests/
H A D004.phpt13 var_dump(date("w", $t));
14 var_dump(date("z", $t));
15 var_dump(date("n", $t));
16 var_dump(date("t", $t));
17 var_dump(date("L", $t));
18 var_dump(date("a", $t));
19 var_dump(date("B", $t));
20 var_dump(date("g", $t));
21 var_dump(date("G", $t));
22 var_dump(date("Z", $t));
[all …]
/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/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt9 "123 \t\n\r\v\f",
11 " \t\n\r\v\f123",
13 " \t\n\r\v\f123 \t\n\r\v\f",
16 "123.0 \t\n\r\v\f",
18 " \t\n\r\v\f123.0",
20 " \t\n\r\v\f123 \t\n\r\v\f",
23 "123e0 \t\n\r\v\f",
25 " \t\n\r\v\f123e0",
27 " \t\n\r\v\f123e0 \t\n\r\v\f"
/php-src/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt16 catch (\Throwable $t) {
17 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n";
29 catch (\Throwable $t) {
41 catch (\Throwable $t) {
53 catch (\Throwable $t) {
65 catch (\Throwable $t) {
77 catch (\Throwable $t) {
89 catch (\Throwable $t) {
101 catch (\Throwable $t) {
113 catch (\Throwable $t) {
[all …]

Completed in 58 milliseconds

12345678910>>...73