Answers for "php code to replace all instances of a string"

PHP
5

replace all php

$vowels = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U");
$onlyconsonants = str_replace($vowels, "", "Hello World of PHP");
// Fornece: Hll Wrld f PHP
Posted by: Guest on May-23-2020

Code answers related to "php code to replace all instances of a string"

Browse Popular Code Answers by Language