Skip to content

Commit 1974c08

Browse files
committed
lecture-plans/php-security/functions.php: Added a test1() function to prove a point about calling PHP functions
Signed-off-by: Marian Marinov <[email protected]>
1 parent 5864352 commit 1974c08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
<?php
22
echo("functions.php<br />\n");
33

4+
function test1($var1, $var2) {
5+
echo("$var1, $var2\n");
6+
}
7+
8+
test1($argv[1], $argv[2], $argv[3]);
9+

0 commit comments

Comments
 (0)