Hi,
in the backgammon possible moves recursive function I need to use the PHP eval function
It was available before. Can you re-allow it plz ?
It is really inconvenient to spend time reviewing code that was accepted before.
best regards
in the backgammon possible moves recursive function I need to use the PHP eval function
Code: Select all
$txt = '$recursiveMoves';
for ($i=0; $i < count($newFrom); $i++) {
$txt = $txt.'[$newFrom['.$i.']]';
}
$txt .= '["detail"] = $moveDetails;';
eval($txt);
It is really inconvenient to spend time reviewing code that was accepted before.
best regards