Create collection out of fields

Hi! Maybe this is more of a general PHP question than a Kirby question:

if I have multiple text fields in a single blueprint (field1, field2, field3 etc.) and I want to create a foreach loop looping through all of them, do I need to create an array out of all the fields or can I use the Kirby collection() method?

Like:

<?php $fields = $page->collection(fieldname1, fieldname2, fieldname3) ?>

<?php foreach($fields as $field): ?>
    <?= $field->kt() ?>
<?php endforeach ?>

Thx for any tips!

What exactly do you want to achieve? Find all fields of type textarea in a page bleuprint dynamically? Or are the fields known? Then why would you need a collection and not a simple array of field names?

Yeah, dynamically. But don’t mind, I changed my approach. Thanks anyways!