Posts by Tadeu Mesquita • 31 points
1 post
-
3
votes1
answer393
viewsQ: preg_replace PHP - / or @ why put?
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');…