Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 208) sorted by relevance

123456789

/PHP-7.1/ext/date/tests/
H A Dbug46268.phpt7 $now = new DateTime('2008-10-10 01:02:03');
8 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
10 $now->modify("1 day");
11 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
13 $now->modify("1 hour");
14 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
16 $now->setTime(0, 0, 0);
17 //date_time_set($now, 0, 0, 0);
18 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
H A Dbug50055.phpt5 $now = '2010-03-07 13:21:38 UTC';
7 $da1 = date_create( $now );
8 $ds1 = date_create( $now );
15 $da2 = date_create( $now );
16 $ds2 = date_create( $now );
H A Dbug75857.phpt7 $longDate = new DateTime('now', new DateTimeZone('America/Argentina/ComodRivadavia'));
8 $mediumDate = new DateTime('now', new DateTimeZone('America/Indiana/Indianapolis'));
9 $smallDate = new DateTime('now', new DateTimeZone('America/Sao_Paulo'));
H A Dbug71635.phpt6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
H A Dbug33536.phpt2 Bug #33456 (strtotime defaults to now even on non time string)
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_request.c41 struct timeval now; in fpm_request_accepting() local
43 fpm_clock_get(&now); in fpm_request_accepting()
52 proc->tv = now; in fpm_request_accepting()
64 struct timeval now; in fpm_request_reading_headers() local
70 fpm_clock_get(&now); in fpm_request_reading_headers()
83 proc->tv = now; in fpm_request_reading_headers()
112 struct timeval now; in fpm_request_info() local
123 proc->tv = now; in fpm_request_info()
167 proc->tv = now; in fpm_request_executing()
192 proc->tv = now; in fpm_request_end()
[all …]
H A Dfpm_events.c35 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); argument
377 struct timeval now; in fpm_event_loop() local
386 fpm_clock_get(&now); in fpm_event_loop()
403 if (!timerisset(&ms) || timercmp(&ms, &now, <) || timercmp(&ms, &now, ==)) { in fpm_event_loop()
406 timersub(&ms, &now, &tmp); in fpm_event_loop()
424 fpm_clock_get(&now); in fpm_event_loop()
426 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
433 fpm_event_set_timeout(q->ev, now); in fpm_event_loop()
486 struct timeval now; in fpm_event_add() local
507 fpm_clock_get(&now); in fpm_event_add()
[all …]
H A Dfpm_process_ctl.c291 static void fpm_pctl_check_request_timeout(struct timeval *now) /* {{{ */ in fpm_pctl_check_request_timeout() argument
302 fpm_request_check_timed_out(child, now, terminate_timeout, slowlog_timeout); in fpm_pctl_check_request_timeout()
359 struct timeval last, now; in fpm_pctl_perform_idle_server_maintenance() local
366 fpm_clock_get(&now); in fpm_pctl_perform_idle_server_maintenance()
367 if (last.tv_sec < now.tv_sec - wp->config->pm_process_idle_timeout) { in fpm_pctl_perform_idle_server_maintenance()
443 struct timeval now; in fpm_pctl_heartbeat() local
450 fpm_clock_get(&now); in fpm_pctl_heartbeat()
451 fpm_pctl_check_request_timeout(&now); in fpm_pctl_heartbeat()
468 struct timeval now; in fpm_pctl_perform_idle_server_maintenance_heartbeat() local
475 fpm_clock_get(&now); in fpm_pctl_perform_idle_server_maintenance_heartbeat()
[all …]
/PHP-7.1/ext/fileinfo/libmagic/
H A Dprint.c99 private time_t now = (time_t)0; in file_fmttime() local
101 if (now == (time_t)0) { in file_fmttime()
103 (void)time(&now); in file_fmttime()
104 tm1 = localtime(&now); in file_fmttime()
/PHP-7.1/ext/standard/tests/misc/
H A Dtime_sleep_until_basic.phpt16 $now = microtime(true);
27 $tmp = round($now, 3);
28 $now = $tmp >= (int)$time ? $tmp : $tmp + .05;
30 var_dump($now >= (int)$time);
/PHP-7.1/ext/standard/tests/array/
H A Darray_splice_basic.phpt15 // $input is now array("red", "green")
21 // $input is now array("red", "yellow")
27 // $input is now array("red", "orange")
32 // $input is now array("red", "green",
39 // $input is now array("red", "green",
/PHP-7.1/ext/intl/tests/
H A Dcalendar_getNow_basic.phpt12 $now = IntlCalendar::getNow();
15 var_dump(abs($now - $proc_now) < 500);
/PHP-7.1/ext/pgsql/tests/
H A D80_bug39971.phpt2 Bug #39971 (8.0+) (pg_insert/pg_update do not allow now() to be used for timestamp fields)
19 $values = array('tm' => 'now()');
/PHP-7.1/
H A DUPGRADING29 decoct(), dechex(), integer operators and other conversions now always
55 . rand() and srand() are now aliases of mt_rand() and mt_srand().
61 . Fixes to random number generators mean that mt_rand() now produces a
165 . String offset access now supports negative references, which will be
186 . TypeError messages for arg_info type checks will now say "must be ...
192 . The simple syntax for variable parsing inside of string literals now
207 - ext/mcrypt is now fully deprecated.
220 - long2ip() accepts integer as parameter now
232 - parse_url() is more restrictive now and supports RFC3986.
238 mb_strpos() and mb_stripos() now accept negative string offsets.
[all …]
/PHP-7.1/ext/oci8/tests/
H A Ddrcp_connection_class.phpt16 echo "Setting a new connection class now\n";
28 Setting a new connection class now
/PHP-7.1/ext/reflection/tests/
H A Dbug64936.phpt18 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
25 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-7.1/ext/standard/tests/strings/
H A Dbug72433.phpt5 // Fill any potential freed spaces until now.
16 // We now have multiple freed spaces. Fill all of them.
/PHP-7.1/ext/pcre/pcrelib/
H A DNEWS7 This is bug-fix release. Note that this library (now called PCRE1) is now being
15 This is bug-fix release. Note that this library (now called PCRE1) is now being
62 literals. PCRE now does the same.
94 . JIT now supports callouts and all of the backtracking verbs.
118 . \X now matches a Unicode extended grapheme cluster.
137 now "skip" instead of "read" (which provokes an error).
154 . The JIT compiler now supports partial matching and the (*MARK) and
250 START_OPTIMIZE option, which is now allowed at compile time
503 The distribution now includes a C++ wrapper library. This is built
579 3. PCRE can now be compiled for systems that use EBCDIC code.
[all …]
/PHP-7.1/ext/standard/tests/file/
H A Dunlink_variation2-win32.phpt27 // now close file handle
30 // now unlink file
/PHP-7.1/ext/standard/tests/file/windows_mb_path/
H A Dbug54028_2.phpt30 $now = $prefix . $d;
31 var_dump(chdir($now));
/PHP-7.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetch_serialize_simple.phpt45 printf("\nAnd now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)...\n");
59 printf("\nAnd now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...\n");
81 And now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)...
89 And now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt31 // now the same with native PS
32 printf("now the same with native PS\n");
78 now the same with native PS
/PHP-7.1/tests/output/
H A Dbug60322.phpt2 Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
/PHP-7.1/ext/standard/tests/general_functions/
H A Disset_basic2.phpt34 echo "..now set\n";
56 ..now set
/PHP-7.1/Zend/tests/
H A Derrmsg_024.phpt2 No more errmsg: can now change initial value of property

Completed in 28 milliseconds

123456789