/PHP-5.3/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 | 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 | rfc-datetime_and_daylight_saving_time-type3.phpt | 15 * Forward Transitions, diff(). 21 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; 26 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 31 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 36 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 41 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 46 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 51 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 155 * Backward Transitions, diff(). 162 . ' = ' . $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
|
H A D | DateTime_diff-massive.phpt | 2 DateTime::diff() -- massive
|
/PHP-5.3/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.3/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.3/ext/pcre/ |
H A D | upgrade-pcre.php | 95 $diff = array_diff($dirorig, $dirnew); variable 97 foreach ($diff as $file) {
|
/PHP-5.3/ext/standard/ |
H A D | crypt_blowfish.c | 553 BF_word safety, sign, diff, tmp[2]; in BF_set_key() local 592 sign = diff = 0; in BF_set_key() 614 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key() 629 diff |= diff >> 16; /* still zero iff exact match */ in BF_set_key() 630 diff &= 0xffff; /* ditto */ in BF_set_key() 631 diff += 0xffff; /* bit 16 set iff "diff" was non-zero (on non-match) */ in BF_set_key() 633 sign &= ~diff & safety; /* action needed? */ in BF_set_key()
|
/PHP-5.3/ |
H A D | .gitignore | 68 diff 112 tests/*/*.diff 118 */tests/*.diff 124 */tests/*/*.diff 130 */*/tests/*.diff 136 */*/tests/*/*.diff
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_intersect_assoc_variation6.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' ar… 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n"; 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_variation6.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr2' argument 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr2 argument ***\n"; 80 *** Testing array_intersect() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_map_variation7.phpt | 19 echo "*** Testing array_map() : arrays with diff. size ***\n"; 36 *** Testing array_map() : arrays with diff. size ***
|
H A D | array_intersect_assoc_variation5.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' ar… 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n"; 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_intersect_variation5.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr1' argument 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr1 argument ***\n"; 80 *** Testing array_intersect() : assoc array with diff keys to $arr1 argument ***
|