DateTime_days-february.phpt 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. --TEST--
  2. DateTime::diff() days -- february
  3. --CREDITS--
  4. Daniel Convissor <danielc@php.net>
  5. --FILE--
  6. <?php
  7. require 'examine_diff.inc';
  8. define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DAYS);
  9. require 'DateTime_data-february.inc';
  10. ?>
  11. --EXPECT--
  12. test_bug_49081__1: DAYS: **30**
  13. test_bug_49081__2: DAYS: **31**
  14. test_bug_49081__3: DAYS: **1**
  15. test_bug_49081__4: DAYS: **29**
  16. test_bug_49081__5: DAYS: **30**
  17. test_bug_49081__6: DAYS: **31**
  18. test_bug_49081__7: DAYS: **32**
  19. test_bug_49081__8: DAYS: **28**
  20. test_bug_49081__9: DAYS: **29**
  21. test_bug_49081__10: DAYS: **30**
  22. test_bug_49081__11: DAYS: **31**
  23. test_bug_49081__12: DAYS: **1**
  24. test_bug_49081__13: DAYS: **27**
  25. test_bug_49081__14: DAYS: **28**
  26. test_bug_49081__15: DAYS: **29**
  27. test_bug_49081__16: DAYS: **30**
  28. test_bug_49081__17: DAYS: **31**
  29. test_bug_49081__18: DAYS: **32**
  30. test_bug_49081__19: DAYS: **59**
  31. test_bug_49081__20: DAYS: **29**
  32. test_bug_49081__21: DAYS: **55**
  33. test_bug_49081__22: DAYS: **56**
  34. test_bug_49081__23: DAYS: **57**
  35. test_bug_49081__24: DAYS: **58**
  36. test_bug_49081__25: DAYS: **59**
  37. test_bug_49081__26: DAYS: **60**
  38. test_bug_49081__27: DAYS: **30**
  39. test_bug_49081__28: DAYS: **27**
  40. test_bug_49081__29: DAYS: **28**
  41. test_bug_49081__30: DAYS: **29**
  42. test_bug_49081__31: DAYS: **28**
  43. test_bug_49081__32: DAYS: **29**
  44. test_bug_49081_negative__1: DAYS: **30**
  45. test_bug_49081_negative__2: DAYS: **31**
  46. test_bug_49081_negative__3: DAYS: **1**
  47. test_bug_49081_negative__4: DAYS: **29**
  48. test_bug_49081_negative__5: DAYS: **30**
  49. test_bug_49081_negative__6: DAYS: **31**
  50. test_bug_49081_negative__7: DAYS: **32**
  51. test_bug_49081_negative__8: DAYS: **28**
  52. test_bug_49081_negative__9: DAYS: **29**
  53. test_bug_49081_negative__10: DAYS: **30**
  54. test_bug_49081_negative__11: DAYS: **31**
  55. test_bug_49081_negative__12: DAYS: **1**
  56. test_bug_49081_negative__13: DAYS: **27**
  57. test_bug_49081_negative__14: DAYS: **28**
  58. test_bug_49081_negative__15: DAYS: **29**
  59. test_bug_49081_negative__16: DAYS: **30**
  60. test_bug_49081_negative__17: DAYS: **31**
  61. test_bug_49081_negative__18: DAYS: **32**
  62. test_bug_49081_negative__19: DAYS: **59**
  63. test_bug_49081_negative__20: DAYS: **29**
  64. test_bug_49081_negative__21: DAYS: **55**
  65. test_bug_49081_negative__22: DAYS: **56**
  66. test_bug_49081_negative__23: DAYS: **57**
  67. test_bug_49081_negative__24: DAYS: **58**
  68. test_bug_49081_negative__25: DAYS: **59**
  69. test_bug_49081_negative__26: DAYS: **60**
  70. test_bug_49081_negative__27: DAYS: **30**
  71. test_bug_49081_negative__28: DAYS: **27**
  72. test_bug_49081_negative__29: DAYS: **28**
  73. test_bug_49081_negative__30: DAYS: **29**
  74. test_bug_49081_negative__31: DAYS: **28**
  75. test_bug_49081_negative__32: DAYS: **29**