Home
last modified time | relevance | path

Searched refs:ts (Results 26 – 50 of 147) sorted by relevance

123456

/php-src/ext/date/tests/
H A Dbug60236.phpt8 $ts = $t->format('U');
9 var_dump($ts);
10 $t->setTimestamp($ts);
H A Dbug80963.phpt19 ["ts"]=>
32 ["ts"]=>
45 ["ts"]=>
H A Dgh7758.phpt7 foreach ([0.4, 0, -0.4, -1, -1.4] as $ts) {
8 $date = new DateTime('@' . $ts);
H A DcreateFromTimestamp_32bit.phpt23 foreach ($timestamps as $ts) {
24 echo 'DateTime::createFromTimestamp(' . var_export($ts, true) . '): ';
26 var_dump(DateTime::createFromTimestamp($ts));
31 echo 'DateTimeImmutable::createFromTimestamp(' . var_export($ts, true) . '): ';
33 var_dump(DateTimeImmutable::createFromTimestamp($ts));
/php-src/Zend/
H A Dzend_hrtime.h88 struct timespec ts = { .tv_sec = 0, .tv_nsec = 0 }; in zend_hrtime()
89 if (EXPECTED(0 == clock_gettime(CLOCK_MONOTONIC, &ts))) { in zend_hrtime()
90 return ((zend_hrtime_t) ts.tv_sec * (zend_hrtime_t)ZEND_NANO_IN_SEC) + ts.tv_nsec; in zend_hrtime()
/php-src/ext/soap/tests/soap12/
H A DT02.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
22 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT26.phpt10 <?xml-stylesheet href="http://example.org/ts-tests/sub.xsl" type = "text/xsl"?>
12 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
20 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT32.phpt11 <test:requiredHeader xmlns:test="http://example.org/ts-tests"
15 <test:echoHeader xmlns:test="http://example.org/ts-tests">
24 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT22.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
15 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
23 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT74.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 <test:Unknown xmlns:test="http://example.org/ts-tests">
27 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT41.phpt13 <test:echoStruct xmlns:test="http://example.org/ts-tests"
16 xmlns:ns1="http://example.org/ts-tests/xsd">
29 …e.org/ts-tests" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XML…
H A DT63.phpt11 <test:validateCountryCode xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/C"
24 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT05.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/B">foo</test:echoOk>
H A DT15.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/B"
H A DT29.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 …env:role="http://example.org/ts-tests/Czzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz…
/php-src/ext/standard/
H A Ddatetime.c73 char *ts; in PHP_FUNCTION() local
81 Z_PARAM_STRING(ts, ts_length) in PHP_FUNCTION()
87 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
/php-src/ext/intl/tests/
H A Ddateformat_get_set_calendar.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 global $ts;
17 echo $df->format($ts), "\n";
H A Ddateformat_get_set_calendar_variant2.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 global $ts;
17 echo $df->format($ts), "\n";
H A Ddateformat_get_set_calendar_variant3.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 global $ts;
18 echo $df->format($ts), "\n";
H A Ddateformat_get_set_calendar_variant_icu70.phpt15 $ts = strtotime('2012-01-01 00:00:00 UTC');
18 global $ts;
19 echo $df->format($ts), "\n";
H A Ddateformat_get_set_calendar_variant4.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 global $ts;
18 echo $df->format($ts), "\n";
H A Ddateformat_get_set_calendar_variant5.phpt15 $ts = strtotime('2012-01-01 00:00:00 UTC');
18 global $ts;
19 echo $df->format($ts), "\n";
H A Ddateformat_get_set_timezone.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 global $ts;
17 echo $df->format($ts), "\n";
H A Ddateformat_get_set_timezone_variant3.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 global $ts;
18 echo $df->format($ts), "\n";
/php-src/ext/mysqli/tests/
H A Dbug76386.phpt27 'ts timestamp default current_timestamp(), ts2 timestamp(2) default ' .
35 'INSERT INTO ts_test (ts, ts2, ts4, ts6) VALUES ("2018-01-01 11:22:33", ' .
42 $tsid = $ts = $ts2 = $ts2b = $ts4 = $ts4b = $ts6 = $ts6b = null;
43 $stmt->bind_result($tsid, $ts, $ts2, $ts2b, $ts4, $ts4b, $ts6, $ts6b);
45 var_dump($ts, $ts2, $ts2b, $ts4, $ts4b, $ts6, $ts6b);

Completed in 27 milliseconds

123456