It looks like the craftcms 2 ArrayHelper created indexed array on large strings. But I'll need a none indexed array. Any ideas what I'll do wrong? Running on php 7.1.

$playerIds = ArrayHelper::stringToArray(craft()->myFlowPlugin->parseString($triggeredFlow->settings['playerIds'], $attributes));
$playerIds = array_unique($playerIds);
$notification->playerIds = $playerIds;

Incorrect with large strings




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.