Home
last modified time | relevance | path

Searched refs:t (Results 26 – 50 of 1731) sorted by relevance

12345678910>>...70

/PHP-7.1/Zend/tests/traits/
H A Dtrait_constant_002.phpt17 $t = __TRAIT__;
18 var_dump($t);
19 $t = MyClass::test();
20 var_dump($t);
21 $t = someFun();
22 var_dump($t);
/PHP-7.1/ext/pgsql/tests/
H A Dbug77047.phpt17 t TIME WITHOUT TIME ZONE
20 pg_insert($db, "bug77047", array("t" => "13:31"));
21 pg_insert($db, "bug77047", array("t" => "13:31:13"));
22 pg_insert($db, "bug77047", array("t" => "1:2:3"));
23 pg_insert($db, "bug77047", array("t" => "xyz"));
24 pg_insert($db, "bug77047", array("t" => NULL));
25 pg_insert($db, "bug77047", array("t" => ""));
27 $res = pg_query($db, "SELECT t FROM bug77047");
34 Notice: pg_insert(): Expects NULL or string for PostgreSQL time field (t) in %s on line %d
/PHP-7.1/ext/simplexml/tests/
H A Dfeature55218.phpt14 <person id="1" xmlns:t="http://example.org/t" >
15 <t:name>John Doe</t:name>
60 ["t"]=>
61 string(20) "http://example.org/t"
66 ["t"]=>
67 string(20) "http://example.org/t"
72 ["t"]=>
73 string(20) "http://example.org/t"
96 ["t"]=>
100 ["t"]=>
[all …]
/PHP-7.1/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_variation4.phpt19 …'Roy&#039;s height &gt; Sam&#039;s height... \t\t 13 &lt; 15...\n\r &quot; double quote\f\v string…
20 '\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f',
21 '\r\tRoy&#039;s height &gt\r; Sam\t&#039;s height',
46 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
47 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
48 string(98) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r &quot; double quote\f\v st…
49 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
51 string(48) "\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f"
52 string(48) "\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f"
54 string(38) "\nRoy's height &gt\t; Sam's\v height\f"
[all …]
H A Dhtml_entity_decode3.phpt38 foreach ($tests as $t) {
40 if ($t == $dec) {
43 echo "$t\tDECODED\n";
49 foreach ($tests as $t) {
51 if ($t == $dec) {
60 foreach ($tests as $t) {
62 if ($t == $dec) {
71 foreach ($tests as $t) {
73 if ($t == $dec) {
82 foreach ($tests as $t) {
[all …]
/PHP-7.1/ext/pdo_oci/tests/
H A Dpdo_oci_quote1.phpt48 ["t"]=>
57 ["t"]=>
66 ["t"]=>
75 ["t"]=>
84 ["t"]=>
93 ["t"]=>
104 ["t"]=>
114 ["t"]=>
123 ["t"]=>
132 ["t"]=>
[all …]
/PHP-7.1/ext/spl/tests/
H A Dbug45622b.phpt2 Ensure fix to bug45622 doesn't cause __isset() to be called when ArrayObject::ARRAY_AS_PROPS is use…
13 echo "Doesn't trigger __get.\n";
16 echo "Doesn't trigger __set.\n";
19 echo "Doesn't trigger __unset.\n";
22 echo "Shouldn't trigger __isset.\n";
26 Doesn't trigger __get.
29 Doesn't trigger __set.
30 Doesn't trigger __unset.
33 Shouldn't trigger __isset.
/PHP-7.1/ext/intl/tests/
H A Dtransliterator_get_error_code_basic.phpt8 $t = Transliterator::create("[\p{Bidi_Mirrored}] Hex");
9 var_dump($t->transliterate("\x8F"));
10 echo transliterator_get_error_code($t), "\n";
12 echo $t->getErrorCode(), "\n";
14 var_dump($t->transliterate(""));
15 echo $t->getErrorCode(), "\n";
H A Dtransliterator_get_error_message_basic.phpt8 $t = Transliterator::create("[\p{Bidi_Mirrored}] Hex");
9 var_dump($t->transliterate("\x8F"));
10 echo transliterator_get_error_message($t), "\n";
12 echo $t->getErrorMessage(), "\n";
14 var_dump($t->transliterate(""));
15 echo $t->getErrorMessage(), "\n";
H A Dtransliterator_transliterate_basic.phpt7 $t = transliterator_create("Latin; Title");
9 echo $t->transliterate($s),"\n";
10 echo transliterator_transliterate($t, $s),"\n";
11 echo $t->transliterate($s, 3),"\n";
12 echo $t->transliterate($s, 3, 4),"\n";
/PHP-7.1/ext/standard/tests/serialize/
H A D001.phpt7 class t
58 $t = new t();
59 $data = serialize($t);
61 $t = unserialize($data);
62 var_dump($t);
64 $t = new s();
65 $data = serialize($t);
67 $t = unserialize($data);
68 var_dump($t);
94 O:1:"t":1:{s:1:"a";s:5:"hallo";}
[all …]
/PHP-7.1/ext/date/lib/
H A Dtimelib.c41 timelib_time *t; in timelib_time_ctor() local
44 return t; in timelib_time_ctor()
49 timelib_rel_time *t; in timelib_rel_time_ctor() local
52 return t; in timelib_rel_time_ctor()
107 TIMELIB_TIME_FREE(t); in timelib_time_dtor()
112 TIMELIB_TIME_FREE(t); in timelib_rel_time_dtor()
120 return t; in timelib_time_offset_ctor()
126 TIMELIB_TIME_FREE(t); in timelib_time_offset_dtor()
131 timelib_tzinfo *t; in timelib_tzinfo_ctor() local
135 return t; in timelib_tzinfo_ctor()
[all …]
/PHP-7.1/ext/date/tests/
H A D009.phpt12 $t = mktime(0,0,0, 6, 27, 2006);
17 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $
18 var_dump(strftime("%%q %%a", $t));
19 var_dump(strftime("%q", $t));
20 var_dump(strftime("blah", $t));
25 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $
26 var_dump(gmstrftime("%%q %%a", $t));
27 var_dump(gmstrftime("%q", $t));
28 var_dump(gmstrftime("blah", $t));
/PHP-7.1/ext/sockets/
H A Dsockaddr_conv.c118 struct sockaddr_in t = {0}; in php_set_inet46_addr() local
119 if (php_set_inet_addr(&t, string, php_sock)) { in php_set_inet46_addr()
120 memcpy(ss, &t, sizeof t); in php_set_inet46_addr()
122 *ss_len = sizeof(t); in php_set_inet46_addr()
128 struct sockaddr_in6 t = {0}; in php_set_inet46_addr() local
129 if (php_set_inet6_addr(&t, string, php_sock)) { in php_set_inet46_addr()
130 memcpy(ss, &t, sizeof t); in php_set_inet46_addr()
132 *ss_len = sizeof(t); in php_set_inet46_addr()
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c231 t.year = t.month= 0; in ps_fetch_time()
234 t.hour += t.day*24; in ps_fetch_time()
240 memset(&t, 0, sizeof(t)); in ps_fetch_time()
244 …length = mnd_sprintf(&value, 0, "%s%02u:%02u:%02u", (t.neg ? "-" : ""), t.hour, t.minute, t.second… in ps_fetch_time()
267 t.neg = 0; in ps_fetch_date()
269 t.second_part = t.hour = t.minute = t.second = 0; in ps_fetch_date()
277 memset(&t, 0, sizeof(t)); in ps_fetch_date()
281 length = mnd_sprintf(&value, 0, "%04u-%02u-%02u", t.year, t.month, t.day); in ps_fetch_date()
315 t.hour = t.minute = t.second= 0; in ps_fetch_datetime()
321 memset(&t, 0, sizeof(t)); in ps_fetch_datetime()
[all …]
/PHP-7.1/Zend/tests/
H A Dbug70805.phpt31 $t = [];
32 $t[] = &$t;
33 unset($t);
35 $t = [new C];
36 $t[] = &$t;
37 unset($t); // This is used to trigger C::__destruct while doing gc_colloct_roots
H A Dxor_003.phpt6 $t = true;
9 var_dump($t ^ $f);
10 var_dump($t ^ $t);
H A Dbug72854.phpt7 $t = new stdClass;
8 $t->prop = $t;
9 return $t;
H A Dbug69832.phpt20 $t = new Test;
21 var_dump($t->foo);
22 var_dump($t->bar);
23 var_dump($t->baz);
24 var_dump($t->buzz);
H A Dbug34893.phpt15 private $t;
26 $b->t = "foo";
28 echo $a->p->t;
29 $a->p->t = "bar";
30 echo $a->p->t;
/PHP-7.1/ext/fileinfo/libmagic/
H A Dprint.c80 time_t t = (time_t)v; in file_fmttime() local
85 cdf_timestamp_to_timespec(&ts, t); in file_fmttime()
86 t = ts.tv_sec; in file_fmttime()
90 t = (time_t)v; in file_fmttime()
94 pp = ctime_r(&t, buf); in file_fmttime()
112 t += 3600; in file_fmttime()
113 tm = gmtime(&t); in file_fmttime()
/PHP-7.1/ext/standard/tests/array/
H A Darray_rand_variation6.phpt73 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
81 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
83 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
85 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
91 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
93 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
95 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
97 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
99 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
[all …]
/PHP-7.1/ext/fileinfo/tests/
H A Dcve-2014-3538-mb.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
20 if ($t < 1) {
23 printf("Failed, time=%.2f\n", $t);
H A Dcve-2014-3538.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
20 if ($t < 1) {
23 printf("Failed, time=%.2f\n", $t);
/PHP-7.1/tests/classes/
H A Dclass_example.phpt14 echo "First name:\t ".$this->first_name."\n";
15 echo "Family name:\t ".$this->family_name."\n";
16 echo "Address:\t ".$this->address."\n";
17 echo "Phone:\t\t ".$this->phone_num."\n";
33 $t = $u;
34 $t->address = "New address...";
35 return $t; /* and also return them as return values */

Completed in 37 milliseconds

12345678910>>...70