Archiv für 2014/03

  • Manuel Strehl
    Overwrite PHP’s built-in functions in unit tests
    In unit tests you might run in problems, when your code uses PHP built-in functions, that emit certain hard-coded values like session_start(). When you use PHP namespaces, however, you can solve this problem in an elegant way.