Update phpapi-tutorial.md

There is a typo with str_replace. 
*http://es.php.net/manual/en/function.str-replace.php
Merge pull request #36 from jpcid/patch-1

Update phpapi-tutorial.md