/PHP-5.6/ext/date/tests/ |
H A D | DateTime_setTime_error.phpt | 2 Test DateTime::setTime() function : error conditions 13 echo "*** Testing DateTime::setTime() : error conditions ***\n"; 17 echo "\n-- Testing DateTime::setTime() function with zero arguments --\n"; 18 var_dump( $datetime->setTime() ); 22 var_dump( $datetime->setTime($hour) ); 28 var_dump( $datetime->setTime($hour, $min, $sec, $extra_arg) ); 33 *** Testing DateTime::setTime() : error conditions *** 35 -- Testing DateTime::setTime() function with zero arguments -- 40 -- Testing DateTime::setTime() function with less than expected no. of arguments -- 45 -- Testing DateTime::setTime() function with more than expected no. of arguments -- [all …]
|
H A D | DateTime_setTime_basic1.phpt | 2 Test DateTime::setTime() function : basic functionality 5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) 14 echo "*** Testing DateTime::setTime() : basic functionality ***\n"; 21 $datetime->setTime(17, 20); 24 $datetime->setTime(19, 05, 59); 27 $datetime->setTime(24, 10); 30 $datetime->setTime(47, 35, 47); 33 $datetime->setTime(54, 25); 39 *** Testing DateTime::setTime() : basic functionality ***
|
H A D | DateTime_setTime_variation1.phpt | 2 Test DateTime::setTime() function : usage variation - Passing unexpected values to first argument $… 5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) … 104 var_dump( $object->setTime($hour, $minute, $sec) ); 187 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d 192 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d 197 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d 202 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d 267 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d 272 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d 277 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d [all …]
|
H A D | DateTime_setTime_variation2.phpt | 2 Test DateTime::setTime() function : usage variation - Passing unexpected values to second argument … 5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) … 104 var_dump( $object->setTime($hour, $minute, $sec) ); 187 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d 192 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d 197 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d 202 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d 267 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d 272 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d 277 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d [all …]
|
H A D | DateTime_setTime_variation3.phpt | 2 Test DateTime::setTime() function : usage variation - Passing unexpected values to third argument $… 5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) … 104 var_dump( $object->setTime($hour, $minute, $sec) ); 187 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d 192 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d 197 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d 202 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d 267 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d 272 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d 277 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d [all …]
|
H A D | DateTime_data-massive.inc | 17 $end->setTime(16, 18, 02); 21 $start->setTime(16, 18, 02); 28 $end->setTime(16, 18, 02); 32 $start->setTime(16, 18, 02);
|
H A D | date-lenient-create.phpt | 11 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) ); 14 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) ); 17 print_r( date_create_from_format( 'm/d/y++', $date , $tz)->setTime(0, 0) ); 22 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) ); 25 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
|
H A D | bug39782.phpt | 2 Bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results) 10 $dttTest->setTime(12, 0, 0); 13 $dttTest->setTime(12, 0, 0);
|
H A D | bug41599.phpt | 2 Bug #41599 (setTime() fails after modify() is used) 15 $start->setTime(4, 0, 0); 19 $start->setTime(8, 0, 0);
|
H A D | bug50475.phpt | 2 Bug #50475 (DateTime::setISODate followed by DateTime::setTime) 13 $date->setTime(8, 0);
|
H A D | bug46268.phpt | 2 Bug #46268 (When call DateTime#setTime, it seems to be called the last modify method too) 16 $now->setTime(0, 0, 0);
|
H A D | bug52290.phpt | 2 Bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp) 20 $dt->setTime(20, 30, 40);
|
H A D | DateTime_clone_basic1.phpt | 18 $orig->setTime(22, 41, 50);
|
H A D | bug52342.phpt | 7 $from->setTime(0, 0, 0);
|
H A D | date_time_immutable.phpt | 64 $x = $z->setTime(5, 7, 19); 68 $x = $z->setTime(5, 7, 19); 137 setTime():
|
/PHP-5.6/ext/intl/tests/ |
H A D | calendar_setTime_error.phpt | 2 IntlCalendar::setTime(): bad arguments 15 var_dump($c->setTime(1, 2)); 16 var_dump($c->setTime("jjj")); 22 Warning: IntlCalendar::setTime() expects exactly 1 parameter, 2 given in %s on line %d 24 Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d 27 Warning: IntlCalendar::setTime() expects parameter 1 to be double, string given in %s on line %d 29 Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d
|
H A D | calendar_inDaylightTime_basic.phpt | 15 $intlcal->setTime(strtotime('2012-01-01') * 1000); 17 $intlcal->setTime(strtotime('2012-04-01') * 1000);
|
H A D | calendar_fieldDifference_basic.phpt | 15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000); 23 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
|
H A D | calendar_setTime_basic.phpt | 2 IntlCalendar::setTime() basic test 17 $intlcal->setTime($time * 1000);
|
H A D | calendar_add_basic.phpt | 18 $intlcal->setTime($time * 1000);
|
H A D | calendar_getXMaximum_basic.phpt | 15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
|
H A D | calendar_getXMinimum_basic.phpt | 15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
|
H A D | calendar_clear_variation1.phpt | 15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
|
H A D | calendar_getDayOfWeekType_basic2.phpt | 17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
|
H A D | calendar_getDayOfWeekType_basic.phpt | 17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
|