<?php
function processOptions
(array &$options) { echo $options["text"]; //как мне сюда получить результат
$options["text"] = 'no';
}
$test = ['text' => 'yes'];
processOptions($test);
echo $test["text"];
PD9waHAKCmZ1bmN0aW9uIHByb2Nlc3NPcHRpb25zKGFycmF5ICYkb3B0aW9ucykgewoJZWNobyAkb3B0aW9uc1sidGV4dCJdOyAvL9C60LDQuiDQvNC90LUg0YHRjtC00LAg0L/QvtC70YPRh9C40YLRjCDRgNC10LfRg9C70YzRgtCw0YIKCSRvcHRpb25zWyJ0ZXh0Il0gPSAnbm8nOwp9CgokdGVzdCA9IFsndGV4dCcgPT4gJ3llcyddOwpwcm9jZXNzT3B0aW9ucygkdGVzdCk7CmVjaG8gJHRlc3RbInRleHQiXTs=