Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Replace text within a string - str_replace()
SUBMITTED BY:
henry1874w
DATE:
June 4, 2017, 8:26 p.m.
FORMAT:
Text only
SIZE:
119 Bytes
Raw
Download
Tweet
HITS:
265
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
echo str_replace("world", "Dolly", "Hello world!");
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus