box-o-sand/PracticingPhp/web/html/wikipedia-tutorial/printing.php

12 lines
190 B
PHP

<?php
print "Hello, World!<br/>";
print "Hello" . ", " . "World!<br/>";
if (print "Hello" . ", " . "Fail?<br/>") {
print "<em>last 'print' succeeded!</em>";
}
?>