How to get the position of a letter in a string from starting when the string is shuffling in PHP?

shuffling in php

<!DOCTYPE html>
<html>
<body>

<?php
$string="I love php, I love php too!"; //string in which we have to search the letter
$find="o";  //letter to find
$str_change= ltrim(str_shuffle("I love php, I love php too!")); //ltrim remove the whitespace from left, where str_shuffle shuffles the string 
echo $str_change."<br>";
$split=str_split($str_change); //str_split splits the strings into array
$a=0;
foreach($split as $sp){
	$arr_count=$split[$a];
  if($find==$arr_count){
  	if(!isset($postion)){

    echo "POSITION: ".$postion=$a +1;
    continue;
    }
  	
  }
	$a++;
}

?> 

</body>
</html>

shuffling in php expoundsofttechsolution