Home
last modified time | relevance | path

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

123456789

/PHP-5.6/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 Dbug71635.phpt6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_request.c42 struct timeval now; in fpm_request_accepting() local
44 fpm_clock_get(&now); in fpm_request_accepting()
53 proc->tv = now; in fpm_request_accepting()
65 struct timeval now; in fpm_request_reading_headers() local
71 fpm_clock_get(&now); in fpm_request_reading_headers()
84 proc->tv = now; in fpm_request_reading_headers()
115 struct timeval now; in fpm_request_info() local
126 proc->tv = now; in fpm_request_info()
170 proc->tv = now; in fpm_request_executing()
195 proc->tv = now; in fpm_request_end()
[all …]
H A Dfpm_events.c36 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); argument
378 struct timeval now; in fpm_event_loop() local
387 fpm_clock_get(&now); in fpm_event_loop()
404 if (!timerisset(&ms) || timercmp(&ms, &now, <) || timercmp(&ms, &now, ==)) { in fpm_event_loop()
407 timersub(&ms, &now, &tmp); in fpm_event_loop()
425 fpm_clock_get(&now); in fpm_event_loop()
427 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
434 fpm_event_set_timeout(q->ev, now); in fpm_event_loop()
487 struct timeval now; in fpm_event_add() local
508 fpm_clock_get(&now); in fpm_event_add()
[all …]
H A Dfpm_process_ctl.c292 static void fpm_pctl_check_request_timeout(struct timeval *now) /* {{{ */ in fpm_pctl_check_request_timeout() argument
303 fpm_request_check_timed_out(child, now, terminate_timeout, slowlog_timeout); in fpm_pctl_check_request_timeout()
360 struct timeval last, now; in fpm_pctl_perform_idle_server_maintenance() local
367 fpm_clock_get(&now); in fpm_pctl_perform_idle_server_maintenance()
368 if (last.tv_sec < now.tv_sec - wp->config->pm_process_idle_timeout) { in fpm_pctl_perform_idle_server_maintenance()
444 struct timeval now; in fpm_pctl_heartbeat() local
451 fpm_clock_get(&now); in fpm_pctl_heartbeat()
452 fpm_pctl_check_request_timeout(&now); in fpm_pctl_heartbeat()
469 struct timeval now; in fpm_pctl_perform_idle_server_maintenance_heartbeat() local
476 fpm_clock_get(&now); in fpm_pctl_perform_idle_server_maintenance_heartbeat()
[all …]
/PHP-5.6/ext/fileinfo/libmagic/
H A Dprint.c96 private time_t now = (time_t)0; in file_fmttime() local
98 if (now == (time_t)0) { in file_fmttime()
100 (void)time(&now); in file_fmttime()
101 tm1 = localtime(&now); in file_fmttime()
/PHP-5.6/ext/standard/tests/misc/
H A Dtime_sleep_until_basic.phpt16 $now = microtime(true);
26 $now = round($now, 3);
28 var_dump($now >= (int)$time);
/PHP-5.6/
H A DUPGRADING48 streams now verify peer certificates by default. Previous versions
65 Uploads using the @file syntax are now unsupported by default.
180 application/xml is now sent automatically.
232 substr_compare() now allows $length to be zero.
240 The $source parameter of mcrypt_create_iv() now defaults to
271 replacing "C:" with "O:" at the start will now produce an error.
367 - The oci_internal_debug() function is now a no-op.
404 - DOMNode::textContent is now a writeable property. (>= 5.6.1)
476 Uploads equal or greater than 2GB in size are now accepted.
492 The default value of default_charset is now UTF-8 when it is not
[all …]
H A DUPGRADING.INTERNALS7 b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
56 b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
58 The return_value_ptr argument to internal functions is now always set.
60 return_value_ptr can now be used to return zvals without copying them.
126 String created using STR_EMPTY_ALLOC() are now interned.
183 This function now directly forwards to zend_hash_splice(), resets the
189 Strings requiring unserialization of objects are now explicitly checked
198 start, will most likely be defectively initialized. This is now
206 hack for marking zvals as constant index with IS_CONSTANT_INDEX is now
208 Please note that IS_CONSTANT_AST now has the same value than
[all …]
/PHP-5.6/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-5.6/ext/intl/tests/
H A Dcalendar_getNow_basic.phpt12 $now = IntlCalendar::getNow();
15 var_dump(abs($now - $proc_now) < 500);
/PHP-5.6/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-5.6/ext/ereg/regex/
H A DWHATSNEW11 is an alphabetic. Stuff used for pre-ANSI systems is now in a subdir,
22 (the development base is now a BSDI system using GCC instead of an ancient
29 now handled gracefully. "uchar" is no longer used as an internal type
39 free the main internal structure (how embarrassing). It is now possible
44 There are now primitives to match beginnings and ends of words, although
57 The regression test will now compile (and run) without REDEBUG. The
58 BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now.
59 Char/uchar parameters are now written int/unsigned, to avoid possible
65 thing is that regex.h is now generated, using mkh, rather than being
68 have been fixed (and the regression test now checks for them), as has a
/PHP-5.6/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-5.6/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-5.6/ext/reflection/tests/
H A Dbug64936.phpt19 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
26 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-5.6/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-5.6/ext/standard/tests/file/
H A Dunlink_variation2-win32.phpt27 // now close file handle
30 // now unlink file
/PHP-5.6/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-5.6/sapi/roxen/
H A DREADME4 The module is now thread safe, in a couple of different modes. First
11 This solution now works fine and is recommended. Multiple PHP5
/PHP-5.6/tests/output/
H A Dbug60322.phpt2 Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
/PHP-5.6/ext/standard/tests/general_functions/
H A Disset_basic2.phpt34 echo "..now set\n";
56 ..now set
/PHP-5.6/Zend/tests/
H A Derrmsg_024.phpt2 No more errmsg: can now change initial value of property

Completed in 31 milliseconds

123456789