5

Today I made a php script to scrap a site.
And I needed to use str_replace in a string to cancel out some values.

Instead of doing simple str_replace I used explode func to separate them with spaces (without any comments on how or why the fuck I m using an explode instead of a str_replace).

Later, I used $p[1] for further processing.

Comments
Add Comment