Skip to content

Commit 63ab6f3

Browse files
hi
1 parent 22ecca9 commit 63ab6f3

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

s

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,39 @@
181181
$last = "flip";
182182
}
183183
echo "<p>There {$verb} {$flipCount} {$last}!</p>";
184-
?>
184+
?>
185+
186+
$length = strlen("david");
187+
print $length;
188+
189+
190+
191+
$d="anandhakumar";
192+
echo substr($d,0,5);
193+
194+
echo strtoupper($d)
195+
echo strtolower($d)
196+
197+
$n="anandha";
198+
echo strpos($n,"a");
199+
200+
if (strpos($n,"g")==false)
201+
{
202+
echo "not there";
203+
}
204+
print round(M_PI, 3);
205+
$n="anandhakumar";
206+
207+
208+
209+
echo $n[rand(0,strlen($n))];
210+
211+
$a=array();
212+
array_push($a,"anand");
213+
214+
215+
$the_array=array(1,4,545,6,4,6,7,3);
216+
sort($the_array);
217+
print join(",", $the_array);
218+
rsort($the_array);
219+
print join(",",$the_array)

0 commit comments

Comments
 (0)