php bir dize yerine nasıl

0 Cevap

i want to replace '<' and '>' sign in string. e.g

$str = 'if x<y and y>z';
echo str_replace( '<', 'something', $str ) . "\n";

Bu şu sonucu verir

if xsomethingy and y>z

benim sorum ben 'şey' metin '>' yerine nasıl olduğunu

0 Cevap