/PHP-8.1/Zend/ |
H A D | micro_bench.php | 287 $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 D | bench.php | 386 $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-8.1/ext/standard/tests/strings/ |
H A D | crc32_variation4.phpt | 59 /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 D | crc32_variation2.phpt | 35 '\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 D | crc32_variation3.phpt | 35 "\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 D | trim.phpt | 9 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 D | bug55674.phpt | 5 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 D | htmlspecialchars_decode_variation7.phpt | 16 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 D | ucwords_variation3.phpt | 15 '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 …]
|
H A D | ucwords_variation4.phpt | 15 "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", 28 "P't'y 't it's ", 72 string(3) "(t)" 74 string(7) " ( T )t" 78 string(14) ""t""t",test, T" 80 string(14) "\'t \'t\',test" [all …]
|
/PHP-8.1/Zend/tests/ |
H A D | bug79155.phpt | 11 $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 D | bug69957.phpt | 10 } 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 D | bug30828.phpt | 9 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 D | gc_042.phpt | 12 $t = new Test; 13 $t->x = new stdClass; 14 $t->x->t = $t; 15 $a = (array) $t->x; 16 unset($t, $a); 25 ["t"]=>
|
H A D | bug70805_2.phpt | 28 $t = []; 29 $t[] = &$t; 30 unset($t); 32 $t = [new C]; 33 $t[] = &$t; 34 unset($t);
|
/PHP-8.1/ext/date/lib/ |
H A D | unixtime2tm.c | 166 if (t->tz_abbr) { in timelib_set_timezone_from_offset() 169 t->tz_abbr = NULL; in timelib_set_timezone_from_offset() 172 t->have_zone = 1; in timelib_set_timezone_from_offset() 174 t->dst = 0; in timelib_set_timezone_from_offset() 180 if (t->tz_abbr) { in timelib_set_timezone_from_abbr() 186 t->have_zone = 1; in timelib_set_timezone_from_abbr() 205 t->tz_info = tz; in timelib_set_timezone() 206 if (t->tz_abbr) { in timelib_set_timezone() 212 t->have_zone = 1; in timelib_set_timezone() 231 timelib_unixtime2local(t, t->sse); in timelib_apply_localtime() [all …]
|
H A D | interval.c | 285 t->sse_uptodate = 0; in timelib_add() 292 return t; in timelib_add() 313 t->sse_uptodate = 0; in timelib_sub() 321 return t; in timelib_sub() 343 t->sse_uptodate = 0; in timelib_add_wall() 360 if (t->relative.y || t->relative.m || t->relative.d) { in timelib_add_wall() 384 timelib_set_timezone(t, t->tz_info); in timelib_add_wall() 388 return t; in timelib_add_wall() 413 if (t->relative.y || t->relative.m || t->relative.d) { in timelib_sub_wall() 437 timelib_set_timezone(t, t->tz_info); in timelib_sub_wall() [all …]
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | sleep_uninitialized_typed_prop.phpt | 20 $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-8.1/tests/classes/ |
H A D | interface_doubled.phpt | 45 $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-8.1/ext/fileinfo/libmagic/ |
H A D | cdf_time.c | 111 t /= CDF_TIME_PREC; in cdf_timestamp_to_timespec() 112 tm.tm_sec = CAST(int, t % 60); in cdf_timestamp_to_timespec() 113 t /= 60; in cdf_timestamp_to_timespec() 115 tm.tm_min = CAST(int, t % 60); in cdf_timestamp_to_timespec() 116 t /= 60; in cdf_timestamp_to_timespec() 119 t /= 24; in cdf_timestamp_to_timespec() 125 t -= rdays - 1; in cdf_timestamp_to_timespec() 151 (void)&t; in cdf_timespec_to_timestamp() 161 *t = tm.tm_sec; in cdf_timespec_to_timestamp() 162 *t += tm.tm_min * 60; in cdf_timespec_to_timestamp() [all …]
|
/PHP-8.1/ext/oci8/tests/ |
H A D | imp_res_get_3.phpt | 89 t 95 t 101 t 107 t 113 t 119 t 125 t 131 t 137 t 143 t [all …]
|
/PHP-8.1/ext/date/tests/ |
H A D | 004.phpt | 13 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-8.1/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.1/Zend/tests/numeric_strings/ |
H A D | trailling_whitespaces.phpt | 9 "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-8.1/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 16 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 …]
|