/PHP-7.1/Zend/tests/traits/ |
H A D | trait_constant_002.phpt | 17 $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 D | bug77047.phpt | 17 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 D | feature55218.phpt | 14 <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 D | htmlspecialchars_decode_variation4.phpt | 19 …'Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string… 20 '\nRoy's height >\t; Sam's\v height\f', 21 '\r\tRoy's height >\r; Sam\t's height', 46 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 47 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 48 string(98) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " 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's height >\t; Sam's\v height\f" 52 string(48) "\nRoy's height >\t; Sam's\v height\f" 54 string(38) "\nRoy's height >\t; Sam's\v height\f" [all …]
|
H A D | html_entity_decode3.phpt | 38 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 D | pdo_oci_quote1.phpt | 48 ["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 D | bug45622b.phpt | 2 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 D | transliterator_get_error_code_basic.phpt | 8 $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 D | transliterator_get_error_message_basic.phpt | 8 $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 D | transliterator_transliterate_basic.phpt | 7 $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 D | 001.phpt | 7 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 D | timelib.c | 41 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 D | 009.phpt | 12 $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 D | sockaddr_conv.c | 118 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 D | mysqlnd_ps_codec.c | 231 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 D | bug70805.phpt | 31 $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 D | xor_003.phpt | 6 $t = true; 9 var_dump($t ^ $f); 10 var_dump($t ^ $t);
|
H A D | bug72854.phpt | 7 $t = new stdClass; 8 $t->prop = $t; 9 return $t;
|
H A D | bug69832.phpt | 20 $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 D | bug34893.phpt | 15 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 D | print.c | 80 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 D | array_rand_variation6.phpt | 73 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 D | cve-2014-3538-mb.phpt | 16 $t = microtime(true); 18 $t = microtime(true) - $t; 20 if ($t < 1) { 23 printf("Failed, time=%.2f\n", $t);
|
H A D | cve-2014-3538.phpt | 16 $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 D | class_example.phpt | 14 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 */
|