Beispiel #1
0
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<?php 
function printBold($text)
{
    print "<b>" . $text . "</b>";
}
/**
 * THIS IS COMMENT BLOCK
 * THIS PART IS NOT VISIBLE FROM A BROWSER
 */
printBold("this is bold text");
print "<br>";
print "this is not bold text";
?>

</body>
</html>
<?php

/**
 * Created by PhpStorm.
 * User: Kramok
 * Date: 29/9/2015
 * Time: 11:37 AM
 */
function printBold()
{
    print "<b> This text is cool! </b>";
}
function printItalic()
{
    print "<i> This text is italic! </i>";
}
printBold();
printItalic();