Using preg_replace () in PHP, I came across the following situation:
echo preg_replace('/:([\w]+)/', 'batata', ':quiabo/isso/:nada');
echo preg_replace('@:([\w]+)@', 'batata', ':quiabo/isso/:nada');
Both expressions print the same thing: p...
asked by
22.04.2015 / 22:36