I just found that this will work:
echo $value , " continue";
but this does not:
return $value , " continue";
While . works instead of , in both the echo and return statements.
What is the difference between a period and a comma here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
returnonly allows one expression, butechoallows a list of expressions where each expression is separated by a comma.But note that since
echois not a function but a special language construct, wrapping the expression list in parenthesis is illegal.