/PHP-7.4/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 | 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 | bug78999.phpt | 6 $t = new stdClass; 7 $t->prop = $t; 8 return $t;
|
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;
|
H A D | errmsg_005.phpt | 2 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 D | class_abstract.phpt | 15 $t = new derived(); 16 $t->show(); 18 $t = new base(); 19 $t->show(); 21 echo "Done\n"; // shouldn't be displayed
|
H A D | ctor_dtor.phpt | 24 $t = new early(); 25 $t->__construct(); 26 unset($t); 27 $t = new late(); 28 //unset($t); delay to end of script
|
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 */
|
H A D | interface_implemented.phpt | 46 $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 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.4/ext/date/tests/ |
H A D | bug35456.phpt | 7 $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 D | bug60236.phpt | 7 $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 D | bug26090.phpt | 7 $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 D | 009_win32.phpt | 6 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 D | cve-2014-3538-mb.phpt | 19 $t = microtime(true); 21 $t = microtime(true) - $t; 23 if ($t < 3) { 26 printf("Failed, time=%.2f\n", $t);
|
H A D | cve-2014-3538.phpt | 19 $t = microtime(true); 21 $t = microtime(true) - $t; 23 if ($t < 1) { 26 printf("Failed, time=%.2f\n", $t);
|
H A D | cve-2014-3538-nojit.phpt | 23 $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 D | transliterator_create_basic.phpt | 8 $t = Transliterator::create("any-latin"); 9 echo $t->id,"\n"; 11 $t = transliterator_create("any-latin"); 12 echo $t->id,"\n";
|
H A D | transliterator_clone.phpt | 10 $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 D | bug49047.phpt | 8 $t = time() - 3600; 9 touch($testdir, $t); 12 if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
|
H A D | 007_variation12-win32.phpt | 2 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 D | mergesort.c | 147 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 D | php_password_hash_argon2i.phpt | 39 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 D | php_password_hash_argon2id.phpt | 39 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 D | typed_properties_086.phpt | 12 $t = new T; 15 $t->$x = 2; 16 $t->$x--; 18 var_dump($t);
|