/PHP-7.2/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.2/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.2/ext/date/lib/ |
H A D | interval.c | 120 t->have_relative = 1; in timelib_add() 121 t->sse_uptodate = 0; in timelib_add() 129 t->sse += t->z; in timelib_add() 133 t->have_relative = 0; in timelib_add() 135 return t; in timelib_add() 155 t->have_relative = 1; in timelib_sub() 156 t->sse_uptodate = 0; in timelib_sub() 163 t->sse += t->z; in timelib_sub() 168 t->sse += t->z; in timelib_sub() 173 t->have_relative = 0; in timelib_sub() [all …]
|
H A D | unixtime2tm.c | 202 if (t->tz_abbr) { in timelib_set_timezone_from_offset() 205 t->tz_abbr = NULL; in timelib_set_timezone_from_offset() 208 t->have_zone = 1; in timelib_set_timezone_from_offset() 210 t->dst = 0; in timelib_set_timezone_from_offset() 216 if (t->tz_abbr) { in timelib_set_timezone_from_abbr() 222 t->have_zone = 1; in timelib_set_timezone_from_abbr() 241 t->tz_info = tz; in timelib_set_timezone() 242 if (t->tz_abbr) { in timelib_set_timezone() 248 t->have_zone = 1; in timelib_set_timezone() 267 timelib_unixtime2local(t, t->sse); in timelib_apply_localtime() [all …]
|
/PHP-7.2/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-7.2/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.2/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 | 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); 20 // TODO: The destructor *should* be running here, but doesn'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.2/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.2/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.2/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.2/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.2/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;
|