**************************************************
66. fwrite
Açık bir dosyaya yazar. Bu işlev, yazılan bayt sayısını döndürür.
PHP- Kodu
<?php
$file = fopen("file.txt","w");
echo fwrite($file,"Hello World!");
fclose($file);
?>
**************************************************
67. array_unique
Bir tablodan kopyaları kaldırır. İki veya daha fazla değer aynıysa, ilki korunacak ve diğeri silinecektir.
PHP- Kodu
<?php
$colors = array("1"=>"blue", "2"=>"orange", "3"=>"blue");
print_r(array_unique($colors));
?>
**************************************************
68. array_search
Bir dizide bir değer bulur ve anahtarı döndürür.
PHP- Kodu
<?php
$colors = array("1"=>"blue", "2"=>"orange", "3"=>"red");
print_r(array_search("blue", $colors));
?>
**************************************************
69. reset
Dahili işaretçiyi dizinin ilk öğesine taşır.
PHP- Kodu
<?php
$colors = array("Red", "Blue", "Green", "Orange");
echo current($colors); //Red
echo next($colors); //Blue
echo reset($colors); //Red
?>
**************************************************
70. array_unshift
Bir diziye yeni öğeler ekler. Yeni değerler tablonun başına eklenecektir.
PHP- Kodu
<?php
$colors = array("1"=>"Red", "2"=>"Blue");
array_unshift($colors, "Orange");
print_r($colors);
?>