/PHP-7.1/tests/classes/ |
H A D | class_abstract.phpt | 17 $t = new derived(); 18 $t->show(); 20 $t = new base(); 21 $t->show(); 23 echo "Done\n"; // shouldn't be displayed
|
H A D | ctor_dtor.phpt | 26 $t = new early(); 27 $t->__construct(); 28 unset($t); 29 $t = new late(); 30 //unset($t); delay to end of script
|
H A D | interface_implemented.phpt | 48 $t = new base(); 49 $t->test(); 51 $t = new derived_a(); 52 $t->test(); 54 $t = new derived_b(); 55 $t->test(); 57 $t = new derived_c(); 58 $t->test(); 60 $t = new derived_d(); 61 $t->test();
|
/PHP-7.1/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 | 7 if (false === setlocale(LC_TIME, "en-us")) die("skip, couldn't set the locale to en-us"); 16 $t = mktime(0,0,0, 6, 27, 2006); 22 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)); 24 var_dump(strftime("%%q %%a", $t)); 26 var_dump(strftime("blah", $t)); 32 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)); 34 var_dump(gmstrftime("%%q %%a", $t)); 36 var_dump(gmstrftime("blah", $t));
|
/PHP-7.1/main/ |
H A D | mergesort.c | 149 b = f1, t = l1; in php_mergesort() 153 b = f2, t = l2; in php_mergesort() 167 t = p; in php_mergesort() 172 t = p; in php_mergesort() 181 t = p; in php_mergesort() 189 t = p; in php_mergesort() 192 COPY: b = t; in php_mergesort() 342 for (t = ai; t > a; t -= size) { in insertionsort() 343 u = t - size; in insertionsort() 344 if (cmp(u, t) <= 0) in insertionsort() [all …]
|
/PHP-7.1/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.1/Zend/tests/ |
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.1/ext/standard/tests/file/ |
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 ***
|
H A D | 007_variation12.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 ***
|
H A D | bug49047.phpt | 8 $t = time() - 3600; 9 touch($testdir, $t); 12 if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
|
/PHP-7.1/ext/date/lib/ |
H A D | timelib.h | 107 int timelib_apply_localtime(timelib_time *t, unsigned int localtime); 111 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset); 112 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info); 113 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz); 120 timelib_sll timelib_get_current_offset(timelib_time *t); 134 void timelib_rel_time_dtor(timelib_rel_time* t); 139 void timelib_time_dtor(timelib_time* t); 142 void timelib_set_fraction_from_timeval(timelib_time *t, struct timeval tp); 145 void timelib_time_offset_dtor(timelib_time_offset* t); 162 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); [all …]
|
/PHP-7.1/tests/basic/ |
H A D | timeout_variation_1.phpt | 12 set_time_limit($t); 14 function hello ($t) { 16 busy_wait($t*2); 19 hello($t);
|
H A D | timeout_variation_3.phpt | 12 set_time_limit($t); 14 function hello ($t) { 16 busy_wait($t*2); 19 eval('hello($t);');
|
H A D | timeout_variation_4.phpt | 12 set_time_limit($t); 14 function hello ($t) { 16 busy_wait($t*2); 19 call_user_func('hello', $t);
|
/PHP-7.1/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_variation1.phpt | 84 -- file opened in r+t -- 105 -- file opened in a+t -- 126 -- file opened in w+t -- 147 -- file opened in x+t -- 168 -- file opened in r+t -- 189 -- file opened in a+t -- 210 -- file opened in w+t -- 231 -- file opened in x+t -- 252 -- file opened in r+t -- 273 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation11.phpt | 84 -- file opened in r+t -- 105 -- file opened in a+t -- 126 -- file opened in w+t -- 147 -- file opened in x+t -- 168 -- file opened in r+t -- 189 -- file opened in a+t -- 210 -- file opened in w+t -- 231 -- file opened in x+t -- 252 -- file opened in r+t -- 273 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation12.phpt | 85 -- file opened in r+t -- 106 -- file opened in a+t -- 127 -- file opened in w+t -- 148 -- file opened in x+t -- 169 -- file opened in r+t -- 190 -- file opened in a+t -- 211 -- file opened in w+t -- 232 -- file opened in x+t -- 253 -- file opened in r+t -- 274 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation5.phpt | 84 -- file opened in r+t -- 105 -- file opened in a+t -- 126 -- file opened in w+t -- 147 -- file opened in x+t -- 168 -- file opened in r+t -- 189 -- file opened in a+t -- 210 -- file opened in w+t -- 231 -- file opened in x+t -- 252 -- file opened in r+t -- 273 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation6.phpt | 87 -- file opened in r+t -- 108 -- file opened in a+t -- 129 -- file opened in w+t -- 150 -- file opened in x+t -- 171 -- file opened in r+t -- 192 -- file opened in a+t -- 213 -- file opened in w+t -- 234 -- file opened in x+t -- 255 -- file opened in r+t -- 276 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation7.phpt | 87 -- file opened in r+t -- 108 -- file opened in a+t -- 129 -- file opened in w+t -- 150 -- file opened in x+t -- 171 -- file opened in r+t -- 192 -- file opened in a+t -- 213 -- file opened in w+t -- 234 -- file opened in x+t -- 255 -- file opened in r+t -- 276 -- file opened in a+t -- [all …]
|
H A D | SplFileObject_fputcsv_variation8.phpt | 87 -- file opened in r+t -- 108 -- file opened in a+t -- 129 -- file opened in w+t -- 150 -- file opened in x+t -- 171 -- file opened in r+t -- 192 -- file opened in a+t -- 213 -- file opened in w+t -- 234 -- file opened in x+t -- 255 -- file opened in r+t -- 276 -- file opened in a+t -- [all …]
|