Bonjour,
Je n'arrive pas match la chaine ci-dessous, je ne comprens pas, pouvez-vous m'aider s'il vous plait :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <?php $a="Officiel : l\'AB fffff "; echo "<br>Retour :".preg_match('# l\'AB #',$a)."<br>"; echo "<br>Retour :".preg_match('# l\\\'AB #',$a)."<br>"; echo "<br>Retour :".preg_match("# l\\'AB #",$a)."<br>"; echo "<br>Retour :".preg_match("# l\\'AB #",$a)."<br>"; echo "<br>Retour :".preg_match("# l\'AB #",$a)."<br>"; echo "<br>Retour :".preg_match("# l'AB #",$a)."<br>"; ?>
Merci beaucoup pour votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 Retour :0 Retour :0 Retour :0 Retour :0 Retour :0 Retour :0







Répondre avec citation
Partager