Mostrar lista de opciones

strchr()

« strcasecmp | strcmp »
<?php
$string 
strchr (
    
// string $haystack
    
// mixed $needle
    
?  // [bool $before_needle = false]
);
?>
Resultado
$string = '@example.com'
Ejemplos
#1 strchr  ("name@example.com",
 
"@")
#2 strchr  ("name@example.com",
 
"@",
 
true)
Ver también
strstr