Why are Java and C++ slower than PHP in Android? [on hold]
-1
I created text snippet code in PHP to extract search key words to work with my search engine. Here is the code: function next_text($AppendText,$all_words,$row_next,$maxWords){ $added_next_text =""; $text =""; if(isset($all_words[$row_next])){ if(mb_str_word_count($AppendText)< $maxWords){ $added_next_text = ' '.$all_words[$row_next]; $AppendText = $AppendText.$added_next_text; return next_text($AppendText,$all_words,$row_next+1,$maxWords); } else{ preg_match('/^(?:S+s*){1,'.$maxWords.'}/', $AppendText, $match); return $match[0].".."; } } else{ preg_match('/^(?:S+s*){1,'.$maxWords.'}/', $AppendText, $match); return $match[0].".."; } } function back_text($AppendText,$all_words...