Or an alternative: use a special strings that 'terminates' an array:
asdf(
[
'asdfas', 'asdf', '@',
'sd', '@',
'cs'
]
);
Procedure 'asdf' has to test for the '@' string value (or any other value).
When found it knows that the 'end' of an array was found and start it's fancy processing.
Or you can do it based on the type (test the vtype property of the const parameter).
Use a parameter type other then a string to 'terminate' the array:
asdf(
[
'asdfas', 'asdf', -1,
'sd', -1,
'cs'
]
);