Skip navigation

Kwebble blog

  • archive
  • blog
  • projects
  • contact
NL EN
  1. Replacing built-in PHP functions like time() in unit tests

    Great technique to override the implementation of built-in PHP functions, e.g. to create tests that require a predefined time.

© Rob Schlüter Instagram logo Twitter logo GitHub logo Mastodon logo