diff --git a/tests/refl_002.phpt b/tests/refl_002.phpt index 6ca903d..1a3479c 100644 --- a/tests/refl_002.phpt +++ b/tests/refl_002.phpt @@ -14,8 +14,6 @@ timecop.func_override=0 $functions = [ 'time' => 'timecop_time', - 'mktime' => 'timecop_mktime', - 'gmmktime' => 'timecop_gmmktime', 'date' => 'timecop_date', 'gmdate' => 'timecop_gmdate', 'idate' => 'timecop_idate', @@ -34,8 +32,6 @@ require __DIR__.'/check-func-refl.inc.php'; --EXPECT-- Checking time vs timecop_time -Checking mktime vs timecop_mktime -Checking gmmktime vs timecop_gmmktime Checking date vs timecop_date Checking gmdate vs timecop_gmdate Checking idate vs timecop_idate diff --git a/tests/refl_005.phpt b/tests/refl_005.phpt new file mode 100644 index 0000000..106b2e3 --- /dev/null +++ b/tests/refl_005.phpt @@ -0,0 +1,25 @@ +--TEST-- +Check reflection data for overridden functions (On PHP 5.6 timecop_mktime() does not implement the $is_dst parameter) +--SKIPIF-- + 'timecop_mktime', + 'gmmktime' => 'timecop_gmmktime', +]; + +require __DIR__.'/check-func-refl.inc.php'; + +--EXPECT-- +Checking mktime vs timecop_mktime +Checking gmmktime vs timecop_gmmktime