/PHP-5.6/ext/date/tests/ |
H A D | bug49059.phpt | 2 Bug #49059 (DateTime::diff() repeats previous sub() operation) 11 $diff = $date1->diff($date2); 13 print "\$diff->days after first diff: " . $diff->days . "\n"; 16 $diff = $date1->diff($date2); 19 print "\$diff->days after second diff: " . $diff->days . "\n"; 20 $diff = $date2->diff($date1); 23 print "\$diff->days after third diff: " . $diff->days . "\n"; 28 $date1 after first diff: 2009-03-27 29 $diff->days after first diff: 26 32 $diff->days after second diff: 24 [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fd.phpt | 13 * Forward Transitions, diff(). 19 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 39 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 44 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 49 . ' = ' . $start->diff($end)->format($interval_format) . "\n";
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bd1.phpt | 13 * Backward Transitions, diff(). 19 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 39 . ' = ' . $start->diff($end)->format($interval_format) . "\n";
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bd2.phpt | 23 * Backward Transitions, diff(). 30 . ' = ' . $start->diff($end)->format('P%dDT%hH%iM%sS') . "\n"; 36 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 42 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 48 . ' = ' . $start->diff($end)->format($interval_format) . "\n";
|
H A D | date_diff.phpt | 25 $diff = date_diff( $dates[$i], $dates[$j] ); 30 $diff->format( '%a' ), 31 $diff->format( '%y-%m-%d' ) 36 $int = new DateInterval( $diff->format( 'P%yY%mM%dD' ) );
|
H A D | bug52113.phpt | 9 $diff = $start->diff($end); 10 $p = new DatePeriod($start, $diff, 2); 11 $diff_s = serialize($diff); 12 var_dump($diff, $diff_s); 13 var_export($diff);
|
H A D | bug49081.phpt | 2 Bug #49081 (DateTime::diff() mistake if start in January and interval > 28 days) 8 $d = $d1->diff($d2);
|
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 13 * Forward Transitions, diff(). 19 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 39 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 44 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 49 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 144 * Backward Transitions, diff(). 150 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; [all …]
|
H A D | bug45682.phpt | 11 $diff = date_diff($date, $other); 13 var_dump($diff);
|
H A D | rfc-datetime_and_daylight_saving_time-type2.phpt | 13 * Forward Transitions, diff(). 19 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 39 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 44 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 49 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 144 * Backward Transitions, diff(). 150 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; [all …]
|
H A D | examine_diff.inc | 4 * Helper for the DateTime diff/days/math tests 19 * Provides a consistent interface for executing date diff/add/sub tests 56 $result_interval = $start->diff($end, $absolute); 62 $result_interval = $start->diff($end, $absolute);
|
H A D | DateTime_days-absolute.phpt | 2 DateTime::diff() days -- absolute
|
H A D | DateTime_days-massive.phpt | 2 DateTime::diff() days -- massive
|
H A D | DateTime_diff-absolute.phpt | 2 DateTime::diff() -- absolute
|
/PHP-5.6/ext/bcmath/libbcmath/src/ |
H A D | sub.c | 51 bc_num diff = NULL; local 57 diff = _bc_do_add (n1, n2, scale_min); 58 diff->n_sign = n1->n_sign; 69 diff = _bc_do_sub (n2, n1, scale_min); 70 diff->n_sign = (n2->n_sign == PLUS ? MINUS : PLUS); 75 diff = bc_new_num (1, res_scale); 76 memset (diff->n_value, 0, res_scale+1); 80 diff = _bc_do_sub (n1, n2, scale_min); 81 diff->n_sign = n1->n_sign; 88 *result = diff;
|
H A D | sqrt.c | 49 bc_num guess, guess1, point5, diff; in bc_sqrt() local 76 bc_init_num(&diff TSRMLS_CC); in bc_sqrt() 110 bc_sub (guess, guess1, &diff, cscale+1); in bc_sqrt() 111 if (bc_is_near_zero (diff, cscale)) in bc_sqrt() 126 bc_free_num (&diff); in bc_sqrt()
|
H A D | doaddsub.c | 143 bc_num diff; local 154 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min)); 159 diffptr = (char *) (diff->n_value + diff_len + diff_scale); 167 diffptr = (char *) (diff->n_value + diff_len + diff_scale -1); 229 _bc_rm_leading_zeros (diff); 230 return diff;
|
/PHP-5.6/sapi/phpdbg/tests/ |
H A D | run-tests.php | 459 $this->diff['gets'][$num] = $line; 466 $this->diff['gets'][$num] = $line; 473 $this->diff['gets'][$num] = $line; 481 $this->diff['gets'][$num] = $line; 491 return (count($this->diff) == 0); 499 if (count($this->diff['wants'])) { 513 $got = $this->diff['gets'][$line]; 521 fclose($diff); 524 } else unlink($diff); 536 if (count($this->diff) && $result) { [all …]
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | getnotify.phpt | 73 $diff = microtime(1) - $t; 74 var_dump($diff >= 1 || 1 - abs($diff) < .01); 81 $diff = microtime(1) - $t; 82 var_dump($diff < 1 || abs(1 - abs($diff)) < .01);
|
/PHP-5.6/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeARM_T2_32.c | 244 if (diff <= 127 && diff >= -128) { in detect_jump_type() 248 if (diff <= 524287 && diff >= -524288) { in detect_jump_type() 253 diff--; in detect_jump_type() 254 if (diff <= 8388607 && diff >= -8388608) { in detect_jump_type() 260 if (diff <= 8388607 && diff >= -8388608) { in detect_jump_type() 266 if (diff <= 1023 && diff >= -1024) { in detect_jump_type() 270 if (diff <= 8388607 && diff >= -8388608) { in detect_jump_type() 314 diff--; in set_jump_instruction() 324 SLJIT_ASSERT(diff <= 8388607 && diff >= -8388608); in set_jump_instruction() 986 if (diff <= 0xfff && diff >= -0xfff) in can_cache() [all …]
|
/PHP-5.6/ext/xmlrpc/libxmlrpc/ |
H A D | encodings.c | 84 int diff = out_ptr - outbuf; in convert() local 91 out_ptr = outbuf + diff; in convert()
|
/PHP-5.6/ext/pcre/ |
H A D | upgrade-pcre.php | 95 $diff = array_diff($dirorig, $dirnew); variable 97 foreach ($diff as $file) {
|
/PHP-5.6/tests/classes/ |
H A D | bug65768.phpt | 12 $diff1 = $dt1->diff($dti1); 16 $diff2 = $dti1->diff($dti2);
|
/PHP-5.6/ext/standard/ |
H A D | crypt_blowfish.c | 557 BF_word safety, sign, diff, tmp[2]; in BF_set_key() local 597 sign = diff = 0; in BF_set_key() 619 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key() 634 diff |= diff >> 16; /* still zero iff exact match */ in BF_set_key() 635 diff &= 0xffff; /* ditto */ in BF_set_key() 636 diff += 0xffff; /* bit 16 set iff "diff" was non-zero (on non-match) */ in BF_set_key() 638 sign &= ~diff & safety; /* action needed? */ in BF_set_key()
|
/PHP-5.6/ |
H A D | .gitignore | 72 diff 118 tests/*/*.diff 124 */tests/*.diff 130 */tests/*/*.diff 136 */*/tests/*.diff 143 */*/tests/*/*.diff
|