Php’de Kullanılacak Tüm Fonksiyonların Listesini Veren Kod Parçacığı

Php'de paket paket fonksiyonları www.php.net adresinde inceliyorduk . Sizlere sunacağım kod php.net ' teki kullanmanıza izin verilen bütün fonksiyonların dökümünü verir.

PHP:
  1. <?php
  2. foreach(get_loaded_extensions() as $x){
  3.     echo "<font color='#FF0000'>".$x."</font>\n<br />\n";
  4.     echo "<ol>\n";
  5.     $eklenti += 1;
  6.     foreach(get_extension_funcs($x) as $a){
  7.         echo "<li><a href=\"http://tr.php.net/manual/en/function.".ereg_replace("_","-",$a).".php\">$a</a></li>\n";
  8.         $sayi += 1;
  9.     }
  10.     echo "</ol>\n<br />\n";
  11. }
  12. echo "<strong>".$eklenti." adet eklentide ".$sayi." adet fonksiyon mevcut...</strong>";
  13. ?>

İşte Kod Kolay Gelsin .

Kodun nasıl çalıştığını görmek için buraya tıklayınız .

4 views

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word