Does PHPUnit have some inbuilt recursive array comparison function?

Posted by Ben Dauphinee on Stack Overflow See other posts from Stack Overflow or by Ben Dauphinee
Published on 2010-05-30T01:10:54Z Indexed on 2010/05/30 1:22 UTC
Read the original article Hit count: 253

Some of the testing I will need to do will require comparing a known array with the result I am getting from the functions I will be running.

For comparing arrays recursively:

  • Does PHPUnit have an inbuilt function?
  • Does someone here have some code they have constructed to share?
  • Will this be something I will have to construct on my own?

© Stack Overflow or respective owner

Related posts about php

Related posts about unit-testing