dimanche 23 octobre 2016

String match without matching order of character in php

I am trying to create a condition in php like given below-

$variable = "132";
if($variable == "123"){
    echo "Matched.";
}else{
    echo "Not Matched.";
}

I want to show Matched in this condition, cause these two values are same character.

Aucun commentaire:

Enregistrer un commentaire