Php Loop Over Array Of Strings Cpp Library