/PHP-7.3/ext/date/tests/ |
H A D | bug46268.phpt | 7 $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 D | bug77097.phpt | 5 $now = new DateTime('2018-11-03 11:34:20.781751'); 8 $diff = $now->diff($ago); 11 $diff = $ago->diff($now); 14 $diff = $now->diff($ago, true); 17 $diff = $ago->diff($now, true);
|
H A D | bug50055.phpt | 5 $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 D | bug75857.phpt | 7 $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 D | bug71635.phpt | 6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_request.c | 41 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 D | fpm_events.c | 34 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); argument 389 struct timeval now; in fpm_event_loop() local 398 fpm_clock_get(&now); in fpm_event_loop() 415 if (!timerisset(&ms) || timercmp(&ms, &now, <) || timercmp(&ms, &now, ==)) { in fpm_event_loop() 418 timersub(&ms, &now, &tmp); in fpm_event_loop() 436 fpm_clock_get(&now); in fpm_event_loop() 438 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop() 445 fpm_event_set_timeout(q->ev, now); in fpm_event_loop() 498 struct timeval now; in fpm_event_add() local 519 fpm_clock_get(&now); in fpm_event_add() [all …]
|
H A D | fpm_process_ctl.c | 290 static void fpm_pctl_check_request_timeout(struct timeval *now) /* {{{ */ in fpm_pctl_check_request_timeout() argument 309 static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ */ in fpm_pctl_perform_idle_server_maintenance() argument 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.3/ext/standard/tests/misc/ |
H A D | time_sleep_until_basic.phpt | 16 $now = microtime(true); 27 $tmp = round($now, 3); 28 $now = $tmp >= (int)$time ? $tmp : $tmp + .05; 30 var_dump($now >= (int)$time);
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_splice_basic.phpt | 15 // $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.3/ext/intl/tests/ |
H A D | calendar_getNow_basic.phpt | 12 $now = IntlCalendar::getNow(); 15 var_dump(abs($now - $proc_now) < 500);
|
/PHP-7.3/ext/xmlwriter/tests/ |
H A D | bug71536.phpt | 17 die('now'); // crashed with die() 24 now
|
/PHP-7.3/ |
H A D | UPGRADING | 24 some old options removed. This is now written in PHP and has no external 29 error_get_last() state. As such, they now work the same way as manually 190 . instanceof now allows literals as the first operand, 197 . Trailing commas in function and method calls are now allowed. 227 considered (case insensitively) equal now. 232 . Mbstring now correctly supports strings larger than 2GB. 286 . The getallheaders() function is now also available. 309 FILTER_FLAG_HOST_REQUIRED is now deprecated; both are implied for 389 . preg_quote() now also escapes the '#' character. 502 . libcurl >= 7.15.5 is now required. [all …]
|
H A D | UPGRADING.INTERNALS | 61 RT_CONSTANT_EX, EX_CONSTANT should be substituted by RT_CONSTANT, and now 81 zend_ast_copy() now returns zend_ast_ref (instead of zend_asr). 108 j. The cast_object() object handler now also accepts the _IS_NUMBER type. The 138 q. sapi_cli_single_write() now returns ssize_t instead of size_t. 147 recommended to use this from now on, instead of defining own handler types. 149 u. The GC globals (GC_G) are now private. Use the new zend_gc_get_status() to 153 removed. It is now always the caller's responsibility to free the passed 161 - DECLARE_INHERITED_CLASS and DECLARE_ANON_INHERITED_CLASS now encode parent 178 bb. php_setcookie() now expects an additional samesite argument, and the 179 url_encode parameter has been moved to the end. The signature is now: [all …]
|
/PHP-7.3/ext/pgsql/tests/ |
H A D | 80_bug39971.phpt | 2 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.3/ext/oci8/tests/ |
H A D | drcp_connection_class.phpt | 16 echo "Setting a new connection class now\n"; 28 Setting a new connection class now
|
/PHP-7.3/ext/reflection/tests/ |
H A D | bug64936.phpt | 16 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm… 23 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | bug72433.phpt | 5 // Fill any potential freed spaces until now. 16 // We now have multiple freed spaces. Fill all of them.
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetch_serialize_simple.phpt | 43 printf("\nAnd now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)...\n"); 57 printf("\nAnd now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...\n"); 79 And now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)... 87 And now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...
|
H A D | pdo_mysql_prepare_emulated_anonymous.phpt | 35 // now the same with native PS 36 printf("now the same with native PS\n"); 77 now the same with native PS
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 31 // now the same with native PS 32 printf("now the same with native PS\n"); 78 now the same with native PS
|
/PHP-7.3/ext/standard/tests/file/windows_mb_path/ |
H A D | bug54028_2.phpt | 30 $now = $prefix . $d; 31 var_dump(chdir($now));
|
/PHP-7.3/tests/output/ |
H A D | bug60322.phpt | 2 Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
|
/PHP-7.3/Zend/tests/ |
H A D | errmsg_024.phpt | 2 No more errmsg: can now change initial value of property
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | isset_basic2.phpt | 34 echo "..now set\n"; 56 ..now set
|