/PHP-7.1/Zend/ |
H A D | micro_bench.php | 244 return ($t['sec'] + $t['usec'] / 1000000); 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 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-7.1/ext/standard/tests/strings/ |
H A D | crc32_variation4.phpt | 65 /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 | 41 '\thello world\t', 60 /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 | 41 "\thello world\t", 62 /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 | 10 'ABC' === trim(" \\0\\t\\nABC \\0\\t\\n") 11 "ABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n") 12 " \\0\\t\\nABC" === rtrim(" \\0\\t\\nABC \\0\\t\\n") 13 " \\0\\t\\nABC \\0\\t\\n" === trim(" \\0\\t\\nABC \\0\\t\\n",'') 14 " \\0\\t\\nABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n",'') 15 " \\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_variation4.phpt | 20 "t e s t i n g u c w o r d s ", 25 "(t)", 26 " ( t )t", 30 "\"t\"\"t\",test, t", 31 "\'t \'t\',test", 33 "P't'y 't it's ", 77 string(3) "(t)" 79 string(7) " ( T )t" 83 string(14) ""t""t",test, T" 85 string(14) "\'t \'t\',test" [all …]
|
H A D | ucwords_variation3.phpt | 20 't e s t i n g u c w o r d s ', 25 '(t)', 26 ' ( t )t', 30 '"t""t",test, t', 31 '\'t \'t\',test', 41 't@@#$% %test ^test &test *test +test -test', 43 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/', 70 string(3) "(t)" 72 string(7) " ( T )t" 76 string(14) ""t""t",test, T" [all …]
|
/PHP-7.1/ext/date/lib/ |
H A D | interval.c | 116 t->have_relative = 1; in timelib_add() 117 t->sse_uptodate = 0; in timelib_add() 125 t->sse += t->z; in timelib_add() 129 t->have_relative = 0; in timelib_add() 131 return t; in timelib_add() 151 t->have_relative = 1; in timelib_sub() 152 t->sse_uptodate = 0; in timelib_sub() 159 t->sse += t->z; in timelib_sub() 164 t->sse += t->z; in timelib_sub() 169 t->have_relative = 0; in timelib_sub() [all …]
|
H A D | unixtime2tm.c | 224 if (t->tz_abbr) { in timelib_set_timezone_from_offset() 227 t->tz_abbr = NULL; in timelib_set_timezone_from_offset() 230 t->have_zone = 1; in timelib_set_timezone_from_offset() 232 t->dst = 0; in timelib_set_timezone_from_offset() 238 if (t->tz_abbr) { in timelib_set_timezone_from_abbr() 244 t->have_zone = 1; in timelib_set_timezone_from_abbr() 263 t->tz_info = tz; in timelib_set_timezone() 264 if (t->tz_abbr) { in timelib_set_timezone() 270 t->have_zone = 1; in timelib_set_timezone() 289 timelib_unixtime2local(t, t->sse); in timelib_apply_localtime() [all …]
|
/PHP-7.1/tests/classes/ |
H A D | interface_doubled.phpt | 47 $t = new class_a(); 48 echo $t->test('if_a'); 49 echo $t->test('if_b'); 50 echo $t->test('if_c'); 51 echo $t->test('if_d'); 64 $t = new class_b(); 81 $t = new class_c(); 98 $t = new class_d(); 115 $t = new class_e(); 132 $t = new class_f(); [all …]
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | cdf_time.c | 111 t /= CDF_TIME_PREC; in cdf_timestamp_to_timespec() 112 tm.tm_sec = (int)(t % 60); in cdf_timestamp_to_timespec() 113 t /= 60; in cdf_timestamp_to_timespec() 115 tm.tm_min = (int)(t % 60); in cdf_timestamp_to_timespec() 116 t /= 60; in cdf_timestamp_to_timespec() 118 tm.tm_hour = (int)(t % 24); 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() [all …]
|
/PHP-7.1/Zend/tests/ |
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 | bug70805_2.phpt | 28 $t = []; 29 $t[] = &$t; 30 unset($t); 32 $t = [new C]; 33 $t[] = &$t; 34 unset($t);
|
H A D | bug29210.phpt | 22 echo "test_func1 isn't callable from inside\n"; 72 echo "test_func1 isn't callable from outside\n"; 77 echo "test_func2 isn't callable from outside\n"; 82 echo "test_func3 isn't callable from outside\n"; 87 echo "test_func4 isn't callable from outside\n"; 97 test_func1 isn't callable from outside 98 test_func2 isn't callable from outside 99 test_func3 isn't callable from outside 100 test_func4 isn't callable from outside 101 test_func1 isn't callable from child [all …]
|
H A D | bug70805_1.phpt | 33 $t = []; 34 $t[] = &$t; 35 unset($t); 37 $t = [new C]; 38 $t[] = &$t; 39 unset($t);
|
/PHP-7.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-7.1/ext/oci8/tests/ |
H A D | imp_res_get_3.phpt | 90 t 96 t 102 t 108 t 114 t 120 t 126 t 132 t 138 t 144 t [all …]
|
/PHP-7.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-7.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) { 30 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 41 catch (\Throwable $t) { 42 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 53 catch (\Throwable $t) { 65 catch (\Throwable $t) { 77 catch (\Throwable $t) { 89 catch (\Throwable $t) { [all …]
|
/PHP-7.1/ext/enchant/tests/ |
H A D | bug13181.phpt | 12 $t = enchant_broker_request_dict($rBroker, 'en'); 13 var_dump($t); 14 return $t; 21 $t = enchant_broker_init(); 22 var_dump($t); 23 return $t; 30 $t = enchant_broker_request_dict($broker, 'en'); 31 var_dump($t); 32 return $t;
|
/PHP-7.1/ext/standard/tests/serialize/ |
H A D | bug14293.phpt | 5 class t 19 $t = new t(); 20 $data = serialize($t); 22 $t = unserialize($data); 23 var_dump($t); 30 O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;} 31 object(t)#%d (2) {
|