- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinput2.php
More file actions
Latest commit
33 lines (30 loc) · 394 Bytes
/
Copy pathinput2.php
File metadata and controls
33 lines (30 loc) · 394 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$a=3;
$b=$a;
$c=$a+$b;
echo $a;
print $a;
echo "Text1";
for($t = 0; $t < 5; $t++) {
echo $t;
}
while($a < 5) {
echo $a;
$a++;
}
if ($a == 0) {
echo "Text1";
}
else if ($a == 1) {
echo "Text2";
}
else {
echo "Text3";
}
echo "String 1\n";
$string_var = "String 2";
echo $string_var."\n";
echo "String 1"." ".$string_var;
f(2);
function f($a) {
echo $a;
}