Generate a random expression using PHP


function generateRandomExpression() {
    $operand1= rand(1,100); 
 $operand2 = rand(100, 200);
 $operators = array("*", "/", "-", "%","+");
 shuffle($operators)
 foreach($operators as $value){
    $result = $operand1.$value.$operand2;
    return $result;
 }
}
generateRandomExpression();