Python While Loop Over Array Php Functions With Harvester