متنوعات
http://localhost/test/p7/new13 - Micr..
File Edit View Favorites Tools Help
الفصل السادس
Back Address
Home Forward Stop Refresh http://localhost/test/p//ne
Go Links
<a href='test'>Test</a>
Done
Local intranet
مثال صياغة المعروض على الشاشة :
//Example Sprintf() formatting currency
$money1 = 68.75;
$money2 = 54.35;
$money = $money1 + $money2;
echo $money;
// will output "123.1"
$formatted = sprintf ("%01.2f", $money);
echo $formatted;
// will output "123.10"
// Example strcasecmp()
$var1 = "Hello";
$var2 = "hello";
if (!strcasecmp ($var1, $var2)) {
}
echo '$var1 is equal to $var2 in a case-insensitive string comparison';
$arr1 = $arr2 = array
("img12.png","img10.png","img2.png","img1.png");
echo "Standard string comparison\n";
usort($arr1,"strcmp");
print_r($arr1);
echo "\nNatural order string comparison\n"; usort($arr2,"strnatcmp");
۲۰۹
ص ٢٠٩