Crop Triangles solutions

Crop Triangles was solved using PHP by 5 contestants. Solution sizes: average 2226 bytes (shortest: 1075; longest: 5477).