Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<?php
$val = 1;
switch( gettype($val) )
{
case 'integer':
return 'int';
break;
case 'double':
return 'double';
break;
case 'string':
case 'array':
case 'object':
default:
return 'kein int oder double';
break;
}
?>
$needle = array("Wort1", "Wort2");
$replace = array("Ersatz1", "Ersatz2");
$haystack = file_get_contents("datei.endung");
//wenn Groß- und Kleinschreibung beachtet werden soll
$text = str_replace($needle, $replace, $haystack);
//wenn Groß- und Kleinschreibung nicht beachtet werden muss
$text = str_ireplace($needle, $replace, $haystack);
echo $text;