Home
last modified time | relevance | path

Searched refs:t (Results 51 – 75 of 1643) sorted by relevance

12345678910>>...66

/PHP-7.4/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 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 Dbug78999.phpt6 $t = new stdClass;
7 $t->prop = $t;
8 return $t;
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;
H A Derrmsg_005.phpt2 errmsg: can't use method return value in write context
12 $t = new test;
13 $t->foo() = 1;
18 Fatal error: Can't use method return value in write context in %s on line %d
/PHP-7.4/tests/classes/
H A Dclass_abstract.phpt15 $t = new derived();
16 $t->show();
18 $t = new base();
19 $t->show();
21 echo "Done\n"; // shouldn't be displayed
H A Dctor_dtor.phpt24 $t = new early();
25 $t->__construct();
26 unset($t);
27 $t = new late();
28 //unset($t); delay to end of script
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 */
H A Dinterface_implemented.phpt46 $t = new base();
47 $t->test();
49 $t = new derived_a();
50 $t->test();
52 $t = new derived_b();
53 $t->test();
55 $t = new derived_c();
56 $t->test();
58 $t = new derived_d();
59 $t->test();
/PHP-7.4/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.4/ext/date/tests/
H A Dbug35456.phpt7 $t = 1133216119;
9 echo date(DATE_ISO8601, strtotime("+ 1 day", $t)) . "\n";
10 echo date(DATE_ISO8601, strtotime("+ 1 month", $t)) . "\n";
11 echo date(DATE_ISO8601, strtotime("+ 1 week", $t)) . "\n";
H A Dbug60236.phpt7 $t = new DateTime('2010-07-06 18:38:28 EDT');
8 $ts = $t->format('U');
10 $t->setTimestamp($ts);
11 var_dump($t);
H A Dbug26090.phpt7 $t = '2003-10-28 10:20:30-0800';
8 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
10 $t = '2003-10-28 10:20:30-08:00';
11 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
H A D009_win32.phpt6 if (false === setlocale(LC_TIME, "en-us")) die("skip, couldn't set the locale to en-us");
15 $t = mktime(0,0,0, 6, 27, 2006);
21 var_dump(strftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t));
23 var_dump(strftime("%%q %%a", $t));
25 var_dump(strftime("blah", $t));
31 var_dump(gmstrftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t));
33 var_dump(gmstrftime("%%q %%a", $t));
35 var_dump(gmstrftime("blah", $t));
/PHP-7.4/ext/fileinfo/tests/
H A Dcve-2014-3538-mb.phpt19 $t = microtime(true);
21 $t = microtime(true) - $t;
23 if ($t < 3) {
26 printf("Failed, time=%.2f\n", $t);
H A Dcve-2014-3538.phpt19 $t = microtime(true);
21 $t = microtime(true) - $t;
23 if ($t < 1) {
26 printf("Failed, time=%.2f\n", $t);
H A Dcve-2014-3538-nojit.phpt23 $t = microtime(true);
25 $t = microtime(true) - $t;
27 if ($t < 1) {
30 printf("Failed, time=%.2f\n", $t);
/PHP-7.4/ext/intl/tests/
H A Dtransliterator_create_basic.phpt8 $t = Transliterator::create("any-latin");
9 echo $t->id,"\n";
11 $t = transliterator_create("any-latin");
12 echo $t->id,"\n";
H A Dtransliterator_clone.phpt10 $t = Transliterator::create("hex-any");
11 echo $t->id, ": ", $t->transliterate($str), "\n";
13 $u = clone $t;
/PHP-7.4/ext/standard/tests/file/
H A Dbug49047.phpt8 $t = time() - 3600;
9 touch($testdir, $t);
12 if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
H A D007_variation12-win32.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 …e) ); //Check for size of existing data file before opening the file in "w+t" mode again, expecte…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
63 *** Test fopen() & fclose() functions: with 'w+t' mode ***
/PHP-7.4/main/
H A Dmergesort.c147 b = f1, t = l1; in php_mergesort()
151 b = f2, t = l2; in php_mergesort()
165 t = p; in php_mergesort()
170 t = p; in php_mergesort()
179 t = p; in php_mergesort()
187 t = p; in php_mergesort()
190 COPY: b = t; in php_mergesort()
340 for (t = ai; t > a; t -= size) { in insertionsort()
341 u = t - size; in insertionsort()
342 if (cmp(u, t) <= 0) in insertionsort()
[all …]
/PHP-7.4/ext/sodium/tests/
H A Dphp_password_hash_argon2i.phpt39 Hash: string(96) "$argon2i$v=19$m=65536,t=4,p=1$%s$%s"
43 Hash: string(96) "$argon2i$v=19$m=65536,t=8,p=1$%s$%s"
47 Hash: string(97) "$argon2i$v=19$m=65536,t=16,p=1$%s$%s"
51 Hash: string(97) "$argon2i$v=19$m=131072,t=4,p=1$%s$%s"
55 Hash: string(97) "$argon2i$v=19$m=131072,t=8,p=1$%s$%s"
59 Hash: string(98) "$argon2i$v=19$m=131072,t=16,p=1$%s$%s"
63 Hash: string(97) "$argon2i$v=19$m=262144,t=4,p=1$%s$%s"
67 Hash: string(97) "$argon2i$v=19$m=262144,t=8,p=1$%s$%s"
71 Hash: string(98) "$argon2i$v=19$m=262144,t=16,p=1$%s$%s"
H A Dphp_password_hash_argon2id.phpt39 Hash: string(97) "$argon2id$v=19$m=65536,t=4,p=1$%s$%s"
43 Hash: string(97) "$argon2id$v=19$m=65536,t=8,p=1$%s$%s"
47 Hash: string(98) "$argon2id$v=19$m=65536,t=16,p=1$%s$%s"
51 Hash: string(98) "$argon2id$v=19$m=131072,t=4,p=1$%s$%s"
55 Hash: string(98) "$argon2id$v=19$m=131072,t=8,p=1$%s$%s"
59 Hash: string(99) "$argon2id$v=19$m=131072,t=16,p=1$%s$%s"
63 Hash: string(98) "$argon2id$v=19$m=262144,t=4,p=1$%s$%s"
67 Hash: string(98) "$argon2id$v=19$m=262144,t=8,p=1$%s$%s"
71 Hash: string(99) "$argon2id$v=19$m=262144,t=16,p=1$%s$%s"
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_086.phpt12 $t = new T;
15 $t->$x = 2;
16 $t->$x--;
18 var_dump($t);

Completed in 135 milliseconds

12345678910>>...66