This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Instructions: | |
* Write a solution in PHP: | |
* | |
* How your implementation works: | |
* Your function will take two arguments, ($prevArray, $currArray), flattens the objects inside of prevArray and currArray to 1 level of | |
* depth, and return an HTML Table in string form of the values. The HTML table you return has a column header which is a superset of all keys in | |
* all the objects in the currArray. Any values that have changed from the prevArray to the currArray (ie field value changed or is a |