First Draft

First Draft of the Example Files
This commit is contained in:
RobinNixon
2020-12-10 13:21:38 +00:00
parent 77a7b57c4f
commit 0335342e00
1127 changed files with 46959 additions and 56 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
<?php
echo "Hello world";
?>
<?php
echo "Hello world";
?>
+6 -6
View File
@@ -1,6 +1,6 @@
<?php
/* This is a section
of multi-line comments
which will not be
interpreted */
?>
<?php
/* This is a section
of multi-line comments
which will not be
interpreted */
?>
View File
+7 -7
View File
@@ -1,7 +1,7 @@
<?php // test1.php
$username = "Fred Smith";
echo $username;
echo "<br>";
$current_user = $username;
echo $current_user;
?>
<?php // test1.php
$username = "Fred Smith";
echo $username;
echo "<br>";
$current_user = $username;
echo $current_user;
?>
View File
+8 -8
View File
@@ -1,8 +1,8 @@
<?php
$author = "Steve Ballmer";
echo "Developers, Developers, developers, developers, developers,
developers, developers, developers, developers!
- $author.";
?>
<?php
$author = "Steve Ballmer";
echo "Developers, Developers, developers, developers, developers,
developers, developers, developers, developers!
- $author.";
?>
+10 -10
View File
@@ -1,10 +1,10 @@
<?php
$author = "Bill Gates";
$text = "Measuring programming progress by lines of code is like
Measuring aircraft building progress by weight.
- $author.";
echo $text;
?>
<?php
$author = "Bill Gates";
$text = "Measuring programming progress by lines of code is like
Measuring aircraft building progress by weight.
- $author.";
echo $text;
?>
+11 -11
View File
@@ -1,11 +1,11 @@
<?php
$author = "Brian W. Kernighan";
echo <<<_END
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- $author.
_END;
?>
<?php
$author = "Brian W. Kernighan";
echo <<<_END
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- $author.
_END;
?>
+10 -10
View File
@@ -1,11 +1,11 @@
<?php
$author = "Scott Adams";
$out = <<<_END
Normal people believe that if it aint broke, dont fix it.
Engineers believe that if it aint broke, it doesnt have enough
features yet.
- $author.
_END;
<?php
$author = "Scott Adams";
$out = <<<_END
Normal people believe that if it aint broke, dont fix it.
Engineers believe that if it aint broke, it doesnt have enough
features yet.
- $author.
_END;
?>
View File
View File
View File
View File
View File
View File
View File
View File
View File