/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 248 t.year = t.month= 0; in ps_fetch_time() 251 t.hour += t.day*24; in ps_fetch_time() 257 memset(&t, 0, sizeof(t)); in ps_fetch_time() 265 length = spprintf(&value, 0, "%s%02u:%02u:%02u", (t.neg ? "-" : ""), t.hour, t.minute, t.second); in ps_fetch_time() 298 t.neg= 0; in ps_fetch_date() 300 t.second_part = t.hour = t.minute = t.second = 0; in ps_fetch_date() 308 memset(&t, 0, sizeof(t)); in ps_fetch_date() 316 length = spprintf(&value, 0, "%04u-%02u-%02u", t.year, t.month, t.day); in ps_fetch_date() 360 t.hour = t.minute = t.second= 0; in ps_fetch_datetime() 366 memset(&t, 0, sizeof(t)); in ps_fetch_datetime() [all …]
|
/PHP-5.3/ext/standard/tests/network/ |
H A D | define_syslog_variables_variation.phpt | 76 for ($t = 0; $t < count($log_variables); $t++) { 77 if (isset($$log_variables[$t]) === false || $$log_variables[$t] != $log_constants[$t]) { 79 echo "FAILED: $log_variables[$t] doesn't contain the correct value\n";
|
H A D | define_syslog_variables_basic.phpt | 6 die("skip don't run on Windows"); 108 for ($t = 0; $t < count($log_variables); $t++) { 109 if (isset($$log_variables[$t]) === false || $$log_variables[$t] != $log_constants[$t]) { 111 echo "FAILED: $log_variables[$t] doesn't contain the correct value\n";
|
H A D | define_syslog_variables_basic-win32.phpt | 89 for ($t = 0; $t < count($log_variables); $t++) { 90 if (isset($$log_variables[$t]) === false || $$log_variables[$t] != $log_constants[$t]) { 92 echo "FAILED: $log_variables[$t] doesn't contain the correct value\n";
|
/PHP-5.3/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-5.3/Zend/tests/ |
H A D | xor_003.phpt | 6 $t = true; 9 var_dump($t ^ $f); 10 var_dump($t ^ $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-5.3/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 | class_example.phpt | 15 echo "First name:\t ".$this->first_name."\n"; 16 echo "Family name:\t ".$this->family_name."\n"; 17 echo "Address:\t ".$this->address."\n"; 18 echo "Phone:\t\t ".$this->phone_num."\n"; 34 $t = $u; 35 $t->address = "New address..."; 36 return $t; /* and also return them as return values */
|
H A D | ctor_dtor.phpt | 26 $t = new early(); 27 $t->early(); 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-5.3/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() 178 while (t > b+size) { 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() [all …]
|
/PHP-5.3/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 | 12 $t = mktime(0,0,0, 6, 27, 2006); 18 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)); 20 var_dump(strftime("%%q %%a", $t)); 22 var_dump(strftime("blah", $t)); 28 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)); 30 var_dump(gmstrftime("%%q %%a", $t)); 32 var_dump(gmstrftime("blah", $t));
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | tempnam_variation2-win32.phpt | 94 File name is => %s\tempnam_variation2\tempnam_variation2_sub\t%s 99 File name is => %s\tempnam_variation2\tempnam_variation2_sub\t%s 104 File name is => %s\tempnam_variation2\t%s 109 File name is => %s\tempnam_variation2\t%s 114 File name is => %s\tempnam_variation2\t%s 119 File name is => %s\tempnam_variation2\t%s 124 File name is => %s\t%s 129 File name is => %s\t%s 134 File name is => %s\t%s 139 File name is => %s\t%s [all …]
|
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-5.3/ext/mysqli/tests/ |
H A D | mysqli_debug_control_string.phpt | 13 die("skip: can't say for sure if mysqli_debug works"); 60 try_control_string($link, 't:,,:o,' . $trace_file, $trace_file, 10); 62 try_control_string($link, 't:o,' . $trace_file . ':abc', $trace_file, 30); 63 try_control_string($link, 't:o,' . $trace_file . ':ABC,123:b', $trace_file, 40); 64 try_control_string($link, 't:ABC,123:b;:o,' . $trace_file, $trace_file, 50); 65 try_control_string($link, 't:A;BC,123:b;:o,' . $trace_file, $trace_file, 60); 66 try_control_string($link, 't:p:o,' . $trace_file, $trace_file, 70); 67 try_control_string($link, 't:p,1,,2:o,' . $trace_file, $trace_file, 80); 68 try_control_string($link, 't:z,1,,2:o,' . $trace_file, $trace_file, 90);#
|
/PHP-5.3/ext/tokenizer/tests/ |
H A D | bug54089.phpt | 13 foreach ($tokens as $t) 15 $code .= isset($t[1]) ? $t[1] : $t;
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | chunk_split_variation10.phpt | 32 '\t', 59 string(82) "This is t o test ch unk_split () with v arious 's ingle quo ted' endi ng string . " 65 string(118) "This is t@#$%^o test ch@#$%^unk_split@#$%^() with v@#$%^arious 's@#$%^ingle quo@#$%^te… 67 string(91) "This is t\to test ch\tunk_split\t() with v\tarious 's\tingle quo\tted' endi\tng string\… 69 string(91) "This is t\no test ch\nunk_split\n() with v\narious 's\ningle quo\nted' endi\nng string\… 71 string(91) "This is t\ro test ch\runk_split\r() with v\rarious 's\ringle quo\rted' endi\rng string\… 73 string(109) "This is t\r\no test ch\r\nunk_split\r\n() with v\r\narious 's\r\ningle quo\r\nted' end… 75 string(91) "This is t\0o test ch\0unk_split\0() with v\0arious 's\0ingle quo\0ted' endi\0ng string\… 79 string(118) "This is t(MSG)o test ch(MSG)unk_split(MSG)() with v(MSG)arious 's(MSG)ingle quo(MSG)te… 81 string(226) "This is t) ending string (o test ch) ending string (unk_split) ending string (() with … [all …]
|
H A D | convert_uudecode_basic.phpt | 21 "\t This String contains \t\t some control characters\r\n", 28 '\t This String contains \t\t some control characters\r\n',
|