Leetcode Max Width W3schools Php Foreach Continue