Home
last modified time | relevance | path

Searched refs:second (Results 26 – 50 of 395) sorted by relevance

12345678910>>...16

/php-src/ext/date/tests/
H A Dbug81458.phpt6 $second = new DateTime('2018-07-02 00:00:00.000000 America/Toronto');
8 var_dump($first->diff($second)->days);
9 var_dump($first->diff($second)->d);
H A Dstrtotime_basic.phpt2 strtotime() function - a test to show the difference in behaviour between 'first' and '1', "second"…
16 * This is parsed as the "second following Monday OR the first following
21 * This is parsed as the "third following Monday OR the second following
30 * This is parsed as the "second following Monday after the first Monday in December"
32 var_dump(date('Y-m-d', strtotime('second Monday December 2008')));
H A Dbug49059.phpt17 print "\$date1 after second diff (called at \$date1): " .
19 print "\$diff->days after second diff: " . $diff->days . "\n";
31 $date1 after second diff (called at $date1): 2009-03-25
32 $diff->days after second diff: 24
H A Ddate_parse_basic1.phpt28 ["second"]=>
56 ["second"]=>
84 ["second"]=>
H A Ddate_modify-1.phpt8 $ts->modify("+1 second");
14 $ts->modify("+1 second");
19 $ts->modify("+ 1 hour 1 second");
/php-src/ext/standard/tests/streams/
H A Dstream_multi_filters_close.phpt46 stream_filter_register("second", "SecondFilter");
48 $second = stream_filter_prepend($r, "second", STREAM_FILTER_WRITE, []);
50 stream_filter_remove($second);
/php-src/Zend/tests/generators/finally/
H A Dfinally_ran_on_close.phpt17 echo "second finally run\n";
19 echo "code after second finally\n";
30 second finally run
/php-src/ext/standard/tests/file/
H A Dreadfile_variation3.phpt5 /* test readfile() by providing an include path, second argument */
13 echo "*** Testing readfile(): checking second argument, include path ***\n";
30 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n";
44 *** Testing readfile(): checking second argument, include path ***
52 *** Testing readfile(): checking second argument, include path with context specified ***
H A Dunlink_basic.phpt18 echo "\n*** Testing unlink() : checking second argument ***\n";
27 var_dump( unlink($filename, $context) ); // using $context in second argument
37 *** Testing unlink() : checking second argument ***
/php-src/tests/lang/
H A Dthis_assignment.phpt14 $b = new second();
21 class second {
29 function me() { echo "second"; }
/php-src/sapi/cgi/tests/
H A Dbug61605.phpt12 header("A: second", TRUE);
26 [1] => A: second
31 [1] => A: second
/php-src/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_int.phpt7 …public function setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false): DateT…
13 …minute, int $second = 0, bool $microsecond = false): DateTime must be compatible with DateTime::se…
/php-src/ext/spl/tests/
H A Dbug65006.phpt13 class second {
21 second::init();
40 string(6) "second"
/php-src/ext/intl/tests/
H A Dbug70452.phpt7 // Rely on the default value for the second parameter
9 // Provide a valid option for the second parameter
14 // Provide an invalid value for the second parameter
/php-src/ext/dom/tests/
H A DDOMNode_normalize_basic.phpt37 // add a second text node to title
38 $text = $doc->createTextNode('This is the second title');
41 echo "Number of child nodes of title after adding second title = ";
51 // should concatenate first and second title text nodes
60 Number of child nodes of title after adding second title = int(2)
H A Dbug47531_a.phpt12 <second>
32 </second>
45 <second>
65 </second>
H A Dbug47531_b.phpt12 <foo:second xmlns:foo="some:ns2">
32 </foo:second>
46 <foo:second xmlns:foo="some:ns2">
66 </foo:second>
H A DDOM4_DOMNode_replaceWith.phpt10 $dom->loadXML('<test><mark>first</mark><mark>second</mark></test>');
26 second
/php-src/ext/xsl/tests/
H A Dxslt010.phpt46 second-in-minute : NaN
64 second-in-minute : NaN
82 second-in-minute : NaN
100 second-in-minute : NaN
118 second-in-minute : NaN
136 second-in-minute : NaN
154 second-in-minute : NaN
172 second-in-minute : NaN
190 second-in-minute : NaN
208 second-in-minute : NaN
H A Dxslt010_gt10129.phpt45 second-in-minute : NaN
63 second-in-minute : NaN
81 second-in-minute : NaN
99 second-in-minute : NaN
117 second-in-minute : NaN
135 second-in-minute : NaN
153 second-in-minute : NaN
171 second-in-minute : NaN
189 second-in-minute : NaN
207 second-in-minute : NaN
/php-src/ext/dom/tests/modern/spec/
H A DNode_normalize.phpt39 // add a second text node to title
40 $text = $doc->createTextNode('This is the second title');
43 echo "Number of child nodes of title after adding second title = ";
53 // should concatenate first and second title text nodes
62 Number of child nodes of title after adding second title = int(2)
/php-src/Zend/tests/
H A Dbug66015.phpt13 'second',
29 2 => 'second',
/php-src/ext/mysqli/tests/
H A Dbug79375.phpt93 testStmtStoreResult($mysqli2, 'second connection');
104 testStmtGetResult($mysqli2, 'second connection');
115 testNormalQuery($mysqli2, 'second connection');
126 testStmtUseResult($mysqli2, 'second connection');
137 testResultFetchRow($mysqli2, 'second connection');
150 Running query on second connection
155 Running query on second connection
160 Running query on second connection
165 Running query on second connection
170 Running query on second connection
H A Dmysqli_pconn_max_links.phpt15 … printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
72 printf("[001] Cannot connect using the second DB user created during SKIPIF, [%d] %s\n",
89 printf("[003] Cannot run query on persistent connection of second DB user, [%d] %s\n",
98 // change the password for the second DB user and kill the persistent connection
104 // change the password for the second DB user and kill the persistent connection
114 // give the server a second to really kill the thread
128 echo "Before second pconnect:";
136 echo "After second pconnect:";
162 printf("[013] Cannot run query on persistent connection of second DB user, [%d] %s\n",
234 Before second pconnect:array(3) {
[all …]
/php-src/Zend/tests/try/
H A Dtry_multicatch_007.phpt2 Catch second exception in the second multicatch

Completed in 29 milliseconds

12345678910>>...16