Home
last modified time | relevance | path

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

12345678

/PHP-5.3/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 Dbug33536.phpt2 Bug #33456 (strtotime defaults to now even on non time string)
/PHP-5.3/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.c32 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); argument
370 struct timeval now; in fpm_event_loop() local
379 fpm_clock_get(&now); in fpm_event_loop()
396 if (!timerisset(&ms) || timercmp(&ms, &now, <) || timercmp(&ms, &now, ==)) { in fpm_event_loop()
399 timersub(&ms, &now, &tmp); in fpm_event_loop()
417 fpm_clock_get(&now); in fpm_event_loop()
419 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
426 fpm_event_set_timeout(q->ev, now); in fpm_event_loop()
479 struct timeval now; in fpm_event_add() local
500 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.3/
H A DUPGRADING35 - **namespace** and **goto** are now reserved keywords.
91 - These functions now take new parameters:
115 - mail() now supports the logging of sent mail.
154 - SplObjectStorage now has ArrayAccess support. It is also now possible to
259 - cURL now supports SSH
266 Notification (FAN) are now supported.
305 - A new "litespeed" SAPI is now available.
341 - open_basedir is now PHP_INI_ALL
409 - Dynamic access to static methods is now possible:
413 - Exceptions can now be nested:
[all …]
H A DUPGRADING.INTERNALS13 lstat is now available on all platforms. On unix-like platform
14 php_sys_lstat is an alias to lstat (when avaible). On Windows it is now
20 readlink is now available on all platforms. On unix-like platform
21 php_sys_readlink is an alias to readlink (when avaible). On Windows it is now
/PHP-5.3/ext/fileinfo/libmagic/
H A Dprint.c81 private time_t now = (time_t)0; in file_fmttime() local
83 if (now == (time_t)0) { in file_fmttime()
85 (void)time(&now); in file_fmttime()
86 tm1 = localtime(&now); in file_fmttime()
/PHP-5.3/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.3/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.3/ext/pgsql/tests/
H A D80_bug39971.phpt2 Bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields)
19 $values = array('tm' => 'now()');
/PHP-5.3/ext/oci8/tests/
H A Ddrcp_connection_class.phpt10 echo "Setting a new connection class now\n";
22 Setting a new connection class now
/PHP-5.3/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.3/ext/standard/tests/file/
H A Dunlink_variation2-win32.phpt27 // now close file handle
30 // now unlink file
/PHP-5.3/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
H A Dpdo_mysql_prepare_emulated_anonymous.phpt35 // now the same with native PS
36 printf("now the same with native PS\n");
77 now the same with native PS
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt36 // now the same with emulated PS
37 printf("now the same with emulated PS\n");
72 now the same with emulated PS
/PHP-5.3/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.3/ext/standard/tests/general_functions/
H A Disset_basic2.phpt34 echo "..now set\n";
56 ..now set
/PHP-5.3/Zend/tests/
H A Derrmsg_024.phpt2 No more errmsg: can now change initial value of property
/PHP-5.3/ext/pcre/pcrelib/
H A DNEWS10 . There is now support for 32-bit character strings and UTF-32. Like the
13 . \X now matches a Unicode extended grapheme cluster.
16 "other case" now makes all three (or more) characters equivalent. This
30 to all files now, not just those obtained from scanning a directory
32 now "skip" instead of "read" (which provokes an error).
49 . The JIT compiler now supports partial matching and the (*MARK) and
63 . pcregrep now recognizes binary files and there are related options.
145 START_OPTIMIZE option, which is now allowed at compile time
398 The distribution now includes a C++ wrapper library. This is built
474 3. PCRE can now be compiled for systems that use EBCDIC code.
[all …]
/PHP-5.3/ext/bcmath/libbcmath/
H A DChangeLog3 * configure.in and many others: version number now at 0.2.
/PHP-5.3/ext/pcre/tests/
H A Dpreg_replace_callback_basic.phpt21 $subject2 = '1 2 3 4 is now written in words';
31 one two three 4 is now written in words

Completed in 57 milliseconds

12345678