# php_manual

id: curl_setopt_array
type: function
doc:
<comment>Description:</comment>
  Belirtilen cURL oturumuna çok sayıda seçenek atar
  
  Belirtilen cURL oturumuna çok sayıda seçenek atar. <strong>curl_setopt()</strong> işlevini defalarca kullanmak
  yerine çok sayıda seçeneği bir kerede atamak için yararlıdır.

<comment>Param:</comment>
  <info>CurlHandle</info>  <strong>$tanıtıcı</strong>  <strong>curl_init()</strong> işlevinden dönen bir
                           cURL tanıtıcısı.
  <info>array</info>       <strong>$seçenekler</strong>  Atanacak seçenekleri ve değerlerini içeren dizi. Ahahtarlar geçerli
                           <strong>curl_setopt()</strong> sabitleri veya bunların sayısal eşdeğerleri olmalıdır.

<comment>Return:</comment>
  <info>bool</info>  Belirtilen seçeneklerin tümü atanabilmişe <info>true</info> döner. Bir seçenek başarıyla atanamazsa diğer
        seçenekler atanmaksızın işlev <info>false</info> ile döner.

<comment>See Also:</comment>
   * <strong>curl_setopt()</strong>


id: curl_share_close
type: function
doc:
<comment>Description:</comment>
  cURL paylaşımlı tanıtıcısını kapatır
  
  Bu işlevin bir etkisi yoktur. PHP 8.0.0 öncesinde, bu işev özkaynağı kapatmak için kullanılırdı.
  
  Belirtilen cURL paylaşımlı tanıtıcısını kapatır ve tüm kaynakları serbest bırakır.

<comment>Param:</comment>
  <info>CurlShareHandle</info>  <strong>$tanıtıcı</strong>  <strong>curl_share_init()</strong> işlevinden dönen
                              cURL paylaşımlı tanıtıcısı.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>curl_share_init()</strong>


id: curl_share_errno
type: function
doc:
<comment>Description:</comment>
  Sonuncu paylaşımlı curl hata numarasını döndürür
  
  Sonuncu paylaşımlı curl hata numarasını tamsayı olarak döndürür.

<comment>Param:</comment>
  <info>CurlShareHandle</info>  <strong>$tanıtıcı</strong>  <strong>curl_share_init()</strong> işlevinden dönen
                              cURL paylaşımlı tanıtıcısı.

<comment>Return:</comment>
  <info>int</info>  Sonuncu paylaşımlı curl hata numarası bir tamsayı olarak döner.

<comment>See Also:</comment>
   * <strong>curl_errno()</strong>


id: curl_share_init
type: function
doc:
<comment>Description:</comment>
  cURL paylaşımlı tanıtıcısını ilklendirir
  
  cURL tanıtıcıları arasında verinin paylaşılmasını sağlar.

<comment>Return:</comment>
  <info>CurlShareHandle</info>  İlklendirilen cURL paylaşımlı tanıtıcısı döner.

<comment>See Also:</comment>
   * <strong>curl_share_setopt()</strong>
   * <strong>curl_share_close()</strong>


id: curl_share_setopt
type: function
doc:
<comment>Description:</comment>
  cURL paylaşımlı tanıtıcısı için bir seçenek tanımlar
  
  Belirtilen cURL paylaşımlı tanıtıcısı için bir seçenek tanımlar.

<comment>Param:</comment>
  <info>CurlShareHandle</info>  <strong>$tanıtıcı</strong>  <strong>curl_share_init()</strong> işlevinden dönen
                              cURL paylaşımlı tanıtıcısı.
  <info>int</info>              <strong>$seçenek</strong>  SeçenekAçıklama<info>CURLSHOPT_SHARE</info> Paylaşılacak verinin türü.
                              <info>CURLSHOPT_UNSHARE</info> Artık paylaşılmayacak verinin türü.
  <info>mixed</info>            <strong>$değer</strong>    DeğerAçıklama<info>CURL_LOCK_DATA_COOKIE</info> Paylaşımlı çerez verisi.
                              <info>CURL_LOCK_DATA_DNS</info> Shares DNS önbelleğini paylaşır. Çoklu cURL
                              tanıtıcısı kullanılırsa bu tanıtıcıya eklenen tüm tanıtıcılar
                              öntanımlı olarak DNS önbelleğini paylaşır. <info>CURL_LOCK_DATA_SSL_SESSION</info>
                              Aynı sunucuyla SSL anlaşmasında harcanan zamanı azaltmak için SSL
                              oturum kimliklerini paylaşır. SSL oturum kimliklerinin öntanımlı
                              olarak aynı tanıtıcı içinde tekrar kullanılacağı unutulmamalıdır.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.


id: curl_share_strerror
type: function
doc:
<comment>Description:</comment>
  Hata kodunun açıklamasını döndürür
  
  Belirtilen paylaşımlı cURL hata kodunu açıklayan hata iletisini döndürür.

<comment>Param:</comment>
  <info>int</info>  <strong>$hata_kodu</strong>  çoklu cURL hata kodu sabitlerinden biri.

<comment>Return:</comment>
  <info>string|null</info>  Hata kodu geçerliyse hata kodunu açıklayan bir dizge, geçersizse <info>null</info> döner.

<comment>See Also:</comment>
   * <strong>curl_share_errno()</strong>
   * <strong>curl_strerror()</strong>


id: curl_strerror
type: function
doc:
<comment>Description:</comment>
  Hata kodunun açıklamasını döndürür
  
  Belirtilen cURL hata kodunu açıklayan hata iletisini döndürür.

<comment>Param:</comment>
  <info>int</info>  <strong>$hata_kodu</strong>  çoklu cURL hata kodu sabitlerinden biri.

<comment>Return:</comment>
  <info>string|null</info>  Hata kodu geçerliyse hata kodunu açıklayan bir dizge, geçersizse <info>null</info> döner.

<comment>See Also:</comment>
   * <strong>curl_errno()</strong>
   * <strong>curl_error()</strong>
   * Curl hata kodları


id: curl_unescape
type: function
doc:
<comment>Description:</comment>
  URL kodlu dizgeyi çözümler
  
  Belirtilen URL kodlu dizgeyi çözümler.

<comment>Param:</comment>
  <info>CurlHandle</info>  <strong>$tanıtıcı</strong>  <strong>curl_init()</strong> işlevinden dönen bir
                         cURL tanıtıcısı.
  <info>string</info>      <strong>$dizge</strong>     Çözümlenecek URL kodlu dizge.

<comment>Return:</comment>
  <info>string|false</info>  Kodu çözülmüş dizge, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>curl_escape()</strong>
   * <strong>urlencode()</strong>
   * <strong>urldecode()</strong>
   * <strong>rawurlencode()</strong>
   * <strong>rawurldecode()</strong>


id: curl_upkeep
type: function
doc:
<comment>Description:</comment>
  Performs any connection upkeep checks
  
  Available if built against libcurl &gt;= 7.62.0.
  
  Some protocols have "connection upkeep" mechanisms. These mechanisms usually send some traffic on
  existing connections in order to keep them alive; this can prevent connections from being closed
  due to overzealous firewalls, for example.
  
  Connection upkeep is currently available only for HTTP/2 connections. A small amount of traffic is
  usually sent to keep a connection alive. HTTP/2 maintains its connection by sending a HTTP/2 PING
  frame.

<comment>Param:</comment>
  <info></info>  <strong>$tanıtıcı</strong>  <strong>curl_init()</strong> işlevinden dönen bir
               cURL tanıtıcısı.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>curl_init()</strong>


id: curl_version
type: function
doc:
<comment>Description:</comment>
  cURL sürüm bilgilerini döndürür
  
  cURL sürümü hakkında bilgi döndürür.

<comment>Return:</comment>
  <info>array|false</info>  Aşağıdaki elemanları içeren bir ilişkisel dizi döner: AnahtarDeğerversion_number24
               bitlik cURL sürüm numarasıversionBir dizge olarak cURL sürüm
               numarasıssl_version_number24 bitlik OpenSSL sürüm numarasıssl_versionBir dizge olarak
               OpenSSL sürüm numarasılibz_versionBir dizge olarak zlib sürüm numarasıhostcURL'nin
               kurulu olduğu konut hakkında bilgiagefeatures<return>CURL_VERSION_XXX</return> sabitlerinden oluşan
               bir bit maskesiprotocolscURL tarafından desteklenen protokol isimlerini içeren bir
               dizi


id: current
type: function
doc:
<comment>Description:</comment>
  Bir diziden gösterici konumundaki elemanı döndürür
  
  Her dizinin, ilklendirme anında ilk elemanını konumlayan bir göstericisi vardır.

<comment>Param:</comment>
  <info>array|object</info>  <strong>$dizi</strong>  Üzerinde işlem yapılacak dizi.

<comment>Return:</comment>
  <info>mixed</info>  <strong>current()</strong> işlevi dizinin dahili göstericinin işaret ettiği elemanı döndürür. Göstericinin
         yeri değiştirilmez. Eğer gösterici sonuncu elemanın sonrasını işaret ediyorsa veya dizi
         boşsa <info>false</info> döner.
         
         Bu işlev mantıksal <info>false</info>
         değeriyle dönebileceği gibi <info>false</info> olarak değerlendirilebilecek mantıksal
         olmayan bir değerle de dönebilir. Bu konuda daha fazla bilgi
         Mantıksal Değerler bölümünde
         bulunabilir. Bu işlevden dönen değeri sınamak için
         <return>===</return>
         işleci kullanılabilir.

<comment>See Also:</comment>
   * <strong>end()</strong>
   * <strong>key()</strong>
   * <strong>each()</strong>
   * <strong>prev()</strong>
   * <strong>reset()</strong>
   * <strong>next()</strong>
   * foreach


id: date
type: function
doc:
<comment>Description:</comment>
  Unix zaman damgasını biçimlendirir
  
  Unix <strong>$zaman_damgası</strong> bağımsız değişkeni ile belirtilen zamanı ya da bağımsız değişken
  kullanılmamışsa geçerli zamanı, belirtilen <strong>$biçim</strong>e göre biçimlendirerek döndürür.  Başka bir
  deyişle, <strong>$zaman_damgası</strong> bağımsız değişkenini belirtmek isteğe bağlıdır ve varsayılan değeri <strong>time()</strong>
  işlevinin değeridir.
  
  Unix zaman damgaları yerel zaman dilimi hakkında herhangi bir bilgi içermez. Tarih ve saat
  bilgilerini işlerken zaman dilimini de hesaba katabilmek için <class>DateTimeImmutable</class> sınıfı ve bu
  sınıfın biçemleme yöntemi olan DateTimeInterface::format kullanılabilir.

<comment>Param:</comment>
  <info>string</info>    <strong>$biçim</strong>         DateTimeInterface::format tarafından kabul edilen biçim.
                            
                            <strong>date()</strong><info>int</info> değer aldığından mikrosaniye olarak daima <return>000000</return> üretirken,
                            <class>DateTime</class> mikrosaniyeler ile oluşturulmuşsa DateTime::format
                            mikrosaniyeleri destekler.
  <info>int|null</info>  <strong>$zaman_damgası</strong>  Seçimlik <strong>$zaman_damgası</strong> bağımsız değişkeni
                            <info>int</info> türünde bir Unix zaman damgası olup belirtilmediği
                            takdirde veya <info>null</info> ise yerel zaman kullanılır. Başka bir deyişle,
                            <strong>time()</strong> işlevinden dönen değer öntanımlıdır.

<comment>Return:</comment>
  <info>string</info>  Biçimlendirilmiş tarih dizgesi döner.

<comment>See Also:</comment>
   * DateTimeImmutable::__construct
   * DateTimeInterface::format
   * <strong>gmdate()</strong>
   * <strong>idate()</strong>
   * <strong>getdate()</strong>
   * <strong>getlastmod()</strong>
   * <strong>mktime()</strong>
   * IntlDateFormatter::format
   * <strong>time()</strong>
   * Öntanımlı Tarih/Saat
   Sabitleri


id: date_add
type: function
doc:
<comment>Description:</comment>
  DateTime::add işlevinin takma adıdır
  
  Bu işlev, DateTime::add işlevinin takma adıdır.


id: date_create
type: function
doc:
<comment>Description:</comment>
  Yeni bir DateTime nesnesi oluşturur
  
  DateTime::__construct için yordamsal sürüm.
  
  <class>DateTime</class> kurucusundan farklı olarak, belirtilen <strong>$zaman</strong> dizgesi geçersiz ise bir istisna yerine
  <info>false</info> döndürür.

<comment>Return:</comment>
  <info>DateTime|false</info>  Başarı durumunda yeni bir DateTime örneği, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * DateTimeImmutable::__construct
   * DateTimeImmutable::createFromFormat
   * DateTime::__construct


id: date_create_from_format
type: function
doc:
<comment>Description:</comment>
  DateTime::createFromFormat işlevinin takma adıdır
  
  Bu işlev DateTime::createFromFormat işlevinin takma adıdır.


id: date_create_immutable
type: function
doc:
<comment>Description:</comment>
  Yeni bir DateTimeImmutable nesnesi oluşturur
  
  DateTimeImmutable::__construct yönteminin işlev karşılığıdır.
  
  <strong>$zaman</strong> bağımsız değişkeninde aktarılan değer geçersizse işlev karşılığı olduğu kurucunun tersine
  bir istisna oluşturmak yerine <info>false</info> döndürür.

<comment>Return:</comment>
  <info>DateTimeImmutable|false</info>  Başarı durumunda yeni bir DateTimeImmutable örneği, başarısızlık
                           durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * DateTimeImmutable::createFromFormat


id: date_create_immutable_from_format
type: function
doc:
<comment>Description:</comment>
  DateTimeImmutable::createFromFormat işlevinin takma adı
  
  Bu işlev DateTimeImmutable::createFromFormat işlevinin takma adıdır.


id: date_date_set
type: function
doc:
<comment>Description:</comment>
  DateTime::setDate işlevinin takma adıdır
  
  Bu işlev, DateTime::setDate işlevinin takma adıdır.


id: date_default_timezone_get
type: function
doc:
<comment>Description:</comment>
  Betik içerisindeki tüm tarih/zaman işlevleri tarafından kullanılan
     öntanımlı zaman dilimini getirir
    
  
  Bu işlev tercih sırasına göre öntanımlı zaman dilimini şöyle döndürür: <strong>date_default_timezone_set()</strong>
  işlevi kullanılarak atanan zaman dilimiyle (eğer varsa). date.timezone ini yönergesindeki değerle
  (ayarlanmışsa).
  
  <strong>date_default_timezone_set()</strong> işlevi kullanılarak atanan zaman dilimiyle (eğer varsa).
  
  date.timezone ini yönergesindeki değerle (ayarlanmışsa).
  
  Eğer yukarıdakilerin hiçbirisi başarılı değilse, date_default_timezone_get işlevi öntanımlı <return>UTC</return>
  zaman dilimini döndürecektir.

<comment>Return:</comment>
  <info>string</info>  <info>string</info> türünde geri döner.

<comment>See Also:</comment>
   * <strong>date_default_timezone_set()</strong>
   * 


id: date_default_timezone_set
type: function
doc:
<comment>Description:</comment>
  Betik içerisindeki tüm tarih/zaman işlevleri tarafından kullanılan
     öntanımlı zaman dilimini ayarlar
    
  
  <strong>date_default_timezone_set()</strong> işlevi, tüm tarih/zaman işlevleri tarafından kullanılan öntanımlı
  zaman dilimini ayarlar.
  
  Öntanımlı zaman dilimini ayarlamak için, bu işlevi betiğinizde kullanmak yerine, INI ayarlarındaki
  date.timezone yönergesini de kullanabilirsiniz.

<comment>Param:</comment>
  <info>string</info>  <strong>$zamandilimi_belirteci</strong>  Zaman dilimi belirteci, <return>UTC</return> ya da <return>Africa/Lagos</return>, <return>Asia/Hong_Kong</return>,
                                  <return>Europe/Istanbul</return> gibi bir değer olabilir. Geçerli belirteçlerin
                                  listesi  bölümünde bulunmaktadır.

<comment>Return:</comment>
  <info>bool</info>  Bu işlev <strong>$zamandilimi_belirteci</strong> geçersizse <info>false</info>, aksi takdirde <info>true</info> döndürür.

<comment>See Also:</comment>
   * <strong>date_default_timezone_get()</strong>
   * 


id: date_diff
type: function
doc:
<comment>Description:</comment>
  DateTime::diff işlevinin takma adıdır
  
  Bu işlev, DateTime::diff işlevinin takma adıdır.


id: date_format
type: function
doc:
<comment>Description:</comment>
  DateTime::format işlevinin takma adıdır
  
  Bu işlev, DateTime::format işlevinin takma adıdır.


id: date_get_last_errors
type: function
doc:
<comment>Description:</comment>
  DateTimeImmutable::getLastErrors işlevinin takma adıdır
  
  Bu işlev, DateTimeImmutable::getLastErrors işlevinin takma adıdır.


id: date_interval_create_from_date_string
type: function
doc:
<comment>Description:</comment>
  DateInterval::createFromDateString işlevinin takma adıdır
  
  Bu işlev, DateInterval::createFromDateString işlevinin takma adıdır.


id: date_interval_format
type: function
doc:
<comment>Description:</comment>
  DateInterval::format işlevinin takma adıdır
  
  Bu işlev, DateInterval::format işlevinin takma adıdır.


id: date_isodate_set
type: function
doc:
<comment>Description:</comment>
  DateTime::setISODate işlevinin takma adıdır
  
  Bu işlev, DateTime::setISODate işlevinin takma adıdır.


id: date_modify
type: function
doc:
<comment>Description:</comment>
  DateTime::modify işlevinin takma adıdır
  
  Bu işlev, DateTime::modify işlevinin takma adıdır.


id: date_offset_get
type: function
doc:
<comment>Description:</comment>
  DateTime::getOffset işlevinin takma adıdır
  
  Bu işlev, DateTime::getOffset işlevinin takma adıdır.


id: date_parse
type: function
doc:
<comment>Description:</comment>
  Verilen tarih/zaman hakkındaki ayrıntılı bilgiyi ilişkisel dizi olarak döndürür
  
  <strong>date_parse()</strong> belirtilen <strong>$tarihzaman</strong> dizgesini <strong>strtotime()</strong> ve <strong>DateTimeImmutable::__construct()</strong>'ın
  bağlı olduğu kurallara uygun olarak çözümler. Bir zaman damgası (<strong>strtotime()</strong> ile) veya
  <class>DateTimeImmutable</class> nesnesi (<strong>DateTimeImmutable::__construct()</strong> ile) döndürmek yerine, belirtilen
  <strong>$tarihzaman</strong> dizgesinden saptanan bilgiyi içeren bir ilişkisel dizi döndürür.
  
  Belli öğelerle ilgili bilgi yoksa, ya bu dizi elemanlarına <info>false</info> atanır ya da elemanlar dizide yer
  almaz. Bir zaman damgası veya <class>DateTimeImmutable</class> nesnesi oluşturmak için gerekliyse bazı alanlara
  <info>false</info>'tan farklı değerler atanabilir. Bunun olduğu durumlar aşağıda örneklenmiştir.

<comment>Param:</comment>
  <info>string</info>  <strong>$tarihzaman</strong>  <strong>DateTimeImmutable::__construct()</strong> işlevi tarafından kabul edilen biçimde
                       tarih/zaman.

<comment>Return:</comment>
  <info>array</info>  Başarılı olduğunda çözümlenen tarih/zaman bilgilerini içeren diziyle döner.
         
         Dönen dizinin anahtarları: <return>year</return>, <return>month</return>, <return>day</return>, <return>hour</return>, <return>minute</return>, <return>second</return>, <return>fraction</return> ve
         <return>is_localtime</return>.
         
         <return>is_localtime</return> mevcutsa<return>zone_type</return> zaman dilimi türünü betimler. <return>1</return>. tür (UTC farkı) için  <return>zone</return>,
         <return>is_dst</return> alanları eklendi; <return>2</return>. tür (kısaltma) için <return>tz_abbr</return>, <return>is_dst</return> alanları eklendi; ve <return>3</return>.tür
         (zaman dilimi betimleyici) için <return>tz_abbr</return>, <return>tz_id</return> alanları eklendi.
         
         <strong>$tarihzaman</strong> dizgesi içinde, <return>+3 days</return> (+3 gün) gibi göreli zaman elemanları mevcutsa, dönen
         dizi <return>relative</return> anahtarlı gömülü bir dizi içerir. Bu dizinin anahtarları <return>year</return>, <return>month</return>, <return>day</return>,
         <return>hour</return>, <return>minute</return>, <return>second</return> ve gerekiyorsa <return>weekday</return> ve <return>weekdays</return> olup değerleri aktarılan dizgeye
         bağlıdır.
         
         Dizi <return>warning_count</return> ve <return>warnings</return> alanlarını içerir. İlki, gelen uyarı sayısıdır. <return>warnings</return>
         dizisinin anahtarları uyarının kendisini açıklayan dizge değerini ve verilen <strong>$tarihzaman</strong>
         içinde uyarının oluştuğu konumu betimler.
         
         Dizi ayrıca, <return>error_count</return> ve <return>errors</return> alanlarını da içerir. İlki bulunan hata sayısıdır.
         <return>errors</return> dizisinin anahtarları hatanın kendini açıklayan dizge değerini ve verilen
         <strong>$tarihzaman</strong> içinde hatanın oluştuğu konumu betimler.
         
         <return>warnings</return> ve <return>errors</return> dizilerindeki eleman sayısı, ikisi de aynı konumda oluşmuşsa
         <return>warning_count</return> veya  <return>error_count</return> değerlerinden küçük olmalıdır.

<comment>See Also:</comment>
   * <strong>date_parse_from_format()</strong> (Belirli biçemlerin
     <strong>$tarihzaman</strong> dizgesinden ayrıştırılması
     için)
   * <strong>checkdate()</strong> (Gregoryen tarih doğrulaması için)
   * <strong>getdate()</strong>


id: date_parse_from_format
type: function
doc:
<comment>Description:</comment>
  Belirtildiği gibi biçimlendirilmiş olarak tarih hakkında bilgi verir
  
  Belirtilen zamanla ilgili ayrıntılı bilgiyi ilişkisel bir dizi ile döndürür.

<comment>Param:</comment>
  <info>string</info>  <strong>$biçem</strong>  <strong>$biçem</strong> kullanımı hakkında bilgi <strong>DateTimeImmutable::createFromFormat()</strong>
                  sayfasındadır. Aynı kurallar uygulanır.
  <info>string</info>  <strong>$zaman</strong>  Zamanı gösteren dizge.

<comment>Return:</comment>
  <info>array</info>  Belirtilen zaman hakkında ayrıntılı bilgiyi ilişkisel dizi ile döndürür.
         
         Döndürülen dizi <return>year</return> (yıl), <return>month</return> (ay), <return>day</return> (gün), <return>hour</return> (saat), <return>minute</return> (dakika), <return>second</return>
         (saniye), <return>fraction</return> (saniyenin kesri), <return>is_localtime</return> (yerel zaman) alanlarını içerir.
         
         <return>is_localtime</return> değeri mevcutsa <return>zone_type</return> anahtarındaki değer zaman diliminin türünü içerir.
         Zaman dilimi türü <return>1</return> (UTC) ise <return>zone</return> (bölge) ve <return>is_dst</return> (hedef mi) alanları, <return>2</return> (kısaltma) için
         <return>tz_abbr</return> (zaman dilimi kısaltması) ve <return>is_dst</return> (hedef mi) alanları ve <return>3</return> (zaman dilimi
         belirteci) için <return>tz_abbr</return> (zaman dilimi kısaltması) ve <return>tz_id</return> (zaman dilimi kimliği) alanları
         eklenir.
         
         Dizi, <return>warning_count</return> (uyarı sayısı) ve <return>warnings</return> (uyarılar) alanlarını da içerir. İlki kaç
         uyarı olduğunu belirtir. <return>warnings</return> dizisinin anahtarları belirtilen <strong>$zaman</strong>da uyarının
         oluştuğu konumu ve uyarıyı içeren dizgeyi belirtir. Aşağıdaki örneklerden biri böyle bir
         uyarıyı içermektedir.
         
         Dizi ayrıca, <return>error_count</return> (hata sayısı) ve <return>errors</return> (hatalar) alanlarını da içerir. İlki kaç
         hata bulunduğunu belirtir. <return>errors</return> dizisinin anahtarları belirtilen <strong>$zaman</strong>da hatanın
         oluştuğu konumu ve hatayı içeren dizgeyi belirtir. Aşağıdaki örneklerden biri böyle bir
         hatayı içermektedir.
         
         <return>warnings</return> ve <return>errors</return> dizilerinin öğe sayısı bunlar aynı konumda oluşmuşsa <return>warning_count</return> veya
         <return>error_count</return> değerinden az olamaz.

<comment>See Also:</comment>
   * <strong>DateTimeImmutable::createFromFormat()</strong>
   * <strong>checkdate()</strong>


id: date_sub
type: function
doc:
<comment>Description:</comment>
  DateTime::sub işlevinin takma adıdır
  
  Bu işlev, DateTime::sub işlevinin takma adıdır.

<comment>See Also:</comment>
   * <strong>DateTimeImmutable::sub()</strong>
   * <strong>DateTime::sub()</strong>


id: date_sun_info
type: function
doc:
<comment>Description:</comment>
  Güneşin doğuşu/batışı ve alacakaranlık başlangıcı/sonu hakkında
    bilgi içeren bir dizi döndürür

<comment>Param:</comment>
  <info>int</info>    <strong>$zaman_damgası</strong>  Zaman damgası.
  <info>float</info>  <strong>$enlem</strong>          Enlem derecesi.
  <info>float</info>  <strong>$boylam</strong>         Boylam derecesi.

<comment>Return:</comment>
  <info>array</info>  Başarılı olduğunda diziyi, başarısız olduğunda <info>false</info> değerini döndürür. Dönen dizinin
         yapısı:
         
         <return>sunrise</return> Güneşin doğuşunun zaman damgası (başucu açısı = 90° 35'). <return>sunset</return> Güneşin batışının
         zaman damgası (başucu açısı = 90° 35'). <return>transit</return> Güneşin başucunda olduğu, yani en üst
         noktasına ulaştığı zamanın damgası. <return>civil_twilight_begin</return> Sivil şafağın başlangıcı (başucu
         açısı = 96°). Gün doğumunda (<return>sunrise</return>) biter. <return>civil_twilight_end</return> Sivil alacakaranlığın sonu
         (başucu açısı = 96°). Gün batımında (<return>sunset</return>) başlar. <return>nautical_twilight_begin</return> Denizde
         şafağın başlangıcı (başucu açısı = 102°). Şafağın başlangıcında (<return>civil_twilight_begin</return>)
         biter. <return>nautical_twilight_end</return> Deniz alacakaranlığının sonu (başucu açısı = 102°).
         <return>civil_twilight_end</return>'de başlar. <return>astronomical_twilight_begin</return> Astronomik şafağın başlangıcı
         (başucu açısı = 108°). <return>nautical_twilight_begin</return>'de biter. <return>astronomical_twilight_end</return>
         Astronomik alacakaranlığın sonu (başucu açısı = 108°). <return>nautical_twilight_end</return>'de başlar.
         
         Güneşin doğuşunun zaman damgası (başucu açısı = 90° 35').
         
         Güneşin batışının zaman damgası (başucu açısı = 90° 35').
         
         Güneşin başucunda olduğu, yani en üst noktasına ulaştığı zamanın damgası.
         
         Sivil şafağın başlangıcı (başucu açısı = 96°). Gün doğumunda (<return>sunrise</return>) biter.
         
         Sivil alacakaranlığın sonu (başucu açısı = 96°). Gün batımında (<return>sunset</return>) başlar.
         
         Denizde şafağın başlangıcı (başucu açısı = 102°). Şafağın başlangıcında
         (<return>civil_twilight_begin</return>) biter.
         
         Deniz alacakaranlığının sonu (başucu açısı = 102°). <return>civil_twilight_end</return>'de başlar.
         
         Astronomik şafağın başlangıcı (başucu açısı = 108°). <return>nautical_twilight_begin</return>'de biter.
         
         Astronomik alacakaranlığın sonu (başucu açısı = 108°). <return>nautical_twilight_end</return>'de başlar.
         
         Dizi elemanlarının değerleri, ya UNIX zaman damgasıdır, ya da güneş günün tamamında ilgili
         başucunun altındaysa <info>false</info>, güneş günün tamamında ilgili başucunun üstündeyse <info>true</info>'dur.


id: date_sunrise
type: function
doc:
<comment>Description:</comment>
  Belirtilen gün ve konum için şafak zamanını döndürür
    
  
  <strong>date_sunrise()</strong> işlevi, verilen gün (<strong>$zamandamgası</strong>) ve konum için şafak zamanını döndürür.

<comment>Param:</comment>
  <info></info>            <strong>$zamandamgası</strong>  Şafak zamanı öğrenilecek günün <strong>$zamandamgası</strong>.
  <info>int</info>         <strong>$dönüş_biçimi</strong>  <strong>$dönüş_biçimi</strong> sabitlerisabitaçıklamaörnekSUNFUNCS_RET_STRINGSonucu
                             dizge olarak döndürür.16:46SUNFUNCS_RET_DOUBLESonucu gerçek sayı olarak
                             döndürür.16.78243132SUNFUNCS_RET_TIMESTAMPSonucu tamsayı (zaman
                             damgası) olarak döndürür.1095034606
  <info>float|null</info>  <strong>$enlem</strong>         Kuzey yarımküre öntanımlıdır. Güney yarımküre için negatif değer
                             girilir. Ayrıca bakınız: date.default_latitude
  <info>float|null</info>  <strong>$boylam</strong>        Doğu yarımküre öntanımlıdır. Batı yarımküre için negatif değer girilir.
                             Ayrıca bakınız: date.default_longitude
  <info>float|null</info>  <strong>$başucu</strong>       <strong>$başucu</strong>, güneşin merkezi ile dünya yüzeyine dik bir çizgi arasındaki
                             açıdır. Öntanımlı değer: date.sunrise_zenith Bazı <strong>$başucu</strong>
                             açılarıAçıAçıklama90°50'Gündoğumu: Güneşin görünür hale geldiği
                             nokta.96°Sivil alacakaranlık: Geleneksel olarak şafağın başlangıcını
                             belirtmek için kullanılır.102°Deniz alacakaranlığı: Ufkun denizde
                             görünmeye başladığı nokta.108°Astronomik alacakaranlık: Güneşin
                             herhangi bir aydınlatmanın kaynağı olmaya başladığı nokta.
  <info>float|null</info>  <strong>$utc_farkı</strong>    Saat cinsinden belirtilir. <strong>$dönüş_biçimi</strong> değeri <info>SUNFUNCS_RET_TIMESTAMP</info>
                             ise <strong>$utc_farkı</strong> yoksayılır.

<comment>Return:</comment>
  <info>string|int|float|false</info>  Başarılı olduğunda, <strong>$dönüş_biçimi</strong> bağımsız değişkeniyle belirlenen biçimde
                          şafak zamanı, başarısızlık durumunda <info>false</info> döner. Başarısızlığın olası
                          nedeni, yılın bir bölümünde kutup dairesinin içinde güneşin hiç
                          doğmamasıdır.

<comment>See Also:</comment>
   * <strong>date_sun_info()</strong>


id: date_sunset
type: function
doc:
<comment>Description:</comment>
  Verilen gün ve konum için günbatımı zamanını döndürür
    
  
  <strong>date_sunset()</strong> işlevi, verilen gün (<strong>$zamandamgası</strong>) ve konum için günbatımı zamanını döndürür.

<comment>Param:</comment>
  <info></info>            <strong>$zaman damgası</strong>  Günbatımı zamanı alınacak günün  <strong>$zamandamgası</strong>.
  <info>int</info>         <strong>$dönüş_biçimi</strong>  <strong>$dönüş_biçimi</strong> sabitlerisabitaçıklamaörnekSUNFUNCS_RET_STRINGSonucu
                              dizge olarak döndürür.16:46SUNFUNCS_RET_DOUBLESonucu gerçek sayı
                              olarak döndürür.16.78243132SUNFUNCS_RET_TIMESTAMPSonucu tamsayı (zaman
                              damgası) olarak döndürür.1095034606
  <info>float|null</info>  <strong>$enlem</strong>          Kuzey yarımküre öntanımlıdır. Güney yarımküre için negatif değer
                              girilir. Ayrıca bakınız: date.default_latitude
  <info>float|null</info>  <strong>$boylam</strong>         Doğu yarımküre öntanımlıdır. Batı yarımküre için negatif değer
                              girilir. Ayrıca bakınız: date.default_longitude
  <info>float|null</info>  <strong>$başucu</strong>        <strong>$başucu</strong>, güneşin merkezi ile dünya yüzeyine dik bir çizgi arasındaki
                              açıdır. Öntanımlı değer: date.sunrise_zenith Bazı <strong>$başucu</strong>
                              açılarıAçıAçıklama90°50'Gündoğumu: Güneşin görünür hale geldiği
                              nokta.96°Sivil alacakaranlık: Geleneksel olarak şafağın başlangıcını
                              belirtmek için kullanılır.102°Deniz alacakaranlığı: Ufkun denizde
                              görünmeye başladığı nokta.108°Astronomik alacakaranlık: Güneşin
                              herhangi bir aydınlatmanın kaynağı olmaya başladığı nokta.
  <info>float|null</info>  <strong>$utc_farkı</strong>     Saat cinsinden belirtilir. <strong>$dönüş_biçimi</strong> değeri <info>SUNFUNCS_RET_TIMESTAMP</info>
                              ise <strong>$utc_farkı</strong> yoksayılır.

<comment>Return:</comment>
  <info>string|int|float|false</info>  Başarılı olduğunda, <strong>$dönüş_biçimi</strong> bağımsız değişkeniyle belirlenen biçimde
                          şafak zamanı, başarısızlık durumunda <info>false</info> döner. Başarısızlığın olası
                          nedeni, yılın bir bölümünde kutup dairesinin içinde güneşin hiç
                          doğmamasıdır.

<comment>See Also:</comment>
   * <strong>date_sun_info()</strong>


id: date_time_set
type: function
doc:
<comment>Description:</comment>
  DateTime::setTime işlevinin takma adıdır
  
  Bu işlev, DateTime::setTime işlevinin takma adıdır.


id: date_timestamp_get
type: function
doc:
<comment>Description:</comment>
  DateTime::getTimestamp işlevinin takma adıdır
  
  Bu işlev, DateTime::getTimestamp işlevinin takma adıdır.


id: date_timestamp_set
type: function
doc:
<comment>Description:</comment>
  DateTime::setTimestamp işlevinin takma adıdır
  
  Bu işlev, DateTime::setTimestamp işlevinin takma adıdır.


id: date_timezone_get
type: function
doc:
<comment>Description:</comment>
  DateTime::getTimezone işlevinin takma adıdır
  
  Bu işlev, DateTime::getTimezone işlevinin takma adıdır.


id: date_timezone_set
type: function
doc:
<comment>Description:</comment>
  DateTime::setTimezone işlevinin takma adıdır
  
  Bu işlev, DateTime::setTimezone işlevinin takma adıdır.


id: db2_autocommit
type: function
doc:
<comment>Description:</comment>
  Returns or sets the AUTOCOMMIT state for a database connection
    
  
  Sets or gets the AUTOCOMMIT behavior of the specified connection resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>int</info>       <strong>$value</strong>       One of the following constants:  <return>DB2_AUTOCOMMIT_OFF</return> Turns AUTOCOMMIT off.
                         <return>DB2_AUTOCOMMIT_ON</return> Turns AUTOCOMMIT on.
                         
                         Turns AUTOCOMMIT off.
                         
                         Turns AUTOCOMMIT on.

<comment>Return:</comment>
  <info>int|bool</info>  When <strong>db2_autocommit()</strong> receives only the <strong>$connection</strong> parameter, it returns the current
            state of AUTOCOMMIT for the requested connection as an integer value. A value of
            <info>DB2_AUTOCOMMIT_OFF</info> indicates that AUTOCOMMIT is off, while a value of <info>DB2_AUTOCOMMIT_ON</info>
            indicates that AUTOCOMMIT is on.
            
            When <strong>db2_autocommit()</strong> receives both the <strong>$connection</strong> parameter and <strong>$autocommit</strong> parameter,
            it attempts to set the AUTOCOMMIT state of the requested connection to the corresponding
            state. Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>
   * <strong>db2_pconnect()</strong>


id: db2_bind_param
type: function
doc:
<comment>Description:</comment>
  Binds a PHP variable to an SQL statement parameter
    
  
  Binds a PHP variable to an SQL statement parameter in a statement resource returned by
  <strong>db2_prepare()</strong>. This function gives you more control over the parameter type, data type, precision,
  and scale for the parameter than simply passing the variable as part of the optional input array
  to <strong>db2_execute()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>              A prepared statement returned from <strong>db2_prepare()</strong>.
  <info>int</info>       <strong>$parameter_number</strong>  Specifies the 1-indexed position of the parameter in the prepared
                               statement.
  <info>string</info>    <strong>$variable_name</strong>     A string specifying the name of the PHP variable to bind to the
                               parameter specified by <strong>$parameter_number</strong>.
  <info>int</info>       <strong>$parameter_type</strong>    A constant specifying whether the PHP variable should be bound to the
                               SQL parameter as an input parameter (<return>DB2_PARAM_IN</return>), an output
                               parameter (<return>DB2_PARAM_OUT</return>), or as a parameter that accepts input and
                               returns output (<return>DB2_PARAM_INOUT</return>). To avoid memory overhead, you can
                               also specify <return>DB2_PARAM_FILE</return> to bind the PHP variable to the name of a
                               file that contains large object (BLOB, CLOB, or DBCLOB) data.
  <info>int</info>       <strong>$data_type</strong>         A constant specifying the SQL data type that the PHP variable should
                               be bound as: one of <return>DB2_BINARY</return>, <return>DB2_CHAR</return>, <return>DB2_DOUBLE</return>, or <return>DB2_LONG</return> .
  <info>int</info>       <strong>$precision</strong>         Specifies the precision with which the variable should be bound to
                               the database. This parameter can also be used for retrieving XML
                               output values  from stored procedures. A non-negative value specifies
                               the maximum size of  the XML data that will be retrieved from the
                               database. If this parameter  is not used, a default of 1MB will be
                               assumed for retrieving the XML  output value from the stored
                               procedure.
  <info>int</info>       <strong>$scale</strong>             Specifies the scale with which the variable should be bound to the
                               database.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_execute()</strong>
   * <strong>db2_prepare()</strong>


id: db2_client_info
type: function
doc:
<comment>Description:</comment>
  Returns an object with properties that describe the DB2 database client
  
  This function returns an object with read-only properties that return information about the DB2
  database client. The following table lists the DB2 client properties: DB2 client
  propertiesProperty nameReturn typeDescriptionAPPL_CODEPAGEintThe application code
  page.CONN_CODEPAGEintThe code page for the current connection.DATA_SOURCE_NAMEstringThe data
  source name (DSN) used to create the current connection to the database.DRIVER_NAMEstringThe name
  of the library that implements the DB2 Call Level Interface (CLI)
  specification.DRIVER_ODBC_VERstringThe version of ODBC that the DB2 client supports. This returns
  a string "MM.mm" where MM is the major version and mm is the minor version. The DB2 client always
  returns "03.51". DRIVER_VERstringThe version of the client, in the form of a string "MM.mm.uuuu"
  where MM is the major version,  mm is the minor version, and uuuu is the update. For example,
  "08.02.0001" represents major version 8, minor version 2, update 1. ODBC_SQL_CONFORMANCEstringThe
  level of ODBC SQL grammar supported by the client: MINIMUM Supports the minimum ODBC SQL grammar.
  CORE Supports the core ODBC SQL grammar. EXTENDED Supports extended ODBC SQL grammar.
  ODBC_VERstringThe version of ODBC that the ODBC driver manager supports. This returns a string
  "MM.mm.rrrr" where MM is the major version, mm is the minor version, and rrrr is the release. The
  DB2 client always returns "03.01.0000".
  
  The level of ODBC SQL grammar supported by the client: MINIMUM Supports the minimum ODBC SQL
  grammar. CORE Supports the core ODBC SQL grammar. EXTENDED Supports extended ODBC SQL grammar.
  
  Supports the minimum ODBC SQL grammar.
  
  Supports the core ODBC SQL grammar.
  
  Supports extended ODBC SQL grammar.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  Specifies an active DB2 client connection.

<comment>Return:</comment>
  <info>stdClass|false</info>  Returns an object on a successful call, başarısızlık durumunda <info>false</info> döner

<comment>See Also:</comment>
   * <strong>db2_server_info()</strong>


id: db2_close
type: function
doc:
<comment>Description:</comment>
  Closes a database connection
    
  
  This function closes a DB2 client connection created with <strong>db2_connect()</strong> and returns the
  corresponding resources to the database server.
  
  If you attempt to close a persistent DB2 client connection created with <strong>db2_pconnect()</strong>, the close
  request is ignored and the persistent DB2 client connection remains available for the next caller.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  Specifies an active DB2 client connection.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>
   * <strong>db2_pclose()</strong>
   * <strong>db2_pconnect()</strong>


id: db2_column_privileges
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the columns and associated privileges for a table
    
  
  Returns a result set listing the columns and associated privileges for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>   A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>    A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                             other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>       The schema which contains the tables. To match all schemas, pass <info>null</info>
                             or an empty string.
  <info>string|null</info>  <strong>$table_name</strong>   The name of the table or view. To match all tables in the database,
                             pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$column_name</strong>  The name of the column. To match all columns in the table, pass <info>null</info> or
                             an empty string.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the column
            privileges for columns matching the specified parameters. The rows are composed of the
            following columns: Column nameDescriptionTABLE_CATName of the catalog. The value is NULL
            if this table does not have catalogs.TABLE_SCHEMName of the schema.TABLE_NAMEName of the
            table or view.COLUMN_NAMEName of the column.GRANTORAuthorization ID of the user who
            granted the privilege.GRANTEEAuthorization ID of the user to whom the privilege was
            granted.PRIVILEGEThe privilege for the column.IS_GRANTABLEWhether the GRANTEE is
            permitted to grant this privilege to other users.

<comment>See Also:</comment>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_columns
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the columns and associated metadata for a table
    
  
  Returns a result set listing the columns and associated metadata for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>   A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>    A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                             other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>       The schema which contains the tables. To match all schemas, pass <return>'%'</return>.
  <info>string|null</info>  <strong>$table_name</strong>   The name of the table or view. To match all tables in the database,
                             pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$column_name</strong>  The name of the column. To match all columns in the table, pass <info>null</info> or
                             an empty string.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the columns
            matching the specified parameters. The rows are composed of the following columns:
            Column nameDescriptionTABLE_CATName of the catalog. The value is NULL if this table does
            not have catalogs.TABLE_SCHEMName of the schema.TABLE_NAMEName of the table or
            view.COLUMN_NAMEName of the column.DATA_TYPEThe SQL data type for the column represented
            as an integer value.TYPE_NAMEA string representing the data type for the
            column.COLUMN_SIZEAn integer value representing the size of the column.BUFFER_LENGTH
            Maximum number of bytes necessary to store data from this column. DECIMAL_DIGITS The
            scale of the column, or <info>null</info> where scale is not applicable. NUM_PREC_RADIX An integer
            value of either <return>10</return> (representing an exact numeric data type), <return>2</return> (representing an
            approximate numeric data type), or <info>null</info> (representing a data type for which radix is not
            applicable). NULLABLEAn integer value representing whether the column is nullable or
            not.REMARKSDescription of the column.COLUMN_DEFDefault value for the
            column.SQL_DATA_TYPEAn integer value representing the size of the
            column.SQL_DATETIME_SUB Returns an integer value representing a datetime subtype code,
            or <info>null</info> for SQL data types to which this does not apply. CHAR_OCTET_LENGTH Maximum
            length in octets for a character data type column, which matches COLUMN_SIZE for
            single-byte character set data, or <info>null</info> for non-character data types.
            ORDINAL_POSITIONThe 1-indexed position of the column in the table.IS_NULLABLE A string
            value where 'YES' means that the column is nullable and 'NO' means that the column is
            not nullable.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_commit
type: function
doc:
<comment>Description:</comment>
  Commits a transaction
    
  
  Commits an in-progress transaction on the specified connection resource and begins a new
  transaction. PHP applications normally default to AUTOCOMMIT mode, so <strong>db2_commit()</strong> is not
  necessary unless AUTOCOMMIT has been turned off for the connection resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_autocommit()</strong>
   * <strong>db2_rollback()</strong>


id: db2_conn_error
type: function
doc:
<comment>Description:</comment>
  Returns a string containing the SQLSTATE returned by the last connection attempt
    
  
  <strong>db2_conn_error()</strong> returns an SQLSTATE value representing the reason the last attempt to connect to
  a database failed. As <strong>db2_connect()</strong> returns <info>false</info> in the event of a failed connection attempt, you
  do not pass any parameters to <strong>db2_conn_error()</strong> to retrieve the SQLSTATE value.
  
  If, however, the connection was successful but becomes invalid over time, you can pass the
  <strong>$connection</strong> parameter to retrieve the SQLSTATE value for a specific connection.
  
  To learn what the SQLSTATE value means, you can issue the following command at a DB2 Command Line
  Processor prompt: db2 '? <strong>$sqlstate-value</strong>'. You can also call <strong>db2_conn_errormsg()</strong> to retrieve an
  explicit error message and the associated SQLCODE value.

<comment>Param:</comment>
  <info>resource|null</info>  <strong>$connection</strong>  A connection resource associated with a connection that initially
                              succeeded, but which over time became invalid.

<comment>Return:</comment>
  <info>string</info>  Returns the SQLSTATE value resulting from a failed connection attempt. Returns an empty
          string if there is no error associated with the last connection attempt.

<comment>See Also:</comment>
   * <strong>db2_conn_errormsg()</strong>
   * <strong>db2_connect()</strong>
   * <strong>db2_stmt_error()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_conn_errormsg
type: function
doc:
<comment>Description:</comment>
  Returns the last connection error message and SQLCODE value
    
  
  <strong>db2_conn_errormsg()</strong> returns an error message and SQLCODE value representing the reason the last
  database connection attempt failed. As <strong>db2_connect()</strong> returns <info>false</info> in the event of a failed
  connection attempt, do not pass any parameters to <strong>db2_conn_errormsg()</strong> to retrieve the associated
  error message and SQLCODE value.
  
  If, however, the connection was successful but becomes invalid over time, you can pass the
  <strong>$connection</strong> parameter to retrieve the associated error message and SQLCODE value for a specific
  connection.

<comment>Param:</comment>
  <info>resource|null</info>  <strong>$connection</strong>  A connection resource associated with a connection that initially
                              succeeded, but which over time became invalid.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the error message and SQLCODE value resulting from a failed
          connection attempt. If there is no error associated with the last connection attempt,
          <strong>db2_conn_errormsg()</strong> returns an empty string.

<comment>See Also:</comment>
   * <strong>db2_conn_error()</strong>
   * <strong>db2_connect()</strong>
   * <strong>db2_stmt_error()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_connect
type: function
doc:
<comment>Description:</comment>
  Returns a connection to a database
    
  
  Creates a new connection to an IBM DB2 Universal Database, IBM Cloudscape, or Apache Derby
  database.

<comment>Param:</comment>
  <info>string</info>       <strong>$database</strong>           For a cataloged connection to a database, <strong>$database</strong> represents
                                   the database alias in the DB2 client catalog.
                                   
                                   For an uncataloged connection to a database, <strong>$database</strong> represents
                                   a complete connection string in the following format:
                                   DATABASE=<strong>$database</strong>;HOSTNAME=<strong>$hostname</strong>;PORT=<strong>$port</strong>;PROTOCOL=TCPIP;UID=<strong>$username</strong>;PWD=<strong>$password</strong>;
                                   where the parameters represent the following values: <strong>$database</strong>
                                   The name of the database. <strong>$hostname</strong> The hostname or IP address of
                                   the database server. <strong>$port</strong> The TCP/IP port on which the database
                                   is listening for requests. <strong>$username</strong> The username with which you
                                   are connecting to the database. <strong>$password</strong> The password with which
                                   you are connecting to the database.
                                   
                                   The name of the database.
                                   
                                   The hostname or IP address of the database server.
                                   
                                   The TCP/IP port on which the database is listening for requests.
                                   
                                   The username with which you are connecting to the database.
                                   
                                   The password with which you are connecting to the database.
  <info>string</info>       <strong>$database</strong>           The name of the database.
  <info></info>             <strong>$hostname</strong>           The hostname or IP address of the database server.
  <info></info>             <strong>$port</strong>               The TCP/IP port on which the database is listening for requests.
  <info>string|null</info>  <strong>$username</strong>           The username with which you are connecting to the database.
  <info>string|null</info>  <strong>$password</strong>           The password with which you are connecting to the database.
  <info>string|null</info>  <strong>$username</strong>           The username with which you are connecting to the database.
                                   
                                   For uncataloged connections, you must pass a <info>null</info> value or empty
                                   string.
  <info>string|null</info>  <strong>$password</strong>           The password with which you are connecting to the database.
                                   
                                   For uncataloged connections, you must pass a <info>null</info> value or empty
                                   string.
  <info>array</info>        <strong>$options</strong>            An associative array of connection options that affect the
                                   behavior of the connection, where valid array keys include:
                                   <strong>$autocommit</strong> Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit
                                   on for this connection handle.  Passing the <return>DB2_AUTOCOMMIT_OFF</return>
                                   value turns autocommit off for this connection handle.
                                   <strong>$DB2_ATTR_CASE</strong> Passing the <return>DB2_CASE_NATURAL</return> value specifies that
                                   column names are returned in natural case.  Passing the
                                   <return>DB2_CASE_LOWER</return> value specifies that column names are returned in
                                   lower case.  Passing the <return>DB2_CASE_UPPER</return> value specifies that
                                   column names are returned in upper case. <strong>$CURSOR</strong> Passing the
                                   <return>DB2_FORWARD_ONLY</return> value specifies a forward-only cursor for a
                                   statement resource. This is the default cursor type and is
                                   supported on all database servers.  Passing the <return>DB2_SCROLLABLE</return>
                                   value specifies a scrollable cursor for a statement resource.
                                   This mode enables random access to rows in a result set, but
                                   currently is supported only by IBM DB2 Universal Database.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit on for this
                                   connection handle.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_OFF</return> value turns autocommit off for
                                   this connection handle.
                                   
                                   Passing the <return>DB2_CASE_NATURAL</return> value specifies that column names
                                   are returned in natural case.
                                   
                                   Passing the <return>DB2_CASE_LOWER</return> value specifies that column names are
                                   returned in lower case.
                                   
                                   Passing the <return>DB2_CASE_UPPER</return> value specifies that column names are
                                   returned in upper case.
                                   
                                   Passing the <return>DB2_FORWARD_ONLY</return> value specifies a forward-only
                                   cursor for a statement resource. This is the default cursor type
                                   and is supported on all database servers.
                                   
                                   Passing the <return>DB2_SCROLLABLE</return> value specifies a scrollable cursor
                                   for a statement resource. This mode enables random access to rows
                                   in a result set, but currently is supported only by IBM DB2
                                   Universal Database.
                                   
                                   The following new option is available in ibm_db2 version 1.7.0
                                   and later. <strong>$trustedcontext</strong> Passing the DB2_TRUSTED_CONTEXT_ENABLE
                                   value turns trusted context on for this connection handle. This
                                   parameter cannot be set using <strong>db2_set_option()</strong>.  This key works
                                   only if the database is cataloged (even if the database is
                                   local), or if you specify the full DSN when you create the
                                   connection.  To catalog the database, use following commands: db2
                                   catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
                                   
                                   Passing the DB2_TRUSTED_CONTEXT_ENABLE value turns trusted
                                   context on for this connection handle. This parameter cannot be
                                   set using <strong>db2_set_option()</strong>.
                                   
                                   This key works only if the database is cataloged (even if the
                                   database is local), or if you specify the full DSN when you
                                   create the connection.
                                   
                                   To catalog the database, use following commands:
                                   
                                   db2 catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
                                   
                                   The following new i5/OS options are available in ibm_db2 version
                                   1.5.1 and later. <strong>$i5_lib</strong> A character value that indicates the
                                   default library that will be used for resolving unqualified file
                                   references. This is not valid if the connection is using system
                                   naming mode. <strong>$i5_naming</strong><return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB
                                   CLI iSeries system naming mode. Files are qualified using the
                                   slash (/) delimiter. Unqualified files are resolved using the
                                   library list for the job. <return>DB2_I5_NAMING_OFF</return> value turns off DB2
                                   UDB CLI default naming mode, which is SQL naming. Files are
                                   qualified using the period (.) delimiter. Unqualified files are
                                   resolved using either the default library or the current user ID.
                                   <strong>$i5_commit</strong> The <strong>$i5_commit</strong> attribute should be set before the
                                   <strong>db2_connect()</strong>. If the value is changed after the connection has
                                   been established, and the connection is to a remote data source,
                                   the change does not take effect until the next successful
                                   <strong>db2_connect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible. <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty
                                   reads are not possible. Nonrepeatable reads, and phantoms are
                                   possible. <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and
                                   nonrepeatable reads are not possible. Phantoms are possible.
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
                                   <strong>$i5_query_optimize</strong><return>DB2_FIRST_IO</return> All queries are optimized with the
                                   goal of returning the first page of output as fast as possible.
                                   This goal works well when the output is controlled by a user who
                                   is most likely to cancel the query after viewing the first page
                                   of output data. Queries coded with an OPTIMIZE FOR nnn ROWS
                                   clause honor the goal specified by the clause. <return>DB2_ALL_IO</return> All
                                   queries are optimized with the goal of running the entire query
                                   to completion in the shortest amount of elapsed time. This is a
                                   good option when the output of a query is being written to a file
                                   or report, or the interface is queuing the output data. Queries
                                   coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause. This is the default.
                                   <strong>$i5_dbcs_alloc</strong><return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X
                                   allocation scheme for DBCS translation column size growth.
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.  Note: php.ini setting
                                   <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or <return>DB2_I5_DBCS_ALLOC_OFF</return> is the
                                   default, but may be overridden with the <strong>$i5_dbcs_alloc</strong> option.
                                   <strong>$i5_date_fmt</strong><return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default. <return>DB2_I5_FMT_USA</return> - The United States date format
                                   mm/dd/yyyy is used. <return>DB2_I5_FMT_EUR</return> - The European date format
                                   dd.mm.yyyy is used. <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial
                                   Standard date format yyyy-mm-dd is used. <return>DB2_I5_FMT_MDY</return> - The
                                   date format mm/dd/yyyy is used. <return>DB2_I5_FMT_DMY</return> - The date format
                                   dd/mm/yyyy is used. <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is
                                   used. <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
                                   <strong>$i5_date_sep</strong><return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date
                                   separator. This is the default. <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is
                                   used as the date separator. <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is
                                   used as the date separator. <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is
                                   used as the date separator. <return>DB2_I5_SEP_BLANK</return> - A blank is used as
                                   the date separator. <return>DB2_I5_SEP_JOB</return> - The job default is used
                                   <strong>$i5_time_fmt</strong><return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default. <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx
                                   is used, where xx is AM or PM. <return>DB2_I5_FMT_EUR</return> - The European time
                                   format hh.mm.ss is used. <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial
                                   Standard time format hh:mm:ss is used. <return>DB2_I5_FMT_HMS</return> - The
                                   hh:mm:ss format is used. <strong>$i5_time_sep</strong><return>DB2_I5_SEP_COLON</return> - A colon (
                                   : ) is used as the time separator. This is the default.
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   <strong>$i5_decimal_sep</strong><return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the
                                   decimal separator. This is the default. <return>DB2_I5_SEP_COMMA</return> - A
                                   comma ( , ) is used as the decimal separator. <return>DB2_I5_SEP_JOB</return> -
                                   The job default is used.
                                   
                                   A character value that indicates the default library that will be
                                   used for resolving unqualified file references. This is not valid
                                   if the connection is using system naming mode.
                                   
                                   <return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB CLI iSeries system naming
                                   mode. Files are qualified using the slash (/) delimiter.
                                   Unqualified files are resolved using the library list for the
                                   job.
                                   
                                   <return>DB2_I5_NAMING_OFF</return> value turns off DB2 UDB CLI default naming
                                   mode, which is SQL naming. Files are qualified using the period
                                   (.) delimiter. Unqualified files are resolved using either the
                                   default library or the current user ID.
                                   
                                   The <strong>$i5_commit</strong> attribute should be set before the <strong>db2_connect()</strong>.
                                   If the value is changed after the connection has been
                                   established, and the connection is to a remote data source, the
                                   change does not take effect until the next successful
                                   <strong>db2_connect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_allow_commit</strong>==0 or
                                   <return>DB2_I5_TXN_NO_COMMIT</return> is the default, but may be overridden with
                                   the <strong>$i5_commit</strong> option.
                                   
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty reads are not possible.
                                   Nonrepeatable reads, and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and nonrepeatable reads
                                   are not possible. Phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
                                   
                                   <return>DB2_FIRST_IO</return> All queries are optimized with the goal of returning
                                   the first page of output as fast as possible. This goal works
                                   well when the output is controlled by a user who is most likely
                                   to cancel the query after viewing the first page of output data.
                                   Queries coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause.
                                   
                                   <return>DB2_ALL_IO</return> All queries are optimized with the goal of running the
                                   entire query to completion in the shortest amount of elapsed
                                   time. This is a good option when the output of a query is being
                                   written to a file or report, or the interface is queuing the
                                   output data. Queries coded with an OPTIMIZE FOR nnn ROWS clause
                                   honor the goal specified by the clause. This is the default.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X allocation scheme for
                                   DBCS translation column size growth.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.
                                   
                                   Note: php.ini setting <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> is the default, but may be overridden with
                                   the <strong>$i5_dbcs_alloc</strong> option.
                                   
                                   <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States date format mm/dd/yyyy is
                                   used.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European date format dd.mm.yyyy is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard date format
                                   yyyy-mm-dd is used.
                                   
                                   <return>DB2_I5_FMT_MDY</return> - The date format mm/dd/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_DMY</return> - The date format dd/mm/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is used.
                                   
                                   <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
                                   
                                   <return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used
                                   
                                   <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx is used,
                                   where xx is AM or PM.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European time format hh.mm.ss is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard time format
                                   hh:mm:ss is used.
                                   
                                   <return>DB2_I5_FMT_HMS</return> - The hh:mm:ss format is used.
                                   
                                   <return>DB2_I5_SEP_COLON</return> - A colon ( : ) is used as the time separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the decimal
                                   separator. This is the default.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the decimal
                                   separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   
                                   The following new i5/OS option is available in ibm_db2 version
                                   1.8.0 and later. <strong>$i5_libl</strong> A character value that indicates the
                                   library list that will be used for resolving unqualified file
                                   references. Specify the library list elements separated by blanks
                                   'i5_libl'=&gt;"MYLIB YOURLIB ANYLIB". <strong>$i5_libl</strong> calls
                                   qsys2/qcmdexc('cmd',cmdlen), which is only available in i5/OS
                                   V5R4 and later.
                                   
                                   A character value that indicates the library list that will be
                                   used for resolving unqualified file references. Specify the
                                   library list elements separated by blanks 'i5_libl'=&gt;"MYLIB
                                   YOURLIB ANYLIB".
                                   
                                   <strong>$i5_libl</strong> calls qsys2/qcmdexc('cmd',cmdlen), which is only
                                   available in i5/OS V5R4 and later.
  <info></info>             <strong>$autocommit</strong>         Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit on for this
                                   connection handle.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_OFF</return> value turns autocommit off for
                                   this connection handle.
  <info></info>             <strong>$DB2_ATTR_CASE</strong>      Passing the <return>DB2_CASE_NATURAL</return> value specifies that column names
                                   are returned in natural case.
                                   
                                   Passing the <return>DB2_CASE_LOWER</return> value specifies that column names are
                                   returned in lower case.
                                   
                                   Passing the <return>DB2_CASE_UPPER</return> value specifies that column names are
                                   returned in upper case.
  <info></info>             <strong>$CURSOR</strong>             Passing the <return>DB2_FORWARD_ONLY</return> value specifies a forward-only
                                   cursor for a statement resource. This is the default cursor type
                                   and is supported on all database servers.
                                   
                                   Passing the <return>DB2_SCROLLABLE</return> value specifies a scrollable cursor
                                   for a statement resource. This mode enables random access to rows
                                   in a result set, but currently is supported only by IBM DB2
                                   Universal Database.
  <info></info>             <strong>$trustedcontext</strong>     Passing the DB2_TRUSTED_CONTEXT_ENABLE value turns trusted
                                   context on for this connection handle. This parameter cannot be
                                   set using <strong>db2_set_option()</strong>.
                                   
                                   This key works only if the database is cataloged (even if the
                                   database is local), or if you specify the full DSN when you
                                   create the connection.
                                   
                                   To catalog the database, use following commands:
                                   
                                   db2 catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
  <info></info>             <strong>$i5_lib</strong>             A character value that indicates the default library that will be
                                   used for resolving unqualified file references. This is not valid
                                   if the connection is using system naming mode.
  <info></info>             <strong>$i5_naming</strong>          <return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB CLI iSeries system naming
                                   mode. Files are qualified using the slash (/) delimiter.
                                   Unqualified files are resolved using the library list for the
                                   job.
                                   
                                   <return>DB2_I5_NAMING_OFF</return> value turns off DB2 UDB CLI default naming
                                   mode, which is SQL naming. Files are qualified using the period
                                   (.) delimiter. Unqualified files are resolved using either the
                                   default library or the current user ID.
  <info></info>             <strong>$i5_commit</strong>          The <strong>$i5_commit</strong> attribute should be set before the <strong>db2_connect()</strong>.
                                   If the value is changed after the connection has been
                                   established, and the connection is to a remote data source, the
                                   change does not take effect until the next successful
                                   <strong>db2_connect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_allow_commit</strong>==0 or
                                   <return>DB2_I5_TXN_NO_COMMIT</return> is the default, but may be overridden with
                                   the <strong>$i5_commit</strong> option.
                                   
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty reads are not possible.
                                   Nonrepeatable reads, and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and nonrepeatable reads
                                   are not possible. Phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
  <info></info>             <strong>$i5_query_optimize</strong>  <return>DB2_FIRST_IO</return> All queries are optimized with the goal of returning
                                   the first page of output as fast as possible. This goal works
                                   well when the output is controlled by a user who is most likely
                                   to cancel the query after viewing the first page of output data.
                                   Queries coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause.
                                   
                                   <return>DB2_ALL_IO</return> All queries are optimized with the goal of running the
                                   entire query to completion in the shortest amount of elapsed
                                   time. This is a good option when the output of a query is being
                                   written to a file or report, or the interface is queuing the
                                   output data. Queries coded with an OPTIMIZE FOR nnn ROWS clause
                                   honor the goal specified by the clause. This is the default.
  <info></info>             <strong>$i5_dbcs_alloc</strong>      <return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X allocation scheme for
                                   DBCS translation column size growth.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.
                                   
                                   Note: php.ini setting <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> is the default, but may be overridden with
                                   the <strong>$i5_dbcs_alloc</strong> option.
  <info></info>             <strong>$i5_date_fmt</strong>        <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States date format mm/dd/yyyy is
                                   used.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European date format dd.mm.yyyy is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard date format
                                   yyyy-mm-dd is used.
                                   
                                   <return>DB2_I5_FMT_MDY</return> - The date format mm/dd/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_DMY</return> - The date format dd/mm/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is used.
                                   
                                   <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_date_sep</strong>        <return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used
  <info></info>             <strong>$i5_time_fmt</strong>        <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx is used,
                                   where xx is AM or PM.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European time format hh.mm.ss is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard time format
                                   hh:mm:ss is used.
                                   
                                   <return>DB2_I5_FMT_HMS</return> - The hh:mm:ss format is used.
  <info></info>             <strong>$i5_time_sep</strong>        <return>DB2_I5_SEP_COLON</return> - A colon ( : ) is used as the time separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_decimal_sep</strong>     <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the decimal
                                   separator. This is the default.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the decimal
                                   separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_libl</strong>            A character value that indicates the library list that will be
                                   used for resolving unqualified file references. Specify the
                                   library list elements separated by blanks 'i5_libl'=&gt;"MYLIB
                                   YOURLIB ANYLIB".
                                   
                                   <strong>$i5_libl</strong> calls qsys2/qcmdexc('cmd',cmdlen), which is only
                                   available in i5/OS V5R4 and later.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a connection handle resource if the connection attempt is successful. If
                  the connection attempt fails, <strong>db2_connect()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_close()</strong>
   * <strong>db2_pconnect()</strong>


id: db2_cursor_type
type: function
doc:
<comment>Description:</comment>
  Returns the cursor type used by a statement resource
    
  
  Returns the cursor type used by a statement resource. Use this to determine if you are working
  with a forward-only cursor or scrollable cursor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>int</info>  Returns either <return>DB2_FORWARD_ONLY</return> if the statement resource uses a forward-only cursor or
       <return>DB2_SCROLLABLE</return> if the statement resource uses a scrollable cursor.

<comment>See Also:</comment>
   * <strong>db2_prepare()</strong>


id: db2_escape_string
type: function
doc:
<comment>Description:</comment>
  Used to escape certain characters
    
  
  Prepends backslashes to special characters in the string argument.

<comment>Param:</comment>
  <info>string</info>  <strong>$string_literal</strong>  The string that contains special characters that need to be modified.
                           Characters that are prepended with a backslash are <return>\x00</return>,  <return>\n</return>, <return>\r</return>, <return>\</return>,  <return>'</return>,
                           <return>"</return> and <return>\x1a</return>.

<comment>Return:</comment>
  <info>string</info>  Returns <strong>$string_literal</strong> with the special characters  noted above prepended with
          backslashes.

<comment>See Also:</comment>
   * <strong>db2_prepare()</strong>


id: db2_exec
type: function
doc:
<comment>Description:</comment>
  Executes an SQL statement directly
    
  
  Executes an SQL statement directly.
  
  If you plan to interpolate PHP variables into the SQL statement, understand that this is one of
  the more common security exposures. Consider calling <strong>db2_prepare()</strong> to prepare an SQL statement
  with parameter markers for input values. Then you can call <strong>db2_execute()</strong> to pass in the input
  values and avoid SQL injection attacks.
  
  If you plan to repeatedly issue the same SQL statement with different parameters, consider calling
  <strong>db2_prepare()</strong> and <strong>db2_execute()</strong> to enable the database server to reuse its access plan and
  increase the efficiency of your database access.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>string</info>    <strong>$statement</strong>   An SQL statement. The statement cannot contain any parameter markers.
  <info>array</info>     <strong>$options</strong>     An associative array containing statement options. You can use this
                         parameter to request a scrollable cursor on database servers that support
                         this functionality.
                         
                         For a description of valid statement options, see  <strong>db2_set_option()</strong>.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a statement resource if the SQL statement was issued successfully, or
                  <info>false</info> if the database failed to execute the SQL statement.

<comment>See Also:</comment>
   * <strong>db2_execute()</strong>
   * <strong>db2_prepare()</strong>


id: db2_execute
type: function
doc:
<comment>Description:</comment>
  Executes a prepared SQL statement
    
  
  <strong>db2_execute()</strong> executes an SQL statement that was prepared by <strong>db2_prepare()</strong>.
  
  If the SQL statement returns a result set, for example, a SELECT statement or a CALL to a stored
  procedure that returns one or more result sets, you can retrieve a row as an array from the <return>stmt</return>
  resource using <strong>db2_fetch_assoc()</strong>, <strong>db2_fetch_both()</strong>, or <strong>db2_fetch_array()</strong>. Alternatively, you can
  use <strong>db2_fetch_row()</strong> to move the result set pointer to the next row and fetch a column at a time
  from that row with <strong>db2_result()</strong>.
  
  Refer to <strong>db2_prepare()</strong> for a brief discussion of the advantages of using <strong>db2_prepare()</strong> and
  <strong>db2_execute()</strong> rather than <strong>db2_exec()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A prepared statement returned from <strong>db2_prepare()</strong>.
  <info>array</info>     <strong>$parameters</strong>  An array of input parameters matching any parameter markers contained in
                         the prepared statement.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_exec()</strong>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_prepare()</strong>
   * <strong>db2_result()</strong>


id: db2_fetch_array
type: function
doc:
<comment>Description:</comment>
  Returns an array, indexed by column position, representing a row in a result set
    
  
  Returns an array, indexed by column position, representing a row in a result set. The columns are
  0-indexed.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A valid <return>stmt</return> resource containing a result set.
  <info>int</info>       <strong>$row_number</strong>  Requests a specific 1-indexed row from the result set. Passing this
                         parameter results in a PHP warning if the result set uses a forward-only
                         cursor.

<comment>Return:</comment>
  <info>array|false</info>  Returns a 0-indexed array with column values indexed by the column position
               representing the next or requested row in the result set. Returns <info>false</info> if there are
               no rows left in the result set, or if the row requested by <strong>$row_number</strong> does not exist
               in the result set.

<comment>See Also:</comment>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_result()</strong>


id: db2_fetch_assoc
type: function
doc:
<comment>Description:</comment>
  Returns an array, indexed by column name, representing a row in a result set
    
  
  Returns an array, indexed by column name, representing a row in a result set.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A valid <return>stmt</return> resource containing a result set.
  <info>int</info>       <strong>$row_number</strong>  Requests a specific 1-indexed row from the result set. Passing this
                         parameter results in a PHP warning if the result set uses a forward-only
                         cursor.

<comment>Return:</comment>
  <info>array|false</info>  Returns an associative array with column values indexed by the column name
               representing the next or requested row in the result set. Returns <info>false</info> if there are
               no rows left in the result set, or if the row requested by <strong>$row_number</strong> does not exist
               in the result set.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_result()</strong>


id: db2_fetch_both
type: function
doc:
<comment>Description:</comment>
  Returns an array, indexed by both column name and position, representing a row in a result set
    
  
  Returns an array, indexed by both column name and position, representing a row in a result set.
  Note that the row returned by <strong>db2_fetch_both()</strong> requires more memory than the single-indexed arrays
  returned by <strong>db2_fetch_assoc()</strong> or <strong>db2_fetch_array()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A valid <return>stmt</return> resource containing a result set.
  <info>int</info>       <strong>$row_number</strong>  Requests a specific 1-indexed row from the result set. Passing this
                         parameter results in a PHP warning if the result set uses a forward-only
                         cursor.

<comment>Return:</comment>
  <info>array|false</info>  Returns an associative array with column values indexed by both the column name and
               0-indexed column number. The array represents the next or requested row in the result
               set. Returns <info>false</info> if there are no rows left in the result set, or if the row
               requested by <strong>$row_number</strong> does not exist in the result set.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_result()</strong>


id: db2_fetch_object
type: function
doc:
<comment>Description:</comment>
  Returns an object with properties representing columns in the fetched row
    
  
  Returns an object in which each property represents a column returned in the row fetched from a
  result set.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A valid <return>stmt</return> resource containing a result set.
  <info>int</info>       <strong>$row_number</strong>  Requests a specific 1-indexed row from the result set. Passing this
                         parameter results in a PHP warning if the result set uses a forward-only
                         cursor.

<comment>Return:</comment>
  <info>stdClass|false</info>  Returns an object representing a single row in the result set. The properties of
                  the object map to the names of the columns in the result set.
                  
                  The IBM DB2, Cloudscape, and Apache Derby database servers typically fold column
                  names to upper-case, so the object properties will reflect that case.
                  
                  If your SELECT statement calls a scalar function to modify the value of a column,
                  the database servers return the column number as the name of the column in the
                  result set. If you prefer a more descriptive column name and object property, you
                  can use the AS clause to assign a name to the column in the result set.
                  
                  Returns <info>false</info> if no row was retrieved.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_result()</strong>


id: db2_fetch_row
type: function
doc:
<comment>Description:</comment>
  Sets the result set pointer to the next row or requested row
    
  
  Use <strong>db2_fetch_row()</strong> to iterate through a result set, or to point to a specific row in a result set
  if you requested a scrollable cursor.
  
  To retrieve individual fields from the result set, call the <strong>db2_result()</strong> function.
  
  Rather than calling <strong>db2_fetch_row()</strong> and <strong>db2_result()</strong>, most applications will call one of
  <strong>db2_fetch_assoc()</strong>, <strong>db2_fetch_both()</strong>, or <strong>db2_fetch_array()</strong> to advance the result set pointer and
  return a complete row as an array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>        A valid <return>stmt</return> resource.
  <info>int</info>       <strong>$row_number</strong>  With scrollable cursors, you can request a specific row number in the
                         result set. Row numbering is 1-indexed.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the requested row exists in the result set. Returns <info>false</info> if the requested
        row does not exist in the result set.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_result()</strong>


id: db2_field_display_size
type: function
doc:
<comment>Description:</comment>
  Returns the maximum number of bytes required to display a column
    
  
  Returns the maximum number of bytes required to display a column in a result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer value with the maximum number of bytes required to display the
             specified column. If the column does not exist in the result set,
             <strong>db2_field_display_size()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_name
type: function
doc:
<comment>Description:</comment>
  Returns the name of the column in the result set
    
  
  Returns the name of the specified column in the result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>string|false</info>  Returns a string containing the name of the specified column. If the specified
                column does not exist in the result set, <strong>db2_field_name()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_num
type: function
doc:
<comment>Description:</comment>
  Returns the position of the named column in a result set
    
  
  Returns the position of the named column in a result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer containing the 0-indexed position of the named column in the result
             set. If the specified column does not exist in the result set, <strong>db2_field_num()</strong> returns
             <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_precision
type: function
doc:
<comment>Description:</comment>
  Returns the precision of the indicated column in a result set
    
  
  Returns the precision of the indicated column in a result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer containing the precision of the specified column. If the specified
             column does not exist in the result set, <strong>db2_field_precision()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_scale
type: function
doc:
<comment>Description:</comment>
  Returns the scale of the indicated column in a result set
    
  
  Returns the scale of the indicated column in a result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer containing the scale of the specified column. If the specified
             column does not exist in the result set, <strong>db2_field_scale()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_type
type: function
doc:
<comment>Description:</comment>
  Returns the data type of the indicated column in a result set
    
  
  Returns the data type of the indicated column in a result set.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>string|false</info>  Returns a string containing the defined data type of the specified column. If the
                specified column does not exist in the result set, <strong>db2_field_type()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_width()</strong>


id: db2_field_width
type: function
doc:
<comment>Description:</comment>
  Returns the width of the current value of the indicated column in a result set
    
  
  Returns the width of the current value of the indicated column in a result set. This is the
  maximum width of the column for a fixed-length data type, or the actual width of the column for a
  variable-length data type.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    Specifies a statement resource containing a result set.
  <info>int|string</info>  <strong>$column</strong>  Specifies the column in the result set. This can either be an integer
                       representing the 0-indexed position of the column, or a string containing the
                       name of the column.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer containing the width of the specified character or binary data type
             column in a result set. If the specified column does not exist in the result set,
             <strong>db2_field_width()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>


id: db2_foreign_keys
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the foreign keys for a table
    
  
  Returns a result set listing the foreign keys for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>      The schema which contains the tables. If <strong>$schema</strong> is <info>null</info>,
                            <strong>db2_foreign_keys()</strong> matches the schema for the current connection.
  <info>string</info>       <strong>$table_name</strong>  The name of the table.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the foreign
            keys for the specified table. The result set is composed of the following columns:
            Column nameDescriptionPKTABLE_CAT Name of the catalog for the table containing the
            primary key. The value is NULL if this table does not have catalogs. PKTABLE_SCHEM Name
            of the schema for the table containing the primary key. PKTABLE_NAMEName of the table
            containing the primary key.PKCOLUMN_NAMEName of the column containing the primary
            key.FKTABLE_CAT Name of the catalog for the table containing the foreign key. The value
            is NULL if this table does not have catalogs. FKTABLE_SCHEM Name of the schema for the
            table containing the foreign key. FKTABLE_NAMEName of the table containing the foreign
            key.FKCOLUMN_NAMEName of the column containing the foreign key.KEY_SEQ1-indexed position
            of the column in the key.UPDATE_RULE Integer value representing the action applied to
            the foreign key when the SQL operation is UPDATE. DELETE_RULE Integer value representing
            the action applied to the foreign key when the SQL operation is DELETE. FK_NAMEThe name
            of the foreign key.PK_NAMEThe name of the primary key.DEFERRABILITY An integer value
            representing whether the foreign key deferrability is SQL_INITIALLY_DEFERRED,
            SQL_INITIALLY_IMMEDIATE, or SQL_NOT_DEFERRABLE.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_free_result
type: function
doc:
<comment>Description:</comment>
  Frees resources associated with a result set
    
  
  Frees the system and database resources that are associated with a result set. These resources are
  freed implicitly when a script finishes, but you can call <strong>db2_free_result()</strong> to explicitly free the
  result set resources before the end of the script.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_free_stmt()</strong>


id: db2_free_stmt
type: function
doc:
<comment>Description:</comment>
  Frees resources associated with the indicated statement resource
    
  
  Frees the system and database resources that are associated with a statement resource. These
  resources are freed implicitly when a script finishes, but you can call <strong>db2_free_stmt()</strong> to
  explicitly free the statement resources before the end of the script.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_free_result()</strong>


id: db2_get_option
type: function
doc:
<comment>Description:</comment>
  Retrieves an option value for a statement resource or a connection resource
  
  Retrieves the value of a specified option value for a statement resource  or a connection
  resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$resource</strong>    A valid statement resource as returned from <strong>db2_prepare()</strong> or a valid
                         connection resource as returned from <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>string</info>    <strong>$option</strong>      A valid statement or connection options. The following new options are
                         available  as of ibm_db2 version 1.6.0. They provide useful tracking
                         information  that can be set during execution with <strong>db2_get_option()</strong>.  Prior
                         versions of ibm_db2 do not support these new options.  When the value in
                         each option is being set, some servers might not handle  the entire length
                         provided and might truncate the value.  To ensure that the data specified
                         in each option is converted correctly  when transmitted to a host system,
                         use only the characters A through Z,  0 through 9, and the underscore (_)
                         or period (.).  <strong>$userid</strong><return>SQL_ATTR_INFO_USERID</return> - A pointer to a
                         null-terminated  character string used to identify the client user ID sent
                         to the host  database server when using DB2 Connect.  DB2 for z/OS and
                         OS/390 servers support up to a length of 16 characters.  This user-id is
                         not to be confused with the authentication user-id, it is for
                         identification purposes only and is not used for any authorization.
                         <strong>$acctstr</strong><return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character
                         string used to identify the client accounting string sent to the  host
                         database server when using DB2 Connect.  DB2 for z/OS and OS/390 servers
                         support up to a length of 200 characters.  <strong>$applname</strong><return>SQL_ATTR_INFO_APPLNAME</return>
                         - A pointer to a null-terminated  character string used to identify the
                         client application name sent to the  host database server when using DB2
                         Connect.  DB2 for z/OS and OS/390 servers support up to a length of 32
                         characters.  <strong>$wrkstnname</strong><return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a
                         null-terminated  character string used to identify the client workstation
                         name sent to the  host database server when using DB2 Connect.  DB2 for
                         z/OS and OS/390 servers support up to a length of 18 characters.
                         
                         Prior versions of ibm_db2 do not support these new options.
                         
                         When the value in each option is being set, some servers might not handle
                         the entire length provided and might truncate the value.
                         
                         To ensure that the data specified in each option is converted correctly
                         when transmitted to a host system, use only the characters A through Z,  0
                         through 9, and the underscore (_) or period (.).
                         
                         <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character string
                         used to identify the client user ID sent to the host  database server when
                         using DB2 Connect.  DB2 for z/OS and OS/390 servers support up to a length
                         of 16 characters.  This user-id is not to be confused with the
                         authentication user-id, it is for  identification purposes only and is not
                         used for any authorization.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 16 characters.
                         This user-id is not to be confused with the authentication user-id, it is
                         for  identification purposes only and is not used for any authorization.
                         
                         <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character string
                         used to identify the client accounting string sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 200 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 200 characters.
                         
                         <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character string
                         used to identify the client application name sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 32 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 32 characters.
                         
                         <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character string
                         used to identify the client workstation name sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 18 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 18 characters.
  <info></info>          <strong>$userid</strong>      <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character string
                         used to identify the client user ID sent to the host  database server when
                         using DB2 Connect.  DB2 for z/OS and OS/390 servers support up to a length
                         of 16 characters.  This user-id is not to be confused with the
                         authentication user-id, it is for  identification purposes only and is not
                         used for any authorization.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 16 characters.
                         This user-id is not to be confused with the authentication user-id, it is
                         for  identification purposes only and is not used for any authorization.
  <info></info>          <strong>$acctstr</strong>     <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character string
                         used to identify the client accounting string sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 200 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 200 characters.
  <info></info>          <strong>$applname</strong>    <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character string
                         used to identify the client application name sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 32 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 32 characters.
  <info></info>          <strong>$wrkstnname</strong>  <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character string
                         used to identify the client workstation name sent to the  host database
                         server when using DB2 Connect.  DB2 for z/OS and OS/390 servers support up
                         to a length of 18 characters.
                         
                         DB2 for z/OS and OS/390 servers support up to a length of 18 characters.

<comment>Return:</comment>
  <info>string|false</info>  Returns the current setting of the connection attribute provided on success
                başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>
   * <strong>db2_cursor_type()</strong>
   * <strong>db2_exec()</strong>
   * <strong>db2_set_option()</strong>
   * <strong>db2_pconnect()</strong>
   * <strong>db2_prepare()</strong>


id: db2_last_insert_id
type: function
doc:
<comment>Description:</comment>
  Returns the auto generated ID of the last insert query that successfully 
    executed on this connection
  
  Returns the auto generated ID of the last insert query that successfully  executed on this
  connection.
  
  The result of this function is not affected by any of the following:  A single row INSERT
  statement with a VALUES clause for a table without an identity column.  A multiple row INSERT
  statement with a VALUES clause.  An INSERT statement with a fullselect.  A ROLLBACK TO SAVEPOINT
  statement.
  
  A single row INSERT statement with a VALUES clause for a table without an identity column.
  
  A multiple row INSERT statement with a VALUES clause.
  
  An INSERT statement with a fullselect.
  
  A ROLLBACK TO SAVEPOINT statement.

<comment>Param:</comment>
  <info>resource</info>  <strong>$resource</strong>  A valid connection resource as returned from <strong>db2_connect()</strong>  or
                       <strong>db2_pconnect()</strong>. The value of this parameter cannot be a  statement resource
                       or result set resource.

<comment>Return:</comment>
  <info>string|null</info>  Returns the auto generated ID of last insert query that successfully  executed on
               this connection.


id: db2_lob_read
type: function
doc:
<comment>Description:</comment>
  Gets a user defined size of LOB files with each invocation
    
  
  Use <strong>db2_lob_read()</strong> to iterate through a specified column of  a result set and retrieve a user
  defined size of LOB data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>    A valid <return>stmt</return> resource containing LOB data.
  <info>int</info>       <strong>$colnum</strong>  A valid column number in the result set of the <return>stmt</return> resource.
  <info>int</info>       <strong>$length</strong>  The size of the LOB data to be retrieved from the <return>stmt</return> resource.

<comment>Return:</comment>
  <info>string|false</info>  Returns the amount of data the user specifies. Returns <info>false</info> if the data cannot be
                retrieved.

<comment>See Also:</comment>
   * <strong>db2_bind_param()</strong>
   * <strong>db2_exec()</strong>
   * <strong>db2_execute()</strong>
   * <strong>db2_fetch_row()</strong>
   * <strong>db2_prepare()</strong>
   * <strong>db2_result()</strong>


id: db2_next_result
type: function
doc:
<comment>Description:</comment>
  Requests the next result set from a stored procedure
    
  
  A stored procedure can return zero or more result sets. While you handle the first result set in
  exactly the same way you would handle the results returned by a simple SELECT statement, to fetch
  the second and subsequent result sets from a stored procedure you must call the <strong>db2_next_result()</strong>
  function and return the result to a uniquely named PHP variable.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A prepared statement returned from <strong>db2_exec()</strong> or <strong>db2_execute()</strong>.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a new statement resource containing the next result set if the stored
                  procedure returned another result set. Returns <info>false</info> if the stored procedure did
                  not return another result set.


id: db2_num_fields
type: function
doc:
<comment>Description:</comment>
  Returns the number of fields contained in a result set
    
  
  Returns the number of fields contained in a result set. This is most useful for handling the
  result sets returned by dynamically generated queries, or for result sets returned by stored
  procedures, where your application cannot otherwise know how to retrieve and use the results.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource containing a result set.

<comment>Return:</comment>
  <info>int|false</info>  Returns an integer value representing the number of fields in the result set associated
             with the specified statement resource. Returns <info>false</info> if the statement resource is not a
             valid input value.

<comment>See Also:</comment>
   * <strong>db2_execute()</strong>
   * <strong>db2_field_display_size()</strong>
   * <strong>db2_field_name()</strong>
   * <strong>db2_field_num()</strong>
   * <strong>db2_field_precision()</strong>
   * <strong>db2_field_scale()</strong>
   * <strong>db2_field_type()</strong>
   * <strong>db2_field_width()</strong>


id: db2_num_rows
type: function
doc:
<comment>Description:</comment>
  Returns the number of rows affected by an SQL statement
    
  
  Returns the number of rows deleted, inserted, or updated by an SQL statement.
  
  To determine the number of rows that will be returned by a SELECT statement, issue SELECT COUNT(*)
  with the same predicates as your intended SELECT statement and retrieve the value.
  
  If your application logic checks the number of rows returned by a SELECT statement and branches if
  the number of rows is 0, consider modifying your application to attempt to return the first row
  with one of <strong>db2_fetch_assoc()</strong>, <strong>db2_fetch_both()</strong>, <strong>db2_fetch_array()</strong>, or <strong>db2_fetch_row()</strong>, and branch
  if the fetch function returns <info>false</info>.
  
  If you issue a SELECT statement using a scrollable cursor, <strong>db2_num_rows()</strong> returns the number of
  rows returned by the SELECT statement. However, the overhead associated with scrollable cursors
  significantly degrades the performance of your application, so if this is the only reason you are
  considering using scrollable cursors, you should use a forward-only cursor and either call SELECT
  COUNT(*) or rely on the <info>bool</info> return value of the fetch functions to achieve the equivalent
  functionality with much better performance.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid <return>stmt</return> resource containing a result set.

<comment>Return:</comment>
  <info>int|false</info>  Returns the number of rows affected by the last SQL statement issued by the specified
             statement handle, başarısızlık durumunda <info>false</info> döner


id: db2_pclose
type: function
doc:
<comment>Description:</comment>
  Closes a persistent database connection
  
  This function closes a DB2 client connection created with  <strong>db2_pconnect()</strong> and returns the
  corresponding resources  to the database server.    This function is only available on i5/OS in
  response to i5/OS system  administration requests.
  
  This function is only available on i5/OS in response to i5/OS system  administration requests.
  
  If you have a persistent DB2 client connection created with  <strong>db2_pconnect()</strong>, you may use this
  function to close the  connection. To avoid substantial connection performance penalties, this
  function should only be used in rare cases when the persistent connection  has become unresponsive
  or the persistent connection will not be needed for  a long period of time.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  Specifies an active DB2 client connection.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_close()</strong>
   * <strong>db2_pconnect()</strong>


id: db2_pconnect
type: function
doc:
<comment>Description:</comment>
  Returns a persistent connection to a database
    
  
  Returns a persistent connection to an IBM DB2 Universal Database, IBM Cloudscape, or Apache Derby
  database.
  
  For more information on persistent connections, refer to .
  
  Calling <strong>db2_close()</strong> on a persistent connection always returns <info>true</info>, but the underlying DB2 client
  connection remains open and waiting to serve the next matching <strong>db2_pconnect()</strong> request.
  
  Users running version 1.9.0 or later of ibm_db2 should be aware that the extension will perform a
  transaction rollback on persistent connections at the end of a request, thus ending the
  transaction.  This prevents the transaction block from carrying over to the next request which
  uses that connection if script execution ends before the transaction block does.

<comment>Param:</comment>
  <info>string</info>       <strong>$database</strong>           The database alias in the DB2 client catalog.
  <info>string|null</info>  <strong>$username</strong>           The username with which you are connecting to the database.
  <info>string|null</info>  <strong>$password</strong>           The password with which you are connecting to the database.
  <info>array</info>        <strong>$options</strong>            An associative array of connection options that affect the
                                   behavior of the connection, where valid array keys include:
                                   <strong>$autocommit</strong> Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit
                                   on for this connection handle.  Passing the <return>DB2_AUTOCOMMIT_OFF</return>
                                   value turns autocommit off for this connection handle.
                                   <strong>$DB2_ATTR_CASE</strong> Passing the <return>DB2_CASE_NATURAL</return> value specifies that
                                   column names are returned in natural case.  Passing the
                                   <return>DB2_CASE_LOWER</return> value specifies that column names are returned in
                                   lower case.  Passing the <return>DB2_CASE_UPPER</return> value specifies that
                                   column names are returned in upper case. <strong>$CURSOR</strong> Passing the
                                   <return>DB2_FORWARD_ONLY</return> value specifies a forward-only cursor for a
                                   statement resource. This is the default cursor type and is
                                   supported on all database servers.  Passing the <return>DB2_SCROLLABLE</return>
                                   value specifies a scrollable cursor for a statement resource.
                                   This mode enables random access to rows in a result set, but
                                   currently is supported only by IBM DB2 Universal Database.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit on for this
                                   connection handle.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_OFF</return> value turns autocommit off for
                                   this connection handle.
                                   
                                   Passing the <return>DB2_CASE_NATURAL</return> value specifies that column names
                                   are returned in natural case.
                                   
                                   Passing the <return>DB2_CASE_LOWER</return> value specifies that column names are
                                   returned in lower case.
                                   
                                   Passing the <return>DB2_CASE_UPPER</return> value specifies that column names are
                                   returned in upper case.
                                   
                                   Passing the <return>DB2_FORWARD_ONLY</return> value specifies a forward-only
                                   cursor for a statement resource. This is the default cursor type
                                   and is supported on all database servers.
                                   
                                   Passing the <return>DB2_SCROLLABLE</return> value specifies a scrollable cursor
                                   for a statement resource. This mode enables random access to rows
                                   in a result set, but currently is supported only by IBM DB2
                                   Universal Database.
                                   
                                   The following new option is available in ibm_db2 version 1.7.0
                                   and later. <strong>$trustedcontext</strong> Passing the DB2_TRUSTED_CONTEXT_ENABLE
                                   value turns trusted context on for this connection handle. This
                                   parameter cannot be set using <strong>db2_set_option()</strong>.  This key works
                                   only if the database is cataloged (even if the database is
                                   local), or if you specify the full DSN when you create the
                                   connection.  To catalog the database, use following commands: db2
                                   catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
                                   
                                   Passing the DB2_TRUSTED_CONTEXT_ENABLE value turns trusted
                                   context on for this connection handle. This parameter cannot be
                                   set using <strong>db2_set_option()</strong>.
                                   
                                   This key works only if the database is cataloged (even if the
                                   database is local), or if you specify the full DSN when you
                                   create the connection.
                                   
                                   To catalog the database, use following commands:
                                   
                                   db2 catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
                                   
                                   The following new i5/OS options are available in ibm_db2 version
                                   1.5.1 and later. Conflicting connection attributes used in
                                   conjunction with persistent connections can produce indeterminate
                                   results on i5/OS. Site policies should be establish for all
                                   applications using each persistent connection user profile. The
                                   default DB2_AUTOCOMMIT_ON is suggested when using persistent
                                   connections.  <strong>$i5_lib</strong> A character value that indicates the
                                   default library that will be used for resolving unqualified file
                                   references. This is not valid if the connection is using system
                                   naming mode. <strong>$i5_naming</strong><return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB
                                   CLI iSeries system naming mode. Files are qualified using the
                                   slash (/) delimiter. Unqualified files are resolved using the
                                   library list for the job. <return>DB2_I5_NAMING_OFF</return> value turns off DB2
                                   UDB CLI default naming mode, which is SQL naming. Files are
                                   qualified using the period (.) delimiter. Unqualified files are
                                   resolved using either the default library or the current user ID.
                                   <strong>$i5_commit</strong> The <strong>$i5_commit</strong> attribute should be set before the
                                   <strong>db2_pconnect()</strong>. If the value is changed after the connection has
                                   been established, and the connection is to a remote data source,
                                   the change does not take effect until the next successful
                                   <strong>db2_pconnect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible. <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty
                                   reads are not possible. Nonrepeatable reads, and phantoms are
                                   possible. <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and
                                   nonrepeatable reads are not possible. Phantoms are possible.
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
                                   <strong>$i5_query_optimize</strong><return>DB2_FIRST_IO</return> All queries are optimized with the
                                   goal of returning the first page of output as fast as possible.
                                   This goal works well when the output is controlled by a user who
                                   is most likely to cancel the query after viewing the first page
                                   of output data. Queries coded with an OPTIMIZE FOR nnn ROWS
                                   clause honor the goal specified by the clause. <return>DB2_ALL_IO</return> All
                                   queries are optimized with the goal of running the entire query
                                   to completion in the shortest amount of elapsed time. This is a
                                   good option when the output of a query is being written to a file
                                   or report, or the interface is queuing the output data. Queries
                                   coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause. This is the default.
                                   <strong>$i5_dbcs_alloc</strong><return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X
                                   allocation scheme for DBCS translation column size growth.
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.  The php.ini setting
                                   <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or <return>DB2_I5_DBCS_ALLOC_OFF</return> is the
                                   default, but may be overridden with the <strong>$i5_dbcs_alloc</strong> option.
                                   <strong>$i5_date_fmt</strong><return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default. <return>DB2_I5_FMT_USA</return> - The United States date format
                                   mm/dd/yyyy is used. <return>DB2_I5_FMT_EUR</return> - The European date format
                                   dd.mm.yyyy is used. <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial
                                   Standard date format yyyy-mm-dd is used. <return>DB2_I5_FMT_MDY</return> - The
                                   date format mm/dd/yyyy is used. <return>DB2_I5_FMT_DMY</return> - The date format
                                   dd/mm/yyyy is used. <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is
                                   used. <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
                                   <strong>$i5_date_sep</strong><return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date
                                   separator. This is the default. <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is
                                   used as the date separator. <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is
                                   used as the date separator. <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is
                                   used as the date separator. <return>DB2_I5_SEP_BLANK</return> - A blank is used as
                                   the date separator. <return>DB2_I5_SEP_JOB</return> - The job default is used
                                   <strong>$i5_time_fmt</strong><return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default. <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx
                                   is used, where xx is AM or PM. <return>DB2_I5_FMT_EUR</return> - The European time
                                   format hh.mm.ss is used. <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial
                                   Standard time format hh:mm:ss is used. <return>DB2_I5_FMT_HMS</return> - The
                                   hh:mm:ss format is used. <strong>$i5_time_sep</strong><return>DB2_I5_SEP_COLON</return> - A colon (
                                   : ) is used as the time separator. This is the default.
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   <strong>$i5_decimal_sep</strong><return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the
                                   decimal separator. This is the default. <return>DB2_I5_SEP_COMMA</return> - A
                                   comma ( , ) is used as the decimal separator. <return>DB2_I5_SEP_JOB</return> -
                                   The job default is used.
                                   
                                   Conflicting connection attributes used in conjunction with
                                   persistent connections can produce indeterminate results on
                                   i5/OS. Site policies should be establish for all applications
                                   using each persistent connection user profile. The default
                                   DB2_AUTOCOMMIT_ON is suggested when using persistent connections.
                                   
                                   A character value that indicates the default library that will be
                                   used for resolving unqualified file references. This is not valid
                                   if the connection is using system naming mode.
                                   
                                   <return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB CLI iSeries system naming
                                   mode. Files are qualified using the slash (/) delimiter.
                                   Unqualified files are resolved using the library list for the
                                   job.
                                   
                                   <return>DB2_I5_NAMING_OFF</return> value turns off DB2 UDB CLI default naming
                                   mode, which is SQL naming. Files are qualified using the period
                                   (.) delimiter. Unqualified files are resolved using either the
                                   default library or the current user ID.
                                   
                                   The <strong>$i5_commit</strong> attribute should be set before the <strong>db2_pconnect()</strong>.
                                   If the value is changed after the connection has been
                                   established, and the connection is to a remote data source, the
                                   change does not take effect until the next successful
                                   <strong>db2_pconnect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_allow_commit</strong>==0 or
                                   <return>DB2_I5_TXN_NO_COMMIT</return> is the default, but may be overridden with
                                   the <strong>$i5_commit</strong> option.
                                   
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty reads are not possible.
                                   Nonrepeatable reads, and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and nonrepeatable reads
                                   are not possible. Phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
                                   
                                   <return>DB2_FIRST_IO</return> All queries are optimized with the goal of returning
                                   the first page of output as fast as possible. This goal works
                                   well when the output is controlled by a user who is most likely
                                   to cancel the query after viewing the first page of output data.
                                   Queries coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause.
                                   
                                   <return>DB2_ALL_IO</return> All queries are optimized with the goal of running the
                                   entire query to completion in the shortest amount of elapsed
                                   time. This is a good option when the output of a query is being
                                   written to a file or report, or the interface is queuing the
                                   output data. Queries coded with an OPTIMIZE FOR nnn ROWS clause
                                   honor the goal specified by the clause. This is the default.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X allocation scheme for
                                   DBCS translation column size growth.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.  The php.ini setting
                                   <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or <return>DB2_I5_DBCS_ALLOC_OFF</return> is the
                                   default, but may be overridden with the <strong>$i5_dbcs_alloc</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> is the default, but may be overridden with
                                   the <strong>$i5_dbcs_alloc</strong> option.
                                   
                                   <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States date format mm/dd/yyyy is
                                   used.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European date format dd.mm.yyyy is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard date format
                                   yyyy-mm-dd is used.
                                   
                                   <return>DB2_I5_FMT_MDY</return> - The date format mm/dd/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_DMY</return> - The date format dd/mm/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is used.
                                   
                                   <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
                                   
                                   <return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used
                                   
                                   <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx is used,
                                   where xx is AM or PM.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European time format hh.mm.ss is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard time format
                                   hh:mm:ss is used.
                                   
                                   <return>DB2_I5_FMT_HMS</return> - The hh:mm:ss format is used.
                                   
                                   <return>DB2_I5_SEP_COLON</return> - A colon ( : ) is used as the time separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the decimal
                                   separator. This is the default.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the decimal
                                   separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
                                   
                                   The following new i5/OS option is available in ibm_db2 version
                                   1.8.0 and later. <strong>$i5_libl</strong> A character value that indicates the
                                   library list that will be used for resolving unqualified file
                                   references. Specify the library list elements separated by blanks
                                   'i5_libl'=&gt;"MYLIB YOURLIB ANYLIB".  i5_libl calls
                                   qsys2/qcmdexc('cmd',cmdlen), which is only available in i5/OS
                                   V5R4 and later.
                                   
                                   A character value that indicates the library list that will be
                                   used for resolving unqualified file references. Specify the
                                   library list elements separated by blanks 'i5_libl'=&gt;"MYLIB
                                   YOURLIB ANYLIB".  i5_libl calls qsys2/qcmdexc('cmd',cmdlen),
                                   which is only available in i5/OS V5R4 and later.
                                   
                                   i5_libl calls qsys2/qcmdexc('cmd',cmdlen), which is only
                                   available in i5/OS V5R4 and later.
  <info></info>             <strong>$autocommit</strong>         Passing the <return>DB2_AUTOCOMMIT_ON</return> value turns autocommit on for this
                                   connection handle.
                                   
                                   Passing the <return>DB2_AUTOCOMMIT_OFF</return> value turns autocommit off for
                                   this connection handle.
  <info></info>             <strong>$DB2_ATTR_CASE</strong>      Passing the <return>DB2_CASE_NATURAL</return> value specifies that column names
                                   are returned in natural case.
                                   
                                   Passing the <return>DB2_CASE_LOWER</return> value specifies that column names are
                                   returned in lower case.
                                   
                                   Passing the <return>DB2_CASE_UPPER</return> value specifies that column names are
                                   returned in upper case.
  <info></info>             <strong>$CURSOR</strong>             Passing the <return>DB2_FORWARD_ONLY</return> value specifies a forward-only
                                   cursor for a statement resource. This is the default cursor type
                                   and is supported on all database servers.
                                   
                                   Passing the <return>DB2_SCROLLABLE</return> value specifies a scrollable cursor
                                   for a statement resource. This mode enables random access to rows
                                   in a result set, but currently is supported only by IBM DB2
                                   Universal Database.
  <info></info>             <strong>$trustedcontext</strong>     Passing the DB2_TRUSTED_CONTEXT_ENABLE value turns trusted
                                   context on for this connection handle. This parameter cannot be
                                   set using <strong>db2_set_option()</strong>.
                                   
                                   This key works only if the database is cataloged (even if the
                                   database is local), or if you specify the full DSN when you
                                   create the connection.
                                   
                                   To catalog the database, use following commands:
                                   
                                   db2 catalog tcpip node loopback remote \<SERVERNAME&gt; server \<SERVICENAME&gt;
                                   db2 catalog database \<LOCALDBNAME&gt; as \<REMOTEDBNAME&gt; at node loopback
                                   db2 "update dbm cfg using svcename \<SERVICENAME&gt;"
                                   db2set DB2COMM=TCPIP
  <info></info>             <strong>$i5_lib</strong>             A character value that indicates the default library that will be
                                   used for resolving unqualified file references. This is not valid
                                   if the connection is using system naming mode.
  <info></info>             <strong>$i5_naming</strong>          <return>DB2_I5_NAMING_ON</return> value turns on DB2 UDB CLI iSeries system naming
                                   mode. Files are qualified using the slash (/) delimiter.
                                   Unqualified files are resolved using the library list for the
                                   job.
                                   
                                   <return>DB2_I5_NAMING_OFF</return> value turns off DB2 UDB CLI default naming
                                   mode, which is SQL naming. Files are qualified using the period
                                   (.) delimiter. Unqualified files are resolved using either the
                                   default library or the current user ID.
  <info></info>             <strong>$i5_commit</strong>          The <strong>$i5_commit</strong> attribute should be set before the <strong>db2_pconnect()</strong>.
                                   If the value is changed after the connection has been
                                   established, and the connection is to a remote data source, the
                                   change does not take effect until the next successful
                                   <strong>db2_pconnect()</strong> for the connection handle.  The php.ini setting
                                   <strong>$ibm_db2.i5_allow_commit</strong>==0 or <return>DB2_I5_TXN_NO_COMMIT</return> is the
                                   default, but may be overridden with the <strong>$i5_commit</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_allow_commit</strong>==0 or
                                   <return>DB2_I5_TXN_NO_COMMIT</return> is the default, but may be overridden with
                                   the <strong>$i5_commit</strong> option.
                                   
                                   <return>DB2_I5_TXN_NO_COMMIT</return> - Commitment control is not used.
                                   
                                   <return>DB2_I5_TXN_READ_UNCOMMITTED</return> - Dirty reads, nonrepeatable reads,
                                   and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_READ_COMMITTED</return> - Dirty reads are not possible.
                                   Nonrepeatable reads, and phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_REPEATABLE_READ</return> - Dirty reads and nonrepeatable reads
                                   are not possible. Phantoms are possible.
                                   
                                   <return>DB2_I5_TXN_SERIALIZABLE</return> - Transactions are serializable. Dirty
                                   reads, non-repeatable reads, and phantoms are not possible
  <info></info>             <strong>$i5_query_optimize</strong>  <return>DB2_FIRST_IO</return> All queries are optimized with the goal of returning
                                   the first page of output as fast as possible. This goal works
                                   well when the output is controlled by a user who is most likely
                                   to cancel the query after viewing the first page of output data.
                                   Queries coded with an OPTIMIZE FOR nnn ROWS clause honor the goal
                                   specified by the clause.
                                   
                                   <return>DB2_ALL_IO</return> All queries are optimized with the goal of running the
                                   entire query to completion in the shortest amount of elapsed
                                   time. This is a good option when the output of a query is being
                                   written to a file or report, or the interface is queuing the
                                   output data. Queries coded with an OPTIMIZE FOR nnn ROWS clause
                                   honor the goal specified by the clause. This is the default.
  <info></info>             <strong>$i5_dbcs_alloc</strong>      <return>DB2_I5_DBCS_ALLOC_ON</return> value turns on DB2 6X allocation scheme for
                                   DBCS translation column size growth.
                                   
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> value turns off DB2 6X allocation scheme
                                   for DBCS translation column size growth.  The php.ini setting
                                   <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or <return>DB2_I5_DBCS_ALLOC_OFF</return> is the
                                   default, but may be overridden with the <strong>$i5_dbcs_alloc</strong> option.
                                   
                                   The php.ini setting <strong>$ibm_db2.i5_dbcs_alloc</strong>==0 or
                                   <return>DB2_I5_DBCS_ALLOC_OFF</return> is the default, but may be overridden with
                                   the <strong>$i5_dbcs_alloc</strong> option.
  <info></info>             <strong>$i5_date_fmt</strong>        <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) date format yyyy-mm-dd is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States date format mm/dd/yyyy is
                                   used.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European date format dd.mm.yyyy is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard date format
                                   yyyy-mm-dd is used.
                                   
                                   <return>DB2_I5_FMT_MDY</return> - The date format mm/dd/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_DMY</return> - The date format dd/mm/yyyy is used.
                                   
                                   <return>DB2_I5_FMT_YMD</return> - The date format yy/mm/dd is used.
                                   
                                   <return>DB2_I5_FMT_JUL</return> - The Julian date format yy/ddd is used.
                                   
                                   <return>DB2_I5_FMT_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_date_sep</strong>        <return>DB2_I5_SEP_SLASH</return> - A slash ( / ) is used as the date separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_DASH</return> - A dash ( - ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the date separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used
  <info></info>             <strong>$i5_time_fmt</strong>        <return>DB2_I5_FMT_ISO</return> - The International Organization for
                                   Standardization (ISO) time format hh.mm.ss is used. This is the
                                   default.
                                   
                                   <return>DB2_I5_FMT_USA</return> - The United States time format hh:mmxx is used,
                                   where xx is AM or PM.
                                   
                                   <return>DB2_I5_FMT_EUR</return> - The European time format hh.mm.ss is used.
                                   
                                   <return>DB2_I5_FMT_JIS</return> - The Japanese Industrial Standard time format
                                   hh:mm:ss is used.
                                   
                                   <return>DB2_I5_FMT_HMS</return> - The hh:mm:ss format is used.
  <info></info>             <strong>$i5_time_sep</strong>        <return>DB2_I5_SEP_COLON</return> - A colon ( : ) is used as the time separator.
                                   This is the default.
                                   
                                   <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_BLANK</return> - A blank is used as the time separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_decimal_sep</strong>     <return>DB2_I5_SEP_PERIOD</return> - A period ( . ) is used as the decimal
                                   separator. This is the default.
                                   
                                   <return>DB2_I5_SEP_COMMA</return> - A comma ( , ) is used as the decimal
                                   separator.
                                   
                                   <return>DB2_I5_SEP_JOB</return> - The job default is used.
  <info></info>             <strong>$i5_libl</strong>            A character value that indicates the library list that will be
                                   used for resolving unqualified file references. Specify the
                                   library list elements separated by blanks 'i5_libl'=&gt;"MYLIB
                                   YOURLIB ANYLIB".  i5_libl calls qsys2/qcmdexc('cmd',cmdlen),
                                   which is only available in i5/OS V5R4 and later.
                                   
                                   i5_libl calls qsys2/qcmdexc('cmd',cmdlen), which is only
                                   available in i5/OS V5R4 and later.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a connection handle resource if the connection attempt is successful.
                  <strong>db2_pconnect()</strong> tries to reuse an existing connection resource that exactly matches
                  the <strong>$database</strong>, <strong>$username</strong>, and <strong>$password</strong> parameters. If the connection attempt
                  fails, <strong>db2_pconnect()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>


id: db2_prepare
type: function
doc:
<comment>Description:</comment>
  Prepares an SQL statement to be executed
    
  
  <strong>db2_prepare()</strong> creates a prepared SQL statement which can include 0 or more parameter markers (<return>?</return>
  characters) representing parameters for input, output, or input/output. You can pass parameters to
  the prepared statement using <strong>db2_bind_param()</strong>, or for input values only, as an array passed to
  <strong>db2_execute()</strong>.
  
  There are three main advantages to using prepared statements in your application: Performance:
  when you prepare a statement, the database server creates an optimized access plan for retrieving
  data with that statement. Subsequently issuing the prepared statement with <strong>db2_execute()</strong> enables
  the statements to reuse that access plan and avoids the overhead of dynamically creating a new
  access plan for every statement you issue. Security: when you prepare a statement, you can include
  parameter markers for input values. When you execute a prepared statement with input values for
  placeholders, the database server checks each input value to ensure that the type matches the
  column definition or parameter definition. Advanced functionality: Parameter markers not only
  enable you to pass input values to prepared SQL statements, they also enable you to retrieve OUT
  and INOUT parameters from stored procedures using <strong>db2_bind_param()</strong>.
  
  Performance: when you prepare a statement, the database server creates an optimized access plan
  for retrieving data with that statement. Subsequently issuing the prepared statement with
  <strong>db2_execute()</strong> enables the statements to reuse that access plan and avoids the overhead of
  dynamically creating a new access plan for every statement you issue.
  
  Security: when you prepare a statement, you can include parameter markers for input values. When
  you execute a prepared statement with input values for placeholders, the database server checks
  each input value to ensure that the type matches the column definition or parameter definition.
  
  Advanced functionality: Parameter markers not only enable you to pass input values to prepared SQL
  statements, they also enable you to retrieve OUT and INOUT parameters from stored procedures using
  <strong>db2_bind_param()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>string</info>    <strong>$statement</strong>   An SQL statement, optionally containing one or more parameter markers..
  <info>array</info>     <strong>$options</strong>     An associative array containing statement options. You can use this
                         parameter to request a scrollable cursor on database servers that support
                         this functionality.
                         
                         For a description of valid statement options, see  <strong>db2_set_option()</strong>.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a statement resource if the SQL statement was successfully parsed and
                  prepared by the database server. Returns <info>false</info> if the database server returned an
                  error. You can determine which error was returned by calling <strong>db2_stmt_error()</strong> or
                  <strong>db2_stmt_errormsg()</strong>.

<comment>See Also:</comment>
   * <strong>db2_bind_param()</strong>
   * <strong>db2_execute()</strong>
   * <strong>db2_stmt_error()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_primary_keys
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing primary keys for a table
    
  
  Returns a result set listing the primary keys for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>      The schema which contains the tables. If <strong>$schema</strong> is <info>null</info>,
                            <strong>db2_primary_keys()</strong> matches the schema for the current connection.
  <info>string</info>       <strong>$table_name</strong>  The name of the table.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the primary
            keys for the specified table. The result set is composed of the following columns:
            Column nameDescriptionTABLE_CAT Name of the catalog for the table containing the primary
            key. The value is NULL if this table does not have catalogs. TABLE_SCHEM Name of the
            schema for the table containing the primary key. TABLE_NAMEName of the table containing
            the primary key.COLUMN_NAMEName of the column containing the primary
            key.KEY_SEQ1-indexed position of the column in the key.PK_NAMEThe name of the primary
            key.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_procedure_columns
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing stored procedure parameters
    
  
  Returns a result set listing the parameters for one or more stored procedures.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string</info>       <strong>$schema</strong>      The schema which contains the procedures. This parameter accepts a
                            search pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string</info>       <strong>$procedure</strong>   The name of the procedure. This parameter accepts a search pattern
                            containing <return>_</return> and <return>%</return> as wildcards.
  <info>string|null</info>  <strong>$parameter</strong>   The name of the parameter. This parameter accepts a search pattern
                            containing <return>_</return> and <return>%</return> as wildcards. If this parameter is <info>null</info>, all
                            parameters for the specified stored procedures are returned.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the parameters
            for the stored procedures matching the specified parameters. The rows are composed of
            the following columns: Column nameDescriptionPROCEDURE_CATThe catalog that contains the
            procedure. The value is <info>null</info> if this table does not have catalogs.PROCEDURE_SCHEMName of
            the schema that contains the stored procedure.PROCEDURE_NAMEName of the
            procedure.COLUMN_NAMEName of the parameter.COLUMN_TYPE An integer value representing the
            type of the parameter: Return valueParameter type1 (SQL_PARAM_INPUT)Input (IN)
            parameter.2 (SQL_PARAM_INPUT_OUTPUT)Input/output (INOUT) parameter.3
            (SQL_PARAM_OUTPUT)Output (OUT) parameter. DATA_TYPEThe SQL data type for the parameter
            represented as an integer value.TYPE_NAMEA string representing the data type for the
            parameter.COLUMN_SIZEAn integer value representing the size of the
            parameter.BUFFER_LENGTH Maximum number of bytes necessary to store data for this
            parameter. DECIMAL_DIGITS The scale of the parameter, or <info>null</info> where scale is not
            applicable. NUM_PREC_RADIX An integer value of either <return>10</return> (representing an exact numeric
            data type), <return>2</return> (representing an approximate numeric data type), or <info>null</info> (representing a
            data type for which radix is not applicable). NULLABLEAn integer value representing
            whether the parameter is nullable or not.REMARKSDescription of the
            parameter.COLUMN_DEFDefault value for the parameter.SQL_DATA_TYPEAn integer value
            representing the size of the parameter.SQL_DATETIME_SUB Returns an integer value
            representing a datetime subtype code, or <info>null</info> for SQL data types to which this does not
            apply. CHAR_OCTET_LENGTH Maximum length in octets for a character data type parameter,
            which matches COLUMN_SIZE for single-byte character set data, or <info>null</info> for non-character
            data types. ORDINAL_POSITIONThe 1-indexed position of the parameter in the CALL
            statement.IS_NULLABLE A string value where 'YES' means that the parameter accepts or
            returns <info>null</info> values and 'NO' means that the parameter does not accept or return <info>null</info>
            values.
            
            An integer value representing the type of the parameter: Return valueParameter type1
            (SQL_PARAM_INPUT)Input (IN) parameter.2 (SQL_PARAM_INPUT_OUTPUT)Input/output (INOUT)
            parameter.3 (SQL_PARAM_OUTPUT)Output (OUT) parameter.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_procedures
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the stored procedures registered in a database
    
  
  Returns a result set listing the stored procedures registered in a database.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string</info>       <strong>$schema</strong>      The schema which contains the procedures. This parameter accepts a
                            search pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string</info>       <strong>$procedure</strong>   The name of the procedure. This parameter accepts a search pattern
                            containing <return>_</return> and <return>%</return> as wildcards.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the stored
            procedures matching the specified parameters. The rows are composed of the following
            columns: Column nameDescriptionPROCEDURE_CATThe catalog that contains the procedure. The
            value is <info>null</info> if this table does not have catalogs.PROCEDURE_SCHEMName of the schema
            that contains the stored procedure.PROCEDURE_NAMEName of the
            procedure.NUM_INPUT_PARAMSNumber of input (IN) parameters for the stored
            procedure.NUM_OUTPUT_PARAMSNumber of output (OUT) parameters for the stored
            procedure.NUM_RESULT_SETSNumber of result sets returned by the stored
            procedure.REMARKSAny comments about the stored procedure.PROCEDURE_TYPEAlways returns <return>1</return>,
            indicating that the stored procedure does not return a return value.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_result
type: function
doc:
<comment>Description:</comment>
  Returns a single column from a row in the result set
    
  
  Use <strong>db2_result()</strong> to return the value of a specified column in the current row of a result set. You
  must call <strong>db2_fetch_row()</strong> before calling <strong>db2_result()</strong> to set the location of the result set
  pointer.

<comment>Param:</comment>
  <info>resource</info>    <strong>$stmt</strong>    A valid <return>stmt</return> resource.
  <info>int|string</info>  <strong>$column</strong>  Either an integer mapping to the 0-indexed field in the result set, or a
                       string matching the name of the column.

<comment>Return:</comment>
  <info>mixed|null</info>  Returns the value of the requested field if the field exists in the result set.
              Returns <info>null</info> if the field does not exist, and issues a warning.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_fetch_row()</strong>


id: db2_rollback
type: function
doc:
<comment>Description:</comment>
  Rolls back a transaction
    
  
  Rolls back an in-progress transaction on the specified connection resource and begins a new
  transaction. PHP applications normally default to AUTOCOMMIT mode, so <strong>db2_rollback()</strong> normally has
  no effect unless AUTOCOMMIT has been turned off for the connection resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_autocommit()</strong>
   * <strong>db2_commit()</strong>


id: db2_server_info
type: function
doc:
<comment>Description:</comment>
  Returns an object with properties that describe the DB2 database server
  
  This function returns an object with read-only properties that return information about the IBM
  DB2, Cloudscape, or Apache Derby database server. The following table lists the database server
  properties: Database server propertiesProperty nameReturn typeDescriptionDBMS_NAMEstringThe name
  of the database server to which you are connected. For DB2 servers this is a combination of <return>DB2</return>
  followed by the operating system on which the database server is running.DBMS_VERstringThe version
  of the database server, in the form of a string "MM.mm.uuuu" where MM is the major version,  mm is
  the minor version, and uuuu is the update. For example, "08.02.0001" represents major version 8,
  minor version 2, update 1. DB_CODEPAGEintThe code page of the database to which you are
  connected.DB_NAMEstringThe name of the database to which you are connected.DFT_ISOLATIONstringThe
  default transaction isolation level supported by the server: UR Uncommitted read: changes are
  immediately visible by all concurrent transactions. CS Cursor stability: a row read by one
  transaction can be altered and committed by a second concurrent transaction. RS Read stability: a
  transaction can add or remove rows matching a search condition or a pending transaction. RR
  Repeatable read: data affected by pending transaction is not available to other transactions. NC
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.  IDENTIFIER_QUOTE_CHARstringThe character used to delimit an
  identifier.INST_NAMEstringThe instance on the database server that contains the
  database.ISOLATION_OPTIONarrayAn array of the isolation options supported by the database server.
  The isolation options are described in the DFT_ISOLATION property.KEYWORDSarrayAn array of the
  keywords reserved by the database server.LIKE_ESCAPE_CLAUSEbool<info>true</info> if the database server
  supports the use of <return>%</return> and <return>_</return> wildcard characters. <info>false</info> if the database server does not support
  these wildcard characters.MAX_COL_NAME_LENintMaximum length of a column name supported by the
  database server, expressed in bytes.MAX_IDENTIFIER_LENintMaximum length of an SQL identifier
  supported by the database server, expressed in characters.MAX_INDEX_SIZEintMaximum size of columns
  combined in an index supported by the database server, expressed in
  bytes.MAX_PROC_NAME_LENintMaximum length of a procedure name supported by the database server,
  expressed in bytes.MAX_ROW_SIZEintMaximum length of a row in a base table supported by the
  database server, expressed in bytes.MAX_SCHEMA_NAME_LENintMaximum length of a schema name
  supported by the database server, expressed in bytes.MAX_STATEMENT_LENintMaximum length of an SQL
  statement supported by the database server, expressed in bytes.MAX_TABLE_NAME_LENintMaximum length
  of a table name supported by the database server, expressed in bytes.NON_NULLABLE_COLUMNSbool<info>true</info>
  if the database server supports columns that can be defined as NOT NULL, <info>false</info> if the database
  server does not support columns defined as NOT NULL.PROCEDURESbool<info>true</info> if the database server
  supports the use of the CALL statement to call stored procedures, <info>false</info> if the database server
  does not support the CALL statement.SPECIAL_CHARSstringA string containing all of the characters
  other than a-Z, 0-9, and underscore that can be used in an identifier
  name.SQL_CONFORMANCEstringThe level of conformance to the ANSI/ISO SQL-92 specification offered by
  the database server: ENTRY Entry-level SQL-92 compliance. FIPS127 FIPS-127-2 transitional
  compliance. FULL Full level SQL-92 compliance. INTERMEDIATE Intermediate level SQL-92 compliance.
  
  The default transaction isolation level supported by the server: UR Uncommitted read: changes are
  immediately visible by all concurrent transactions. CS Cursor stability: a row read by one
  transaction can be altered and committed by a second concurrent transaction. RS Read stability: a
  transaction can add or remove rows matching a search condition or a pending transaction. RR
  Repeatable read: data affected by pending transaction is not available to other transactions. NC
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.
  
  Uncommitted read: changes are immediately visible by all concurrent transactions.
  
  Cursor stability: a row read by one transaction can be altered and committed by a second
  concurrent transaction.
  
  Read stability: a transaction can add or remove rows matching a search condition or a pending
  transaction.
  
  Repeatable read: data affected by pending transaction is not available to other transactions.
  
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.
  
  The level of conformance to the ANSI/ISO SQL-92 specification offered by the database server:
  ENTRY Entry-level SQL-92 compliance. FIPS127 FIPS-127-2 transitional compliance. FULL Full level
  SQL-92 compliance. INTERMEDIATE Intermediate level SQL-92 compliance.
  
  Entry-level SQL-92 compliance.
  
  FIPS-127-2 transitional compliance.
  
  Full level SQL-92 compliance.
  
  Intermediate level SQL-92 compliance.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  Specifies an active DB2 client connection.

<comment>Return:</comment>
  <info>stdClass|false</info>  Returns an object on a successful call, başarısızlık durumunda <info>false</info> döner

<comment>See Also:</comment>
   * <strong>db2_client_info()</strong>


id: db2_set_option
type: function
doc:
<comment>Description:</comment>
  Set options for connection or statement resources
  
  Sets options for a statement resource or a connection resource. You cannot set options for result
  set resources.

<comment>Param:</comment>
  <info>resource</info>  <strong>$resource</strong>          A valid statement resource as returned from <strong>db2_prepare()</strong> or a valid
                               connection resource as returned from <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>array</info>     <strong>$options</strong>           An associative array containing valid statement or connection
                               options. This parameter can be used to change autocommit values,
                               cursor types (scrollable or forward), and to specify the case of the
                               column names (lower, upper, or natural) that will appear in a result
                               set. <strong>$autocommit</strong> Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for
                               the specified connection resource.  Passing <return>DB2_AUTOCOMMIT_OFF</return> turns
                               autocommit off for the specified connection resource. <strong>$cursor</strong> Passing
                               <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a statement
                               resource. This is the default cursor type, and is supported by all
                               database servers.  Passing <return>DB2_SCROLLABLE</return> specifies a scrollable
                               cursor for a statement resource. Scrollable cursors enable result set
                               rows to be accessed in non-sequential order, but are only supported
                               by IBM DB2 Universal Database databases. <strong>$binmode</strong> Passing <return>DB2_BINARY</return>
                               specifies that binary data will be returned as is. This is the
                               default mode. This is the equivalent of setting <return>ibm_db2.binmode=1</return> in
                               php.ini.  Passing <return>DB2_CONVERT</return> specifies that binary data will be
                               converted to hexadecimal encoding, and will be returned as such. This
                               is the equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.  Passing
                               <return>DB2_PASSTHRU</return> specifies that binary data will be converted to <info>null</info>.
                               This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
                               <strong>$db2_attr_case</strong> Passing <return>DB2_CASE_LOWER</return> specifies that column names of
                               the result set are returned in lower case.  Passing <return>DB2_CASE_UPPER</return>
                               specifies that column names of the result set are returned in upper
                               case.  Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the
                               result set are returned in natural case. <strong>$deferred_prepare</strong> Passing
                               <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the specified
                               statement resource.  Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred
                               prepare off for the specified statement resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for the specified
                               connection resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_OFF</return> turns autocommit off for the specified
                               connection resource.
                               
                               Passing <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a
                               statement resource. This is the default cursor type, and is supported
                               by all database servers.
                               
                               Passing <return>DB2_SCROLLABLE</return> specifies a scrollable cursor for a statement
                               resource. Scrollable cursors enable result set rows to be accessed in
                               non-sequential order, but are only supported by IBM DB2 Universal
                               Database databases.
                               
                               Passing <return>DB2_BINARY</return> specifies that binary data will be returned as is.
                               This is the default mode. This is the equivalent of setting
                               <return>ibm_db2.binmode=1</return> in php.ini.
                               
                               Passing <return>DB2_CONVERT</return> specifies that binary data will be converted to
                               hexadecimal encoding, and will be returned as such. This is the
                               equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.
                               
                               Passing <return>DB2_PASSTHRU</return> specifies that binary data will be converted to
                               <info>null</info>. This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
                               
                               Passing <return>DB2_CASE_LOWER</return> specifies that column names of the result set
                               are returned in lower case.
                               
                               Passing <return>DB2_CASE_UPPER</return> specifies that column names of the result set
                               are returned in upper case.
                               
                               Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the result
                               set are returned in natural case.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the
                               specified statement resource.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred  prepare off for the
                               specified statement resource.
                               
                               The following new i5/OS options are available in ibm_db2 version
                               1.5.1  and later. These options apply only when running PHP and
                               ibm_db2 natively on i5 systems. <strong>$i5_fetch_only</strong><return>DB2_I5_FETCH_ON</return> -
                               Cursors are read-only  and cannot be used for positioned updates or
                               deletes. This  is the default unless <return>SQL_ATTR_FOR_FETCH_ONLY</return>
                               environment has been set to <return>SQL_FALSE</return>. <return>DB2_I5_FETCH_OFF</return> - Cursors can
                               be used  for positioned updates and deletes.
                               
                               <return>DB2_I5_FETCH_ON</return> - Cursors are read-only  and cannot be used for
                               positioned updates or deletes. This  is the default unless
                               <return>SQL_ATTR_FOR_FETCH_ONLY</return>  environment has been set to <return>SQL_FALSE</return>.
                               
                               <return>DB2_I5_FETCH_OFF</return> - Cursors can be used  for positioned updates and
                               deletes.
                               
                               The following new option is available in ibm_db2 version 1.8.0 and
                               later. <strong>$rowcount</strong><return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the
                               full row count prior to fetching, which means that  <strong>db2_num_rows()</strong>
                               returns the number of rows selected  even when a <return>ROLLFORWARD_ONLY</return>
                               cursor is used. <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the
                               full row count prior to fetching.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the full row count
                               prior to fetching, which means that  <strong>db2_num_rows()</strong> returns the
                               number of rows selected  even when a <return>ROLLFORWARD_ONLY</return> cursor is used.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the full row count
                               prior to fetching.
                               
                               The following new options are available in ibm_db2 version 1.7.0 and
                               later. <strong>$trusted_user</strong> To switch the user to a trusted user, pass the
                               User ID (String)  of the trusted user as the value of this key. This
                               option can  be set on a connection resource only. To use this option,
                               trusted context must be enabled on the connection resource.
                               <strong>$trusted_password</strong> The password (String) that corresponds to the user
                               specified by the trusted_user key.
                               
                               To switch the user to a trusted user, pass the User ID (String)  of
                               the trusted user as the value of this key. This option can  be set on
                               a connection resource only. To use this option, trusted context must
                               be enabled on the connection resource.
                               
                               The password (String) that corresponds to the user specified by the
                               trusted_user key.
                               
                               The following new options are available in ibm_db2 version 1.6.0 and
                               later.  These options provide useful tracking information that can be
                               accessed during  execution with <strong>db2_get_option()</strong>.  When the value in
                               each option is being set, some servers might not handle  the entire
                               length provided and might truncate the value.  To ensure that the
                               data specified in each option is converted correctly  when
                               transmitted to a host system, use only the characters A through Z,  0
                               through 9, and the underscore (_) or period (.).
                               <strong>$userid</strong><return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated
                               character string used to identify the client user ID sent to the host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 16 characters.  This user-id is not
                               to be confused with the authentication user-id, it is for
                               identification purposes only and is not used for any authorization.
                               <strong>$acctstr</strong><return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated
                               character string used to identify the client accounting string sent
                               to the  host database server when using DB2 Connect.  DB2 for z/OS
                               and OS/390 servers support up to a length of 200 characters.
                               <strong>$applname</strong><return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated
                               character string used to identify the client application name sent to
                               the  host database server when using DB2 Connect.  DB2 for z/OS and
                               OS/390 servers support up to a length of 32 characters.
                               <strong>$wrkstnname</strong><return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated
                               character string used to identify the client workstation name sent to
                               the  host database server when using DB2 Connect.  DB2 for z/OS and
                               OS/390 servers support up to a length of 18 characters.
                               
                               When the value in each option is being set, some servers might not
                               handle  the entire length provided and might truncate the value.
                               
                               To ensure that the data specified in each option is converted
                               correctly  when transmitted to a host system, use only the characters
                               A through Z,  0 through 9, and the underscore (_) or period (.).
                               
                               <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character
                               string used to identify the client user ID sent to the host  database
                               server when using DB2 Connect.  DB2 for z/OS and OS/390 servers
                               support up to a length of 16 characters.  This user-id is not to be
                               confused with the authentication user-id, it is for  identification
                               purposes only and is not used for any authorization.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 16
                               characters.  This user-id is not to be confused with the
                               authentication user-id, it is for  identification purposes only and
                               is not used for any authorization.
                               
                               <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character
                               string used to identify the client accounting string sent to the
                               host database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 200 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 200
                               characters.
                               
                               <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client application name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 32 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 32
                               characters.
                               
                               <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client workstation name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 18 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 18
                               characters.
  <info></info>          <strong>$autocommit</strong>        Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for the specified
                               connection resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_OFF</return> turns autocommit off for the specified
                               connection resource.
  <info></info>          <strong>$cursor</strong>            Passing <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a
                               statement resource. This is the default cursor type, and is supported
                               by all database servers.
                               
                               Passing <return>DB2_SCROLLABLE</return> specifies a scrollable cursor for a statement
                               resource. Scrollable cursors enable result set rows to be accessed in
                               non-sequential order, but are only supported by IBM DB2 Universal
                               Database databases.
  <info></info>          <strong>$binmode</strong>           Passing <return>DB2_BINARY</return> specifies that binary data will be returned as is.
                               This is the default mode. This is the equivalent of setting
                               <return>ibm_db2.binmode=1</return> in php.ini.
                               
                               Passing <return>DB2_CONVERT</return> specifies that binary data will be converted to
                               hexadecimal encoding, and will be returned as such. This is the
                               equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.
                               
                               Passing <return>DB2_PASSTHRU</return> specifies that binary data will be converted to
                               <info>null</info>. This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
  <info></info>          <strong>$db2_attr_case</strong>     Passing <return>DB2_CASE_LOWER</return> specifies that column names of the result set
                               are returned in lower case.
                               
                               Passing <return>DB2_CASE_UPPER</return> specifies that column names of the result set
                               are returned in upper case.
                               
                               Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the result
                               set are returned in natural case.
  <info></info>          <strong>$deferred_prepare</strong>  Passing <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the
                               specified statement resource.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred  prepare off for the
                               specified statement resource.
  <info></info>          <strong>$i5_fetch_only</strong>     <return>DB2_I5_FETCH_ON</return> - Cursors are read-only  and cannot be used for
                               positioned updates or deletes. This  is the default unless
                               <return>SQL_ATTR_FOR_FETCH_ONLY</return>  environment has been set to <return>SQL_FALSE</return>.
                               
                               <return>DB2_I5_FETCH_OFF</return> - Cursors can be used  for positioned updates and
                               deletes.
  <info></info>          <strong>$rowcount</strong>          <return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the full row count
                               prior to fetching, which means that  <strong>db2_num_rows()</strong> returns the
                               number of rows selected  even when a <return>ROLLFORWARD_ONLY</return> cursor is used.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the full row count
                               prior to fetching.
  <info></info>          <strong>$trusted_user</strong>      To switch the user to a trusted user, pass the User ID (String)  of
                               the trusted user as the value of this key. This option can  be set on
                               a connection resource only. To use this option, trusted context must
                               be enabled on the connection resource.
  <info></info>          <strong>$trusted_password</strong>  The password (String) that corresponds to the user specified by the
                               trusted_user key.
  <info></info>          <strong>$userid</strong>            <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character
                               string used to identify the client user ID sent to the host  database
                               server when using DB2 Connect.  DB2 for z/OS and OS/390 servers
                               support up to a length of 16 characters.  This user-id is not to be
                               confused with the authentication user-id, it is for  identification
                               purposes only and is not used for any authorization.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 16
                               characters.  This user-id is not to be confused with the
                               authentication user-id, it is for  identification purposes only and
                               is not used for any authorization.
  <info></info>          <strong>$acctstr</strong>           <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character
                               string used to identify the client accounting string sent to the
                               host database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 200 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 200
                               characters.
  <info></info>          <strong>$applname</strong>          <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client application name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 32 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 32
                               characters.
  <info></info>          <strong>$wrkstnname</strong>        <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client workstation name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 18 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 18
                               characters.
  <info>int</info>       <strong>$type</strong>              An integer value that specifies the type of resource that was passed
                               into the function. The type of resource and this value must
                               correspond.
                               
                               Passing <return>1</return> as the value specifies that a connection resource has been
                               passed into the function.
                               
                               Passing any integer not equal to <return>1</return> as the value specifies that a
                               statement resource has been passed into the function.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>
   * <strong>db2_pconnect()</strong>
   * <strong>db2_exec()</strong>
   * <strong>db2_prepare()</strong>
   * <strong>db2_cursor_type()</strong>


id: db2_special_columns
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the unique row identifier columns for a table
    
  
  Returns a result set listing the unique row identifier columns for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string</info>       <strong>$schema</strong>      The schema which contains the tables.
  <info>string</info>       <strong>$table_name</strong>  The name of the table.
  <info>int</info>          <strong>$scope</strong>       Integer value representing the minimum duration for which the unique row
                            identifier is valid. This can be one of the following values: Integer
                            valueSQL constantDescription0SQL_SCOPE_CURROWRow identifier is valid
                            only while the cursor is positioned on the row.1SQL_SCOPE_TRANSACTIONRow
                            identifier is valid for the duration of the
                            transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the duration
                            of the connection.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows with unique row
            identifier information for a table. The rows are composed of the following columns:
            Column nameDescriptionSCOPEInteger valueSQL constantDescription0SQL_SCOPE_CURROWRow
            identifier is valid only while the cursor is positioned on the
            row.1SQL_SCOPE_TRANSACTIONRow identifier is valid for the duration of the
            transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the duration of the
            connection.COLUMN_NAMEName of the unique column.DATA_TYPESQL data type for the
            column.TYPE_NAMECharacter string representation of the SQL data type for the
            column.COLUMN_SIZEAn integer value representing the size of the column.BUFFER_LENGTH
            Maximum number of bytes necessary to store data from this column. DECIMAL_DIGITS The
            scale of the column, or <info>null</info> where scale is not applicable. NUM_PREC_RADIX An integer
            value of either <return>10</return> (representing an exact numeric data type), <return>2</return> (representing an
            approximate numeric data type), or <info>null</info> (representing a data type for which radix is not
            applicable). PSEUDO_COLUMNAlways returns 1.
            
            Integer valueSQL constantDescription0SQL_SCOPE_CURROWRow identifier is valid only while
            the cursor is positioned on the row.1SQL_SCOPE_TRANSACTIONRow identifier is valid for
            the duration of the transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the
            duration of the connection.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_statistics
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the index and statistics for a table
    
  
  Returns a result set listing the index and statistics for a table.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>      The schema that contains the targeted table. If this parameter is <info>null</info>,
                            the statistics and indexes are returned for the schema of the current
                            user.
  <info>string</info>       <strong>$table_name</strong>  The name of the table.
  <info>bool</info>         <strong>$unique</strong>      When <strong>$unique</strong> is <info>true</info>, the information for all indexes in the table are
                            returned. Otherwise, only the information for unique indexes in the
                            table are returned.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the statistics
            and indexes for the base tables matching the specified parameters. The rows are composed
            of the following columns: Column nameDescriptionTABLE_CATThe catalog that contains the
            table. The value is <info>null</info> if this table does not have catalogs.TABLE_SCHEMName of the
            schema that contains the table.TABLE_NAMEName of the table.NON_UNIQUE An integer value
            representing whether the index prohibits unique values, or whether the row represents
            statistics on the table itself: Return valueParameter type0 (SQL_FALSE)The index allows
            duplicate values.1 (SQL_TRUE)The index values must be unique.<info>null</info>This row is statistics
            information for the table itself. INDEX_QUALIFIERA string value representing the
            qualifier that would have to be prepended to INDEX_NAME to fully qualify the
            index.INDEX_NAMEA string representing the name of the index.TYPE An integer value
            representing the type of information contained in this row of the result set: Return
            valueParameter type0 (SQL_TABLE_STAT)The row contains statistics about the table
            itself.1 (SQL_INDEX_CLUSTERED)The row contains information about a clustered index.2
            (SQL_INDEX_HASH)The row contains information about a hashed index.3 (SQL_INDEX_OTHER)The
            row contains information about a type of index that is neither clustered nor hashed.
            ORDINAL_POSITIONThe 1-indexed position of the column in the index. <info>null</info> if the row
            contains statistics information about the table itself.COLUMN_NAMEThe name of the column
            in the index. <info>null</info> if the row contains statistics information about the table
            itself.ASC_OR_DESC<return>A</return> if the column is sorted in ascending order, <return>D</return> if the column is
            sorted in descending order, <info>null</info> if the row contains statistics information about the
            table itself. CARDINALITY If the row contains information about an index, this column
            contains an integer value representing the number of unique values in the index.  If the
            row contains information about the table itself, this column contains an integer value
            representing the number of rows in the table. PAGES If the row contains information
            about an index, this column contains an integer value representing the number of pages
            used to store the index.  If the row contains information about the table itself, this
            column contains an integer value representing the number of pages used to store the
            table. FILTER_CONDITIONAlways returns <info>null</info>.
            
            An integer value representing whether the index prohibits unique values, or whether the
            row represents statistics on the table itself: Return valueParameter type0
            (SQL_FALSE)The index allows duplicate values.1 (SQL_TRUE)The index values must be
            unique.<info>null</info>This row is statistics information for the table itself.
            
            An integer value representing the type of information contained in this row of the
            result set: Return valueParameter type0 (SQL_TABLE_STAT)The row contains statistics
            about the table itself.1 (SQL_INDEX_CLUSTERED)The row contains information about a
            clustered index.2 (SQL_INDEX_HASH)The row contains information about a hashed index.3
            (SQL_INDEX_OTHER)The row contains information about a type of index that is neither
            clustered nor hashed.
            
            If the row contains information about an index, this column contains an integer value
            representing the number of unique values in the index.
            
            If the row contains information about the table itself, this column contains an integer
            value representing the number of rows in the table.
            
            If the row contains information about an index, this column contains an integer value
            representing the number of pages used to store the index.
            
            If the row contains information about the table itself, this column contains an integer
            value representing the number of pages used to store the table.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_stmt_error
type: function
doc:
<comment>Description:</comment>
  Returns a string containing the SQLSTATE returned by an SQL statement
    
  
  Returns a string containing the SQLSTATE value returned by an SQL statement.
  
  If you do not pass a statement resource as an argument to <strong>db2_stmt_error()</strong>, the driver returns the
  SQLSTATE value associated with the last attempt to return a statement resource, for example, from
  <strong>db2_prepare()</strong> or <strong>db2_exec()</strong>.
  
  To learn what the SQLSTATE value means, you can issue the following command at a DB2 Command Line
  Processor prompt: db2 '? <strong>$sqlstate-value</strong>'. You can also call <strong>db2_stmt_errormsg()</strong> to retrieve an
  explicit error message and the associated SQLCODE value.

<comment>Param:</comment>
  <info>resource|null</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing an SQLSTATE value.

<comment>See Also:</comment>
   * <strong>db2_conn_error()</strong>
   * <strong>db2_conn_errormsg()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_stmt_errormsg
type: function
doc:
<comment>Description:</comment>
  Returns a string containing the last SQL statement error message
    
  
  Returns a string containing the last SQL statement error message.
  
  If you do not pass a statement resource as an argument to <strong>db2_stmt_errormsg()</strong>, the driver returns
  the error message associated with the last attempt to return a statement resource, for example,
  from <strong>db2_prepare()</strong> or <strong>db2_exec()</strong>.

<comment>Param:</comment>
  <info>resource|null</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the error message and SQLCODE value for the last error that
          occurred issuing an SQL statement.

<comment>See Also:</comment>
   * <strong>db2_conn_error()</strong>
   * <strong>db2_conn_errormsg()</strong>
   * <strong>db2_stmt_error()</strong>


id: db2_table_privileges
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the tables and associated privileges in a database
    
  
  Returns a result set listing the tables and associated privileges in a database.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>      The schema which contains the tables. This parameter accepts a search
                            pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string|null</info>  <strong>$table_name</strong>  The name of the table. This parameter accepts a search pattern
                            containing <return>_</return> and <return>%</return> as wildcards.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the privileges
            for the tables that match the specified parameters. The rows are composed of the
            following columns: Column nameDescriptionTABLE_CATThe catalog that contains the table.
            The value is <info>null</info> if this table does not have catalogs.TABLE_SCHEMName of the schema
            that contains the table.TABLE_NAMEName of the table.GRANTORAuthorization ID of the user
            who granted the privilege.GRANTEEAuthorization ID of the user to whom the privilege was
            granted.PRIVILEGE The privilege that has been granted. This can be one of ALTER,
            CONTROL, DELETE, INDEX, INSERT, REFERENCES, SELECT, or UPDATE. IS_GRANTABLE A string
            value of "YES" or "NO" indicating whether the grantee can grant the privilege to other
            users.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_tables()</strong>


id: db2_tables
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the tables and associated metadata in a database
    
  
  Returns a result set listing the tables and associated metadata in a database.

<comment>Param:</comment>
  <info>resource</info>     <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string|null</info>  <strong>$qualifier</strong>   A qualifier for DB2 databases running on OS/390 or z/OS servers. For
                            other databases, pass <info>null</info> or an empty string.
  <info>string|null</info>  <strong>$schema</strong>      The schema which contains the tables. This parameter accepts a search
                            pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string|null</info>  <strong>$table_name</strong>  The name of the table.  This parameter accepts a search pattern
                            containing <return>_</return> and <return>%</return> as wildcards.
  <info>string|null</info>  <strong>$table_type</strong>  A list of comma-delimited table type identifiers. To match all table
                            types, pass <info>null</info> or an empty string. Valid table type identifiers
                            include: ALIAS, HIERARCHY TABLE, INOPERATIVE VIEW, NICKNAME,
                            MATERIALIZED QUERY TABLE, SYSTEM TABLE, TABLE, TYPED TABLE, TYPED VIEW,
                            and VIEW.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the tables
            that match the specified parameters. The rows are composed of the following columns:
            Column nameDescriptionTABLE_CATThe catalog that contains the table. The value is <info>null</info> if
            this table does not have catalogs.TABLE_SCHEMName of the schema that contains the
            table.TABLE_NAMEName of the table.TABLE_TYPETable type identifier for the
            table.REMARKSDescription of the table.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>


id: dba_close
type: function
doc:
<comment>Description:</comment>
  Close a DBA database
  
  <strong>dba_close()</strong> closes the established database and frees all resources of the specified database
  handle.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>dba_open()</strong>
   * <strong>dba_popen()</strong>


id: dba_delete
type: function
doc:
<comment>Description:</comment>
  Delete DBA entry specified by key
  
  <strong>dba_delete()</strong> deletes the specified entry from the database.

<comment>Param:</comment>
  <info>string|array</info>  <strong>$key</strong>  The key of the entry which is deleted.
  <info>resource</info>      <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>


id: dba_exists
type: function
doc:
<comment>Description:</comment>
  Check whether key exists
  
  <strong>dba_exists()</strong> checks whether the specified <strong>$key</strong> exists in the database.

<comment>Param:</comment>
  <info>string|array</info>  <strong>$key</strong>  The key the check is performed for.
  <info>resource</info>      <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the key exists, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>


id: dba_fetch
type: function
doc:
<comment>Description:</comment>
  Fetch data specified by key
  
  Overloaded signature deprecated as of 8.3.0:
  
  <strong>dba_fetch()</strong> fetches the data specified by <strong>$key</strong> from the database specified with <strong>$dba</strong>.

<comment>Param:</comment>
  <info>string|array</info>  <strong>$key</strong>   The key the data is specified by.
                       
                       When working with inifiles this function accepts arrays as keys where index 0
                       is the group and index 1 is the value name. See: <strong>dba_key_split()</strong>.
  <info>resource</info>      <strong>$dba</strong>   The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.
  <info>int</info>           <strong>$skip</strong>  The number of key-value pairs to ignore when using cdb databases. This value
                       is ignored for all other databases which do not support multiple keys with
                       the same name.

<comment>Return:</comment>
  <info>string|false</info>  Returns the associated string if the key/data pair is found, <info>false</info>  otherwise.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>
   * <strong>dba_key_split()</strong>


id: dba_firstkey
type: function
doc:
<comment>Description:</comment>
  Fetch first key
  
  <strong>dba_firstkey()</strong> returns the first key of the database and resets the internal key pointer. This
  permits a linear search through the whole database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>string|false</info>  Returns the key on success başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_nextkey()</strong>
   * <strong>dba_key_split()</strong>
   * Example 2 in the DBA examples


id: dba_handlers
type: function
doc:
<comment>Description:</comment>
  List all the handlers available
  
  <strong>dba_handlers()</strong> list all the handlers supported by this extension.

<comment>Param:</comment>
  <info>bool</info>  <strong>$full_info</strong>  Turns on/off full information display in the result.

<comment>Return:</comment>
  <info>array</info>  Returns an array of database handlers. If <strong>$full_info</strong> is set to <info>true</info>, the array will be
         associative with the handlers names as keys, and their version information as value.
         Otherwise, the result will be an indexed array of handlers names.
         
         When the internal cdb library is used you will see  <return>cdb</return> and <return>cdb_make</return>.


id: dba_insert
type: function
doc:
<comment>Description:</comment>
  Insert entry
  
  <strong>dba_insert()</strong> inserts the entry described with <strong>$key</strong> and <strong>$value</strong> into the database.

<comment>Param:</comment>
  <info>string|array</info>  <strong>$key</strong>    The key of the entry to be inserted. If this key already exist in the
                        database, this function will fail. Use <strong>dba_replace()</strong> if you need to replace
                        an existent key.
  <info>string</info>        <strong>$value</strong>  The value to be inserted.
  <info>resource</info>      <strong>$dba</strong>    The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_replace()</strong>


id: dba_key_split
type: function
doc:
<comment>Description:</comment>
  Splits a key in string representation into array representation
    
  
  <strong>dba_key_split()</strong> splits a key (string representation) into an array representation.

<comment>Param:</comment>
  <info>string|false|null</info>  <strong>$key</strong>  The key in string representation.

<comment>Return:</comment>
  <info>array|false</info>  Returns an array of the form <return>array(0 =&gt; group, 1 =&gt;  value_name)</return>. This function
               will return <info>false</info> if  <strong>$key</strong> is <info>null</info> or <info>false</info>.

<comment>See Also:</comment>
   * <strong>dba_firstkey()</strong>
   * <strong>dba_nextkey()</strong>
   * <strong>dba_fetch()</strong>


id: dba_list
type: function
doc:
<comment>Description:</comment>
  List all open database files
  
  <strong>dba_list()</strong> list all open database files.

<comment>Return:</comment>
  <info>array</info>  An associative array, in the form <return>resourceid =&gt; filename</return>.


id: dba_nextkey
type: function
doc:
<comment>Description:</comment>
  Fetch next key
  
  <strong>dba_nextkey()</strong> returns the next key of the database and advances the internal key pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>string|false</info>  Returns the key on success başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_firstkey()</strong>
   * <strong>dba_key_split()</strong>
   * Example 2 in the DBA examples


id: dba_open
type: function
doc:
<comment>Description:</comment>
  Open database
  
  <strong>dba_open()</strong> establishes a database instance for <strong>$path</strong> with <strong>$mode</strong> using <strong>$handler</strong>.

<comment>Param:</comment>
  <info>string</info>       <strong>$path</strong>        Commonly a regular path in your filesystem.
  <info>string</info>       <strong>$mode</strong>        It is <return>r</return> for read access, <return>w</return> for read/write access to an already existing
                            database, <return>c</return> for read/write access and database creation if it doesn't
                            currently exist, and <return>n</return> for create, truncate and read/write access. The
                            database is created in BTree mode, other modes (like Hash or Queue) are
                            not supported.
                            
                            Additionally you can set the database lock method with the next char.
                            Use <return>l</return> to lock the database with a .lck file or <return>d</return> to lock the
                            databasefile itself. It is  important that all of your applications do
                            this consistently.
                            
                            If you want to test the access and do not want to wait for the lock  you
                            can add <return>t</return> as third character. When you are  absolutely sure that you do
                            not require database locking you can do  so by using <return>-</return> instead of <return>l</return> or
                            <return>d</return>. When none of <return>d</return>,  <return>l</return> or <return>-</return> is used, dba will lock on the database file
                            as it would with <return>d</return>.
                            
                            There can only be one writer for one database file. When you use dba on
                            a web server and more than one request requires write operations they
                            can only be done one after another. Also read during write is not
                            allowed. The dba extension uses locks to prevent this. See the following
                            table: DBA lockingalready open<strong>$mode</strong> = "rl"<strong>$mode</strong> = "rlt"<strong>$mode</strong> = "wl"<strong>$mode</strong>
                            = "wlt"<strong>$mode</strong> = "rd"<strong>$mode</strong> = "rdt"<strong>$mode</strong> = "wd"<strong>$mode</strong> = "wdt"not
                            openokokokokokokokok<strong>$mode</strong> =
                            "rl"okokwaitfalseillegalillegalillegalillegal<strong>$mode</strong> =
                            "wl"waitfalsewaitfalseillegalillegalillegalillegal<strong>$mode</strong> =
                            "rd"illegalillegalillegalillegalokokwaitfalse<strong>$mode</strong> =
                            "wd"illegalillegalillegalillegalwaitfalsewaitfalse ok: the second call
                            will be successful.wait: the second call waits until <strong>dba_close()</strong> is
                            called for the first.false: the second call returns false.illegal: you
                            must not mix <return>"l"</return> and <return>"d"</return> modifiers for <strong>$mode</strong> parameter.
  <info>string|null</info>  <strong>$handler</strong>     The name of the handler which shall be used for accessing <strong>$path</strong>. It is
                            passed all optional parameters given to <strong>dba_open()</strong> and can act on behalf
                            of them. If <strong>$handler</strong> is <info>null</info>, then the default handler is invoked.
  <info>int</info>          <strong>$permission</strong>  Optional <info>int</info> parameter which is passed to the driver. It has the same
                            meaning as the <strong>$permissions</strong> parameter of <strong>chmod()</strong>, and defaults to <return>0644</return>.
                            
                            The <return>db1</return>, <return>db2</return>, <return>db3</return>, <return>db4</return>, <return>dbm</return>, <return>gdbm</return>, <return>ndbm</return>, and <return>lmdb</return> drivers support the
                            <strong>$permission</strong> parameter.
  <info>int</info>          <strong>$map_size</strong>    Optional <info>int</info> parameter which is passed to the driver. Its value should
                            be a multiple of the page size of the OS, or zero, to use the default
                            map size.
                            
                            Only the <return>lmdb</return> driver accepts the <strong>$map_size</strong> parameter.
  <info>int|null</info>     <strong>$flags</strong>       Flags to pass to the database drivers. If <info>null</info> the default flags will be
                            provided. Currently, only the LMDB driver supports the following flags
                            <info>DBA_LMDB_USE_SUB_DIR</info> and <info>DBA_LMDB_NO_SUB_DIR</info>.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a positive handle on success başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_popen()</strong>
   * <strong>dba_close()</strong>


id: dba_optimize
type: function
doc:
<comment>Description:</comment>
  Optimize database
  
  <strong>dba_optimize()</strong> optimizes the underlying database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_sync()</strong>


id: dba_popen
type: function
doc:
<comment>Description:</comment>
  Open database persistently
  
  <strong>dba_popen()</strong> establishes a persistent database instance for <strong>$path</strong> with <strong>$mode</strong> using <strong>$handler</strong>.

<comment>Param:</comment>
  <info>string</info>       <strong>$path</strong>        Commonly a regular path in your filesystem.
  <info>string</info>       <strong>$mode</strong>        It is <return>r</return> for read access, <return>w</return> for read/write access to an already existing
                            database, <return>c</return> for read/write access and database creation if it doesn't
                            currently exist, and <return>n</return> for create, truncate and read/write access.
  <info>string|null</info>  <strong>$handler</strong>     The name of the handler which shall be used for accessing <strong>$path</strong>. It is
                            passed  all optional parameters given to <strong>dba_popen()</strong> and  can act on
                            behalf of them. If <strong>$handler</strong> is <info>null</info>, then the default handler is
                            invoked.
  <info>int</info>          <strong>$permission</strong>  Optional <info>int</info> parameter which is passed to the driver. It has the same
                            meaning as the <strong>$permissions</strong> parameter of <strong>chmod()</strong>, and defaults to <return>0644</return>.
                            
                            The <return>db1</return>, <return>db2</return>, <return>db3</return>, <return>db4</return>, <return>dbm</return>, <return>gdbm</return>, <return>ndbm</return>, and <return>lmdb</return> drivers support the
                            <strong>$permission</strong> parameter.
  <info>int</info>          <strong>$map_size</strong>    Optional <info>int</info> parameter which is passed to the driver. Its value should
                            be a multiple of the page size of the OS, or zero, to use the default
                            mapsize.
                            
                            The <return>lmdb</return> driver accepts the <strong>$map_size</strong> parameter.
  <info>int|null</info>     <strong>$flags</strong>       Allows to pass flags to the DB drivers. Currently, only LMDB with
                            <info>DBA_LMDB_USE_SUB_DIR</info> and <info>DBA_LMDB_NO_SUB_DIR</info> are supported.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a positive handle on success başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_open()</strong>
   * <strong>dba_close()</strong>


id: dba_replace
type: function
doc:
<comment>Description:</comment>
  Replace or insert entry
  
  <strong>dba_replace()</strong> replaces or inserts the entry described with <strong>$key</strong> and <strong>$value</strong> into the database
  specified by <strong>$dba</strong>.

<comment>Param:</comment>
  <info>string|array</info>  <strong>$key</strong>    The key of the entry to be replaced.
  <info>string</info>        <strong>$value</strong>  The value to be replaced.
  <info>resource</info>      <strong>$dba</strong>    The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>


id: dba_sync
type: function
doc:
<comment>Description:</comment>
  Synchronize database
  
  <strong>dba_sync()</strong> synchronizes the database. This will probably  trigger a physical write to the disk, if
  supported.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dba_optimize()</strong>


id: dbase_add_record
type: function
doc:
<comment>Description:</comment>
  Adds a record to a database
  
  Adds the given data to the database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>array</info>     <strong>$data</strong>      An indexed array of data. The number of items must be equal to the number of
                       fields in the database, otherwise <strong>dbase_add_record()</strong> will fail.
                       
                       If you're using <strong>dbase_get_record()</strong> return value for this parameter, remember
                       to reset the key named <return>deleted</return>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_delete_record()</strong>
   * <strong>dbase_replace_record()</strong>


id: dbase_close
type: function
doc:
<comment>Description:</comment>
  Closes a database
  
  Closes the given database resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_open()</strong>
   * <strong>dbase_create()</strong>


id: dbase_create
type: function
doc:
<comment>Description:</comment>
  Creates a database
  
  <strong>dbase_create()</strong> creates a dBase database with the given definition. If the file already exists, it
  is not truncated. <strong>dbase_pack()</strong> can be called to force truncation.
  
  Bu işlev open_basedir'dan
  etkilenir.

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>    The path of the database. It can be a relative or absolute path to the file where
                   dBase will store your data.
  <info>array</info>   <strong>$fields</strong>  An array of arrays, each array describing the format of one field of the
                   database. Each field consists of a name, a character indicating the field type,
                   and optionally, a length, a precision and a nullable flag. The supported field
                   types are listed in the introduction section.
                   
                   The fieldnames are limited in length and must not exceed 10 chars.
  <info>int</info>     <strong>$type</strong>    The type of database to be created. Either <info>DBASE_TYPE_DBASE</info> or <info>DBASE_TYPE_FOXPRO</info>.

<comment>Return:</comment>
  <info>resource</info>  Returns a database resource if the database is successfully created, or <info>false</info> if an
            error occurred.

<comment>See Also:</comment>
   * <strong>dbase_open()</strong>
   * <strong>dbase_close()</strong>


id: dbase_delete_record
type: function
doc:
<comment>Description:</comment>
  Deletes a record from a database
  
  Marks the given record to be deleted from the database.
  
  To actually remove the record from the database, you must also call <strong>dbase_pack()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>int</info>       <strong>$number</strong>    An integer which spans from 1 to the number of records in the database (as
                       returned by <strong>dbase_numrecords()</strong>).

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_add_record()</strong>
   * <strong>dbase_replace_record()</strong>


id: dbase_get_header_info
type: function
doc:
<comment>Description:</comment>
  Gets the header info of a database
  
  Returns information on the column structure of the given database resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>array</info>  An indexed array with an entry for each column in the database. The array index starts at
         0.
         
         Each array element contains an associative array of column information, as described here:
         name The name of the column type The human-readable name for the dbase type of the column
         (i.e. date, boolean, etc.) The supported field types are listed in the introduction
         section. length The number of bytes this column can hold precision The number of digits of
         decimal precision for the column format A suggested <strong>printf()</strong> format specifier for the
         column offset The byte offset of the column from the start of the row
         
         The name of the column
         
         The human-readable name for the dbase type of the column (i.e. date, boolean, etc.) The
         supported field types are listed in the introduction section.
         
         The number of bytes this column can hold
         
         The number of digits of decimal precision for the column
         
         A suggested <strong>printf()</strong> format specifier for the column
         
         The byte offset of the column from the start of the row
         
         If the database header information cannot be read, <info>false</info> is returned.


id: dbase_get_record
type: function
doc:
<comment>Description:</comment>
  Gets a record from a database as an indexed array
    
  
  Gets a record from a database as an indexed array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>int</info>       <strong>$number</strong>    The index of the record between <return>1</return> and <return>dbase_numrecords($dbase_identifier)</return>.

<comment>Return:</comment>
  <info>array</info>  An indexed array with the record. This array will also include an associative key named
         <return>deleted</return> which is set to 1 if the record has been  marked for deletion (see
         <strong>dbase_delete_record()</strong>).
         
         Her alan uygun bir PHP türüne dönüştürülür, bunlar hariç::  Tarihler dize olarak kalır.
         DateTime tarihleri dizeye dönüştürülür. <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> aralığı dışında kalan
         tamsayılar dizeye dönüştürülür.  dbase 7.0.0 öncesinde, (<return>L</return>) mantıksalları <return>1</return> veya <return>0</return>P'a
         dönüştürülürdü.
         
         Tarihler dize olarak kalır.
         
         DateTime tarihleri dizeye dönüştürülür.
         
         <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> aralığı dışında kalan tamsayılar dizeye dönüştürülür.
         
         dbase 7.0.0 öncesinde, (<return>L</return>) mantıksalları <return>1</return> veya <return>0</return>P'a dönüştürülürdü.
         
         On error, <strong>dbase_get_record()</strong> will return <info>false</info>.

<comment>See Also:</comment>
   * <strong>dbase_get_record_with_names()</strong>


id: dbase_get_record_with_names
type: function
doc:
<comment>Description:</comment>
  Gets a record from a database as an associative array
    
  
  Gets a record from a dBase database as an associative array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>int</info>       <strong>$number</strong>    The index of the record between <return>1</return> and <return>dbase_numrecords($dbase_identifier)</return>.

<comment>Return:</comment>
  <info>array</info>  An associative array with the record. This will also include a key named <return>deleted</return> which is
         set to 1 if the record has been marked for deletion (see <strong>dbase_delete_record()</strong>). Therefore
         it is not possible to retrieve the value of a field named <return>deleted</return> with this function.
         
         Her alan uygun bir PHP türüne dönüştürülür, bunlar hariç::  Tarihler dize olarak kalır.
         DateTime tarihleri dizeye dönüştürülür. <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> aralığı dışında kalan
         tamsayılar dizeye dönüştürülür.  dbase 7.0.0 öncesinde, (<return>L</return>) mantıksalları <return>1</return> veya <return>0</return>P'a
         dönüştürülürdü.
         
         Tarihler dize olarak kalır.
         
         DateTime tarihleri dizeye dönüştürülür.
         
         <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> aralığı dışında kalan tamsayılar dizeye dönüştürülür.
         
         dbase 7.0.0 öncesinde, (<return>L</return>) mantıksalları <return>1</return> veya <return>0</return>P'a dönüştürülürdü.
         
         On error, <strong>dbase_get_record_with_names()</strong> will return <info>false</info>.

<comment>See Also:</comment>
   * <strong>dbase_get_record()</strong>


id: dbase_numfields
type: function
doc:
<comment>Description:</comment>
  Gets the number of fields of a database
  
  Gets the number of fields (columns) in the specified database.
  
  Field numbers are between 0 and <return>dbase_numfields($db)-1</return>, while record numbers are between 1 and
  <return>dbase_numrecords($db)</return>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>int</info>  The number of fields in the database, or <info>false</info> if an error occurs.

<comment>See Also:</comment>
   * <strong>dbase_numrecords()</strong>


id: dbase_numrecords
type: function
doc:
<comment>Description:</comment>
  Gets the number of records in a database
  
  Gets the number of records (rows) in the specified database.
  
  Records which are marked as deleted are counted as well.
  
  Record numbers are between 1 and <return>dbase_numrecords($db)</return>, while field numbers are between 0 and
  <return>dbase_numfields($db)-1</return>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>int</info>  The number of records in the database, or <info>false</info> if an error occurs.

<comment>See Also:</comment>
   * <strong>dbase_numfields()</strong>


id: dbase_open
type: function
doc:
<comment>Description:</comment>
  Opens a database
  
  <strong>dbase_open()</strong> opens a dBase database with the given access mode.
  
  Bu işlev open_basedir'dan
  etkilenir.

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>  The path of the database. It can be a relative or absolute path to the file where
                 dBase will store your data.
  <info>int</info>     <strong>$mode</strong>  An integer which correspond to those for the open()  system call (Typically 0 means
                 read-only, 1 means write-only, and 2  means read and write).
                 
                 You can't open a dBase file in write-only mode as the function will fail to read
                 the headers information and thus you can't use 1 as <strong>$mode</strong>.
                 
                 As of dbase 7.0.0 you can use <info>DBASE_RDONLY</info> and <info>DBASE_RDWR</info>, respectively, to specify
                 the <strong>$mode</strong>.

<comment>Return:</comment>
  <info>resource|false</info>  Returns a database resource on success,  başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_create()</strong>
   * <strong>dbase_close()</strong>


id: dbase_pack
type: function
doc:
<comment>Description:</comment>
  Packs a database
  
  Packs the specified database by permanently deleting all records marked for deletion using
  <strong>dbase_delete_record()</strong>. Note that the file will be truncated after successful packing (contrary to
  dBASE III's PACK command).

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_delete_record()</strong>


id: dbase_replace_record
type: function
doc:
<comment>Description:</comment>
  Replaces a record in a database
  
  Replaces the given record in the database with the given data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>array</info>     <strong>$data</strong>      An indexed array of data. The number of items must be equal to the number of
                       fields in the database, otherwise <strong>dbase_replace_record()</strong> will fail.
                       
                       If you're using <strong>dbase_get_record()</strong> return value for this parameter, remember
                       to reset the key named <return>deleted</return>.
  <info>int</info>       <strong>$number</strong>    An integer which spans from 1 to the number of records in the database (as
                       returned by <strong>dbase_numrecords()</strong>).

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>dbase_add_record()</strong>
   * <strong>dbase_delete_record()</strong>


id: dcgettext
type: function
doc:
<comment>Description:</comment>
  Belirtilen arama için geçerli uygulama adını değiştirir
    
  
  <strong>dcgettext()</strong> işlevi, belirtilen iletinin belli bir <strong>$uygulama_adı</strong> altında aranabilmesini sağlar.

<comment>Param:</comment>
  <info>string</info>  <strong>$uygulama_adı</strong>  Gettext iletileri için uygulama veya paket adı.
  <info>string</info>  <strong>$ileti</strong>         Özgün ileti.
  <info>int</info>     <strong>$yerel</strong>         Yerel kategorisi.

<comment>Return:</comment>
  <info>string</info>  Başarılı olursa bir dizge ile döner.

<comment>See Also:</comment>
   * <strong>gettext()</strong>


id: dcngettext
type: function
doc:
<comment>Description:</comment>
  dcgettext işlevinin çoğul biçemli sürümü
  
  <strong>dcngettext()</strong> işlevi, belirtilen çoğul iletilerin belli bir <strong>$uygulama_adı</strong> altında aranabilmesini
  sağlar.

<comment>Param:</comment>
  <info>string</info>  <strong>$uygulama_adı</strong>  Gettext iletileri için uygulama veya paket adı.
  <info>string</info>  <strong>$tekil</strong>         
  <info>string</info>  <strong>$çoğul</strong>       
  <info>int</info>     <strong>$sayı</strong>         
  <info>int</info>     <strong>$yerel</strong>         

<comment>Return:</comment>
  <info>string</info>  Başarılı olursa bir dizge ile döner.

<comment>See Also:</comment>
   * <strong>ngettext()</strong>


id: debug_backtrace
type: function
doc:
<comment>Description:</comment>
  Hata izleme raporunu bir dizi olarak üretir
  
  Hata izleme raporunu (backtrace) bir dizi olarak üretir.

<comment>Param:</comment>
  <info>int</info>  <strong>$seçenekler</strong>  Aşağıdaki seçeneklerin bit maskesidir: <strong>debug_backtrace()</strong>
                    seçenekleriDEBUG_BACKTRACE_PROVIDE_OBJECT<return>"object"</return> indisinin doldurulup
                    doldurulmayacağı. DEBUG_BACKTRACE_IGNORE_ARGS Bellek kazanmak için <return>"args"</return>
                    indisinin ve dolayısıyla tüm işlev/yöntem bağımsız değişkenlerinin atlanıp
                    atlanmayacağı.   Olası dört durum vardır: <strong>debug_backtrace()</strong>
                    seçenekleridebug_backtrace() Her iki indis doldurulur.
                    debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT)debug_backtrace(1)debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS
                    & DEBUG_BACKTRACE_PROVIDE_OBJECT)<return>"object"</return> indisi atlanır.
                    debug_backtrace(0)debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)<return>"object"</return>ve<return>"args"</return>
                    indisi atlanır. debug_backtrace(2)
                    
                    Olası dört durum vardır: <strong>debug_backtrace()</strong> seçenekleridebug_backtrace() Her iki
                    indis doldurulur.
                    debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT)debug_backtrace(1)debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS
                    & DEBUG_BACKTRACE_PROVIDE_OBJECT)<return>"object"</return> indisi atlanır.
                    debug_backtrace(0)debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)<return>"object"</return>ve<return>"args"</return>
                    indisi atlanır. debug_backtrace(2)
  <info>int</info>  <strong>$sınır</strong>     Bu bağımsız değişken döndürülecek yığıt çerçevelerinin sayısını sınırlamak için
                    kullanılmaktadır. Öntanımlı değer, tüm yığıt çerçevelerinin dönmesini sağlayan <return>0</return>
                    değeridir.

<comment>Return:</comment>
  <info>array</info>  Bir ilişkisel diziler dizisi döner. Dönmesi olası değerler:
         
         <strong>debug_backtrace()</strong> işlevinden dönmesi olası elemanlarİsimTürAçıklama<return>function</return><info>string</info> O anki
         işlev ismi. Ayrıca bakınız: __FUNCTION__. <return>line</return><info>int</info> O anki satır numarası. Ayrıca bakınız:
         __LINE__. <return>file</return><info>string</info> O anki dosya ismi. Ayrıca bakınız: __FILE__. <return>class</return><info>string</info> O anki sınıf
         ismi. Ayrıca bakınız: __CLASS__ <return>object</return><info>object</info> O anki nesne. <return>type</return><info>string</info> O anki çağrı türü.
         Bir yöntem çağrısı ise "-&gt;", bir statik yöntem çağrısı ise "::" içerir. Bir işlev
         çağrısı ise hiçbir şey içermez. <return>args</return><info>array</info> Bir işlevde, işlevin bağımsız değişkenlerini; bir
         dosyada, dahil edilen dosyalar varsa dahil edilen dosya isimlerini içerir.

<comment>See Also:</comment>
   * <strong>trigger_error()</strong>
   * <strong>debug_print_backtrace()</strong>


id: debug_print_backtrace
type: function
doc:
<comment>Description:</comment>
  Bir hata izleme raporu basar
  
  <strong>debug_print_backtrace()</strong> bir PHP  hata izleme raporu (backtrace) basar. İşlev çağrılarını,
  <strong>include()</strong>/<strong>require()</strong> ile dahil edilen dosyaları ve <strong>eval()</strong> kodlarını basar.

<comment>Param:</comment>
  <info>int</info>  <strong>$seçenekler</strong>  Aşağıdaki seçeneklerin bit maskesidir: <strong>debug_print_backtrace()</strong>
                    seçenekleriDEBUG_BACKTRACE_IGNORE_ARGS Bellek kazanmak için "args" indisinin ve
                    dolayısıyla tüm işlev/yöntem bağımsız değişkenlerinin atlanıp atlanmayacağı.
  <info>int</info>  <strong>$sınır</strong>     Bu bağımsız değişken döndürülecek yığıt çerçevelerinin sayısını sınırlamak için
                    kullanılmaktadır. Öntanımlı değer, tüm yığıt çerçevelerinin dönmesini sağlayan <return>0</return>
                    değeridir.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>debug_backtrace()</strong>


id: debug_zval_dump
type: function
doc:
<comment>Description:</comment>
  Dahili zval yapısının dizgesel gösterimini çıktıya dökümler
  
  Dahili bir zval yapısının (zend değerinin) dizgesel gösterimini çıktıya dökümler. Zend motorunun
  veya bir PHP eklentisinin gerçeklenim ayrıntılarının hatalarını ayıklamak veya anlamak için bu
  yöntem oldukça kullanışlıdır.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$değer</strong>  Dökümlenecek değişken veya değer.
  <info></info>       <strong>$values</strong>  Dökümlenecek değişkenler veya değerler.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>var_dump()</strong>
   * <strong>debug_backtrace()</strong>
   * Gönderimlerle İlgili
     Herşey
   * References Explained (Derick Rethans)


id: decbin
type: function
doc:
<comment>Description:</comment>
  Decimal to binary
  
  Returns a string containing a binary representation of the given <strong>$num</strong> argument.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  Decimal value to convert

<comment>Return:</comment>
  <info>string</info>  Binary string representation of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>bindec()</strong>
   * <strong>decoct()</strong>
   * <strong>dechex()</strong>
   * <strong>base_convert()</strong>
   * <strong>printf()</strong>, using <return>%b</return>,
     <return>%032b</return> or <return>%064b</return> as the format
    
   * <strong>sprintf()</strong>, using <return>%b</return>,
     <return>%032b</return> or <return>%064b</return> as the format
    


id: dechex
type: function
doc:
<comment>Description:</comment>
  Decimal to hexadecimal
  
  Returns a string containing a hexadecimal representation of the given unsigned <strong>$num</strong> argument.
  
  The largest number that can be converted is <info>PHP_INT_MAX</info><return> * 2 + 1</return> (or <return>-1</return>): on 32-bit platforms, this
  will be <return>4294967295</return> in decimal, which results in <strong>dechex()</strong> returning <return>ffffffff</return>.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  The decimal value to convert.
             
             As PHP's <info>int</info> type is signed, but <strong>dechex()</strong> deals with unsigned integers, negative
             integers will be treated as though they were unsigned.

<comment>Return:</comment>
  <info>string</info>  Hexadecimal string representation of <strong>$num</strong>.

<comment>See Also:</comment>
   * <strong>hexdec()</strong>
   * <strong>decbin()</strong>
   * <strong>decoct()</strong>
   * <strong>base_convert()</strong>


id: decoct
type: function
doc:
<comment>Description:</comment>
  Decimal to octal
  
  Returns a string containing an octal representation of the given <strong>$num</strong> argument. The largest number
  that can be converted depends on the platform in use. For 32-bit platforms this is usually
  <return>4294967295</return> in decimal resulting in <return>37777777777</return>. For 64-bit platforms this is usually
  <return>9223372036854775807</return> in decimal resulting in <return>777777777777777777777</return>.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  Decimal value to convert

<comment>Return:</comment>
  <info>string</info>  Octal string representation of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>octdec()</strong>
   * <strong>decbin()</strong>
   * <strong>dechex()</strong>
   * <strong>base_convert()</strong>


id: define
type: function
doc:
<comment>Description:</comment>
  Bir isimli sabit tanımlar
  
  Çalışma sırasında bir isimli sabit tanımlamaya yarar.

<comment>Param:</comment>
  <info>string</info>  <strong>$sabit_ismi</strong>                 Sabitin ismi.
                                      
                                      Ayrılmış ve hatta geçersiz adlarla sabit tanımlamak mümkündür.
                                      Bunların değeri (yalnızca) <strong>constant()</strong> ile alınabilir. Ancak
                                      bunu yapmanız önerilmez.
  <info>mixed</info>   <strong>$değer</strong>                     Sabitin değeri. <info>integer</info>, <info>float</info>, <info>string</info>,  <info>boolean</info>, <info>array</info> veya
                                      <info>null</info> türünde değerler kabul edilir.
                                      
                                      <info>resource</info> türünde sabitler tanımlamak mümkün ise de beklenmedik
                                      davranışlara yol açacağından bu önerilmez.
  <info>bool</info>    <strong>$harf_büyüklüğüne_duyarsız</strong>  <info>true</info> belirtilirse, tanımlanan sabitin ismi harf büyüklüğüne
                                      duyarsız olarak tanımlanır. Öntanımlı davranış harf
                                      büyüklüğüne duyarlıdır; yani <return>SABiT</return> ve <return>Sabit</return> farklı sabitler
                                      olarak ele alınır.
                                      
                                      PHP 7.3.0 ve sonrasında harf büyüklüğüne duyarsız sabitlerin
                                      kullanımı önerilmemektedir. PHP 8.0.0 ve sonrasında, sadece
                                      <info>false</info> değeri kabul edilmektedir. <info>true</info> değeri bir uyarı
                                      üretecektir.
                                      
                                      Harf büyüklüğüne duyarsız sabitler küçük harfli saklanır.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>defined()</strong>
   * <strong>constant()</strong>
   * Sabitler bölümü


id: defined
type: function
doc:
<comment>Description:</comment>
  Belirtilen isimli sabit tanımlı mı diye bakar
  
  Belirtilen isimli sabit tanımlıysa <info>true</info> döndürür.
  
  Bu işlev ayrıca, sınıf sabitleri ve sayılama kılıfları ile de çalışır.
  
  Bir değişkenin tanımlı olup olmadığını görmek için <strong>isset()</strong> kullanın. <strong>defined()</strong> sadece sabitlere
  bakar. Bir işlevin varlığına bakmak için <strong>function_exists()</strong> kullanın.

<comment>Param:</comment>
  <info>string</info>  <strong>$sabit_ismi</strong>  Sabitin ismi.

<comment>Return:</comment>
  <info>bool</info>  <strong>$sabit_ismi</strong> ile belirtilen sabit tanımlıysa <info>true</info> değilse <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>define()</strong>
   * <strong>constant()</strong>
   * <strong>get_defined_constants()</strong>
   * <strong>function_exists()</strong>
   * Sabitler bölümü


id: deflate_add
type: function
doc:
<comment>Description:</comment>
  Incrementally deflate data
  
  Incrementally deflates data in the specified context.

<comment>Param:</comment>
  <info>DeflateContext</info>  <strong>$context</strong>     A context created with <strong>deflate_init()</strong>.
  <info>string</info>          <strong>$data</strong>        A chunk of data to compress.
  <info>int</info>             <strong>$flush_mode</strong>  One of <info>ZLIB_BLOCK</info>, <info>ZLIB_NO_FLUSH</info>, <info>ZLIB_PARTIAL_FLUSH</info>, <info>ZLIB_SYNC_FLUSH</info>
                               (default), <info>ZLIB_FULL_FLUSH</info>, <info>ZLIB_FINISH</info>. Normally you will want to
                               set <info>ZLIB_NO_FLUSH</info> to maximize compression, and <info>ZLIB_FINISH</info> to
                               terminate with the last chunk of data. See the zlib manual for a
                               detailed description of these constants.

<comment>Return:</comment>
  <info>string|false</info>  Returns a chunk of compressed data,  başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>deflate_init()</strong>


id: deflate_init
type: function
doc:
<comment>Description:</comment>
  Initialize an incremental deflate context
  
  Initializes an incremental deflate context using the specified <strong>$encoding</strong>.
  
  Note that the <return>window</return> option here only sets the window size of the algorithm, differently from the
  zlib filters where the same parameter also sets the encoding to use; the encoding must be set with
  the <strong>$encoding</strong> parameter.
  
  Limitation: there is currently no way to set the header information on a GZIP compressed stream,
  which are set as follows: GZIP signature (<return>\x1f\x8B</return>); compression method (<return>\x08</return> == DEFLATE); 6 zero
  bytes; the operating system set to the current system (<return>\x00</return> = Windows, <return>\x03</return> = Unix, etc.)

<comment>Param:</comment>
  <info>int</info>    <strong>$encoding</strong>  One of the <info>ZLIB_ENCODING_*</info> constants.
  <info>array</info>  <strong>$options</strong>   An associative array which may contain the following elements: level The
                    compression level in range -1..9; defaults to -1. memory The compression memory
                    level in range 1..9; defaults to 8. window The zlib window size (logarithmic) in
                    range <return>8</return>..<return>15</return>; defaults to <return>15</return>. zlib changes a window size of <return>8</return> to <return>9</return>, and as of
                    zlib 1.2.8 fails with a warning, if a window size of <return>8</return> is requested for
                    <info>ZLIB_ENCODING_RAW</info> or <info>ZLIB_ENCODING_GZIP</info>. strategy One of <info>ZLIB_FILTERED</info>,
                    <info>ZLIB_HUFFMAN_ONLY</info>, <info>ZLIB_RLE</info>, <info>ZLIB_FIXED</info> or <info>ZLIB_DEFAULT_STRATEGY</info> (the default).
                    dictionary A <info>string</info> or an <info>array</info> of <info>strings</info> of the preset dictionary (default: no
                    preset dictionary).
                    
                    The compression level in range -1..9; defaults to -1.
                    
                    The compression memory level in range 1..9; defaults to 8.
                    
                    The zlib window size (logarithmic) in range <return>8</return>..<return>15</return>; defaults to <return>15</return>. zlib changes
                    a window size of <return>8</return> to <return>9</return>, and as of zlib 1.2.8 fails with a warning, if a window
                    size of <return>8</return> is requested for <info>ZLIB_ENCODING_RAW</info> or <info>ZLIB_ENCODING_GZIP</info>.
                    
                    One of <info>ZLIB_FILTERED</info>, <info>ZLIB_HUFFMAN_ONLY</info>, <info>ZLIB_RLE</info>, <info>ZLIB_FIXED</info> or
                    <info>ZLIB_DEFAULT_STRATEGY</info> (the default).
                    
                    A <info>string</info> or an <info>array</info> of <info>strings</info> of the preset dictionary (default: no preset
                    dictionary).

<comment>Return:</comment>
  <info>DeflateContext|false</info>  Returns a deflate context resource (<return>zlib.deflate</return>) on success,  başarısızlık
                        durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>deflate_add()</strong>
   * <strong>inflate_init()</strong>


id: deg2rad
type: function
doc:
<comment>Description:</comment>
  Converts the number in degrees to the radian equivalent
    
  
  This function converts <strong>$num</strong> from degrees to the radian equivalent.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  Angular value in degrees

<comment>Return:</comment>
  <info>float</info>  The radian equivalent of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>rad2deg()</strong>


id: delete
type: function
doc:
<comment>Description:</comment>
  unlink veya unset
    işlevine bakınız
  
  PHP dilinde "delete" ne bir anahtar sözcük ne de bir işlev ismidir. Bir dosyayı silmek
  istiyorsanız, <strong>unlink()</strong> işlevini deneyin. Yerel etki alanındaki bir değişkeni silmek için <strong>unset()</strong>
  işlevine bakın.

<comment>See Also:</comment>
   * <strong>unlink()</strong>
   * <strong>unset()</strong>


id: dgettext
type: function
doc:
<comment>Description:</comment>
  Geçerli uygulama adını değiştirir
  
  <strong>dgettext()</strong> işlevi, belirtilen iletinin belli bir <strong>$uygulama_adı</strong> altında aranabilmesini sağlar.

<comment>Param:</comment>
  <info>string</info>  <strong>$uygulama_adı</strong>  Gettext iletileri için uygulama veya paket adı.
  <info>string</info>  <strong>$ileti</strong>         Özgün ileti.

<comment>Return:</comment>
  <info>string</info>  Başarılı olursa bir dizge ile döner.

<comment>See Also:</comment>
   * <strong>gettext()</strong>


id: die
type: function
doc:
<comment>Description:</comment>
  exit işlevinin eşdeğeri
  
  Bir dil oluşumu olup <strong>exit()</strong> işlevine eşdeğerdir.


id: dio_close
type: function
doc:
<comment>Description:</comment>
  Belirtilen dosya tanıtıcısını kapatır
  
  <strong>dio_close()</strong> işlevi, <strong>$dt</strong> ile belirtilen dosya tanıtıcısını kapatır.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>  <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>dio_open()</strong>


id: dio_fcntl
type: function
doc:
<comment>Description:</comment>
  Belirtilen dosya tanıtıcısı üzerinde komut çalıştırır
    
  
  <strong>dio_fcntl()</strong> işlevi, <strong>$dt</strong> dosya tanıtıcısı üzerinde <strong>$komut</strong> ile belirtilen işlemi yapar. Bazı
  komutların gerektirdiği ek bağımsız değişkenler <strong>$bağımsız_değişkenler</strong> bağımsız değişkeninde
  belirtilebilir.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>                    <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>int</info>       <strong>$komut</strong>                 Aşağıdaki işlemlerden biri belirtilebilir: <info>F_SETLK</info> - Dosya kilidi
                                   tanımlar veya siler. Kilit başka bir süreç tarafından tutulmuşsa
                                   işlev -1 ile döner. <info>F_SETLKW</info> - <info>F_SETLK</info> gibidir, farklı olarak,
                                   kilit başka bir süreç tarafından tutulmuşsa kilit serbest
                                   kalıncaya kadar bekler. <info>F_GETLK</info> - Birileri kilidin tutulmasını
                                   engelliyorsa <strong>dio_fcntl()</strong> işlevi (aşağıda açıklandığı gibi) bir
                                   ilişkisel dizi ile döner. Hiçbir engelleme anahtarı yoksa "tür"
                                   olarak <info>F_UNLCK</info> atanır. <info>F_DUPFD</info> - <strong>$bağımsız_değişkenler</strong> değerine
                                   eşit veya büyük dosya tanıtıcılarından en küçük numaralısını
                                   bulur ve bunu döndürür. <info>F_SETFL</info> - Dosya tanıtıcılarının
                                   seçeneklerini <strong>$bağımsız_değişkenler</strong> ile belirtilen değere
                                   ayarlar; bunlar, <info>O_APPEND</info>, <info>O_NONBLOCK</info> veya <info>O_ASYNC</info> olabilir.
                                   <info>O_ASYNC</info> kullanmak için PCNTL eklentisini kullanmanız gerekir.
                                   
                                   <info>F_SETLK</info> - Dosya kilidi tanımlar veya siler. Kilit başka bir süreç
                                   tarafından tutulmuşsa işlev -1 ile döner.
                                   
                                   <info>F_SETLKW</info> - <info>F_SETLK</info> gibidir, farklı olarak, kilit başka bir süreç
                                   tarafından tutulmuşsa kilit serbest kalıncaya kadar bekler.
                                   
                                   <info>F_GETLK</info> - Birileri kilidin tutulmasını engelliyorsa <strong>dio_fcntl()</strong>
                                   işlevi (aşağıda açıklandığı gibi) bir ilişkisel dizi ile döner.
                                   Hiçbir engelleme anahtarı yoksa "tür" olarak <info>F_UNLCK</info> atanır.
                                   
                                   <info>F_DUPFD</info> - <strong>$bağımsız_değişkenler</strong> değerine eşit veya büyük dosya
                                   tanıtıcılarından en küçük numaralısını bulur ve bunu döndürür.
                                   
                                   <info>F_SETFL</info> - Dosya tanıtıcılarının seçeneklerini
                                   <strong>$bağımsız_değişkenler</strong> ile belirtilen değere ayarlar; bunlar,
                                   <info>O_APPEND</info>, <info>O_NONBLOCK</info> veya <info>O_ASYNC</info> olabilir. <info>O_ASYNC</info> kullanmak
                                   için PCNTL eklentisini kullanmanız gerekir.
  <info>mixed</info>     <strong>$bağımsız_değişkenler</strong>  <strong>$bağımsız_değişkenler</strong> bir ilişkisel dizi olup, <strong>$komut</strong> olarak
                                   <info>F_SETLK</info> veya <info>F_SETLLW</info> belirtildiğinde aşağıdaki anahtarlar
                                   belirtilebilir: <return>start</return> - kilidin başlangıç konumu <return>length</return> - kilitli
                                   alanın boyu; sıfır, dosyanın sonuna kadar demektir. <return>whence</return> -
                                   l_start'ın göreli olduğu yer: <info>SEEK_SET</info>, <info>SEEK_END</info> ve <info>SEEK_CUR</info>
                                   olabilir. <return>type</return> - kilit türü: <info>F_RDLCK</info> (okuma kilidi), <info>F_WRLCK</info>
                                   (yazma kilidi) veya <info>F_UNLCK</info> (kilidi aç) olabilir.
                                   
                                   <return>start</return> - kilidin başlangıç konumu
                                   
                                   <return>length</return> - kilitli alanın boyu; sıfır, dosyanın sonuna kadar
                                   demektir.
                                   
                                   <return>whence</return> - l_start'ın göreli olduğu yer: <info>SEEK_SET</info>, <info>SEEK_END</info> ve
                                   <info>SEEK_CUR</info> olabilir.
                                   
                                   <return>type</return> - kilit türü: <info>F_RDLCK</info> (okuma kilidi), <info>F_WRLCK</info> (yazma kilidi)
                                   veya <info>F_UNLCK</info> (kilidi aç) olabilir.

<comment>Return:</comment>
  <info>mixed</info>  C çağrısının sonucu ile döner.


id: dio_open
type: function
doc:
<comment>Description:</comment>
  Belirtilen dosyayı açar ve bu dosya için bir dosya tanıtıcısı
    döndürür
  
  <strong>dio_open()</strong> işlevi, C kütüphanesinin girdi/çıktı akımlarıyla ilgili işlevlerinde kullanılmak üzere
  belirtilen dosyayı düşük seviyede açar (gerekirse oluşturur) ve bu dosya için bir dosya tanıtıcısı
  döndürür.

<comment>Param:</comment>
  <info>string</info>  <strong>$dosyaismi</strong>   Açılacak dosyanın yolu.
  <info>int</info>     <strong>$seçenekler</strong>  Aşağıdaki seçeneklerin bir birleşimi (bit seviyesinde VEYAlanmışı) olarak
                       belirtilebilir. Bu değer, aşağıdaki diğer seçeneklere ek olarak <info>O_RDONLY</info>,
                       <info>O_WRONLY</info>veya <info>O_RDWR</info> sabitlerinden birini mutlaka içermelidir. <info>O_RDONLY</info> -
                       Dosyayı okuma erişimli açar. <info>O_WRONLY</info> - Dosyayı yazma erişimli açar. <info>O_RDWR</info>
                       -Dosyayı hem okuma hem de yazma erişimli açar. <info>O_CREAT</info> - mevcut değilse
                       dosyayı oluşturur. <info>O_EXCL</info> - dosya mevcutsa ve <info>O_CREAT</info> ile <info>O_EXCL</info> birlikte
                       belirtilmişse dosya mevcut demektir, bu durumda işlev başarısız olur. <info>O_TRUNC</info>
                       - dosya mevcutsa ve dosya yazmak için açılmışsa dosya içeriği sıfırlanır
                       (dosya boyutu sıfır bayt olur). <info>O_APPEND</info> - veri daima dosyanın sonuna
                       yazılır. <info>O_NONBLOCK</info> - engellenmeyen kip geçerli olur. <info>O_NOCTTY</info> - Bir TTY
                       aygıt dosyası açılırken işletim sisteminin açılmış dosyayı sürecin denetim
                       uçbirimi olarak atamasını önler.
                       
                       <info>O_RDONLY</info> - Dosyayı okuma erişimli açar.
                       
                       <info>O_WRONLY</info> - Dosyayı yazma erişimli açar.
                       
                       <info>O_RDWR</info> -Dosyayı hem okuma hem de yazma erişimli açar.
                       
                       <info>O_CREAT</info> - mevcut değilse dosyayı oluşturur.
                       
                       <info>O_EXCL</info> - dosya mevcutsa ve <info>O_CREAT</info> ile <info>O_EXCL</info> birlikte belirtilmişse dosya
                       mevcut demektir, bu durumda işlev başarısız olur.
                       
                       <info>O_TRUNC</info> - dosya mevcutsa ve dosya yazmak için açılmışsa dosya içeriği
                       sıfırlanır (dosya boyutu sıfır bayt olur).
                       
                       <info>O_APPEND</info> - veri daima dosyanın sonuna yazılır.
                       
                       <info>O_NONBLOCK</info> - engellenmeyen kip geçerli olur.
                       
                       <info>O_NOCTTY</info> - Bir TTY aygıt dosyası açılırken işletim sisteminin açılmış dosyayı
                       sürecin denetim uçbirimi olarak atamasını önler.
  <info>int</info>     <strong>$kip</strong>         <strong>$seçenekler</strong> bağımsız değişkenine <info>O_CREAT</info> atanmışsa dosya kipi (oluşturma
                       izinleri) <strong>$kip</strong> bağımsız değişkeninde belirtildiği gibi ayarlanır. <strong>$seçenekler</strong>
                       bağımsız değişkenine <info>O_CREAT</info> belirtilmişse <strong>$kip</strong> doğru işlem için gereklidir,
                       yoksa yok sayılır.
                       
                       Oluşturulacak dosyaya atanacak asıl izinler, normal olarak sürecin umask
                       değerinden etkilenir.

<comment>Return:</comment>
  <info>resource</info>  Bir hata oluşmuşsa <info>false</info>, aksi takdirde dosya tanıtıcısı döner.

<comment>See Also:</comment>
   * <strong>dio_close()</strong>


id: dio_read
type: function
doc:
<comment>Description:</comment>
  Bir dosya tanıtıcısından baytları okur
  
  <strong>dio_read()</strong> işlevi, <strong>$dt</strong> dosya tanıtıcısını okur ve <strong>$uzunluk</strong> baytını döndürür.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>       <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>int</info>       <strong>$uzunluk</strong>  Okunacak baytların sayısı. Belirtilmezse, <strong>dio_read()</strong> işlevi veriyi 1K'lık
                      bloklar halinde okur.

<comment>Return:</comment>
  <info>string</info>  <strong>$dt</strong>'den okunan baytlarla döner.

<comment>See Also:</comment>
   * <strong>dio_write()</strong>


id: dio_seek
type: function
doc:
<comment>Description:</comment>
  Dosya tanıtıcısında konumu bir yerden başka bir yere taşır
    
  
  <strong>dio_seek()</strong> işlevi, belirtilen dosya tanıtıcısında dosya konumunu değiştirmek için kullanılır.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>       <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>int</info>       <strong>$nereye</strong>   Yeni konum.
  <info>int</info>       <strong>$nereden</strong>  Mevcut konumun nasıl yorumlanacağı belirtilir:
                      
                      <info>SEEK_SET</info> (öntanımlı) - <strong>$nereye</strong> konumunun dosya başlangıcına göre belirtildiği
                      varsayılır.
                      
                      <info>SEEK_CUR</info> - <strong>$nereye</strong> konumunun mevcut dosya konumuna göre bayt sayısı olarak
                      belirtildiği varsayılır. Bu miktar pozitif veya negatif olabilir.
                      
                      <info>SEEK_END</info> - <strong>$nereye</strong> konumunun dosya sonuna göre belirtildiği varsayılır.
                      Pozitif bir değer dosya sonundan önceki bayt sayısı olarak, negatif bir değer
                      ise dosya sonundan sonraki bayt sayısı olarak yorumlanır. Dosya sonundan
                      sonraki konumlara ulaşmak için bu bölgenin sıfır baytları ile doldurulması
                      gerekir. Asıl veri ancak bundan sonra yazılır.

<comment>Return:</comment>
  <info>int</info>  


id: dio_stat
type: function
doc:
<comment>Description:</comment>
  Belirtilen dosya tanıtıcısı hakkında durum bilgisi döndürür
    
  
  <strong>dio_stat()</strong> işlevi, belirtilen dosya tanıtıcısı hakkında bilgi döndürür.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>  <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.

<comment>Return:</comment>
  <info>array</info>  Aşağıdaki anahtarları içeren bir dizi ile döner:  "device" - aygıt  "inode" - dosya düğümü
         "mode" - kip  "nlink" - sabit bağların sayısı  "uid" - kullanıcı kimliği  "gid" - grup
         kimliği  "device_type" - aygıt türü (bir dosya düğümü aygıtıysa)  "size" - bayt cinsinden
         toplam boyut  "blocksize" - blok boyu  "blocks" - ayrılmış blok sayısı  "atime" - son
         erişim zamanı  "mtime" - son değişiklik zamanı  "ctime" - son değişim zamanı  Hata oluşursa
         <strong>dio_stat()</strong> işlevi <info>null</info> döndürür.
         
         "device" - aygıt
         
         "inode" - dosya düğümü
         
         "mode" - kip
         
         "nlink" - sabit bağların sayısı
         
         "uid" - kullanıcı kimliği
         
         "gid" - grup kimliği
         
         "device_type" - aygıt türü (bir dosya düğümü aygıtıysa)
         
         "size" - bayt cinsinden toplam boyut
         
         "blocksize" - blok boyu
         
         "blocks" - ayrılmış blok sayısı
         
         "atime" - son erişim zamanı
         
         "mtime" - son değişiklik zamanı
         
         "ctime" - son değişim zamanı


id: dio_tcsetattr
type: function
doc:
<comment>Description:</comment>
  Bir seri portun veri hızını ve uçbirim özniteliklerini tanımlar
    
  
  <strong>dio_tcsetattr()</strong> işleve açık bir <strong>$fd</strong>'nin veri hızını ve uçbirim özniteliklerini ayarlar.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>          <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>array</info>     <strong>$seçenekler</strong>  Olası seçenekler:  'baud' - saniyede bit bayısı olarak veri hızı -
                         38400,19200,9600,4800,2400,1800,1200,600,300,200,150,134,110,75 veya 50
                         olabilir; 9600 öntanımlıdır.  'bits' - veri bitleri - 8,7,6 veya 5
                         olabilir; 8 öntanımlıdır.  'stop' - durdurma bitleri - 1 veya 2 olabilir; 1
                         öntanımlıdır.  'parity' - eşik bitleri-  0,1 veya 2 olabilir; 0
                         öntanımlıdır.
                         
                         'baud' - saniyede bit bayısı olarak veri hızı -
                         38400,19200,9600,4800,2400,1800,1200,600,300,200,150,134,110,75 veya 50
                         olabilir; 9600 öntanımlıdır.
                         
                         'bits' - veri bitleri - 8,7,6 veya 5 olabilir; 8 öntanımlıdır.
                         
                         'stop' - durdurma bitleri - 1 veya 2 olabilir; 1 öntanımlıdır.
                         
                         'parity' - eşik bitleri-  0,1 veya 2 olabilir; 0 öntanımlıdır.

<comment>Return:</comment>
  <info>bool</info>  Hiçbir değer dönmez.


id: dio_truncate
type: function
doc:
<comment>Description:</comment>
  Dosya tanıtıcısındaki bayt sayısını sınırlar
  
  <strong>dio_truncate()</strong> işlevi, bir dosyanın içeriğini <strong>$uzunluk</strong> baytla sınırlar.
  
  Dosya belirtilen uzunluktan uzunsa fazlalık kaybedilir. Kısaysa ya dosya boyu değişmeden kalır ya
  da boş kısımlar sıfır baytları olarak okunur.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>       <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>int</info>       <strong>$uzunluk</strong>  Bayt cinsinden kırpma uzunluğu.

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner.


id: dio_write
type: function
doc:
<comment>Description:</comment>
  Veriyi (uzunluğunu isteğe bağlı olarak kırparak) dosya tanıtıcısına yazar
    
  
  <strong>dio_write()</strong> işlevi <strong>$veri</strong>'nin <strong>$uzunluk</strong> bayta kadarlık bölümünü <strong>$dt</strong> dosya tanıtıcısına yazar.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dt</strong>       <strong>dio_open()</strong> işlevinden dönmüş bir dosya tanıtıcısı.
  <info>string</info>    <strong>$veri</strong>     Yazılacak veri.
  <info>int</info>       <strong>$uzunluk</strong>  Bayt cinsinden, yazılacak verinin uzunluğu. Belirtilmezse, verinin tamamı
                      dosya tanıtıcısına yazılır.

<comment>Return:</comment>
  <info>int</info>  <strong>$dt</strong> dosya tanıtıcısına yazılan baytların sayısı.

<comment>See Also:</comment>
   * <strong>dio_read()</strong>


id: dir
type: function
doc:
<comment>Description:</comment>
  Directory sınıfının örneğini döndürür
  
  Bir dizini okumak için yarı nesne yönelimli bir mekanizma. Belirtilen <strong>$dizin</strong> açılır.

<comment>Param:</comment>
  <info>string</info>         <strong>$dizin</strong>   Açılacak dizin.
  <info>resource|null</info>  <strong>$bağlam</strong>  Akım bağlamı özkaynağı.

<comment>Return:</comment>
  <info>Directory|false</info>  Normalde <class>Directory</class> örneği döner, hata oluşursa <info>false</info> döner.


id: dirname
type: function
doc:
<comment>Description:</comment>
  Üst dizinin yolunu döndürür
  
  Bir dosyanın veya dizinin yolunu içeren bir dizge verildiğinde, bu işlev en alt seviyedeki
  dizinden <strong>$seviye</strong> sayıda üstte bulunan dizinin yolunu döndürür.
  
  <strong>dirname()</strong> safça girdi dizgesi üzerinde çalışır, ne dosya sistemini ne de "<return>..</return>" gibi yol
  bileşenlerini bilir.
  
  Windows üzerinde, <strong>dirname()</strong> geçerli olarak ayarlanmış kod sayfasına göre davranır, bu nedenle çok
  baytlı karakter yollarında doğru dizin adını görmesi için eşleşen kod sayfasının ayarlanması
  gerekir. <strong>$yol</strong>, mevcut kod sayfası için geçersiz karakterler içeriyorsa,<strong>dirname()</strong> işlevinin
  davranışı tanımsızdır.
  
  Diğer sistemlerde <strong>dirname()</strong>, <strong>$yol</strong>un ASCII uyumlu kodlamayla kodlanacağını varsayar. Aksi takdirde,
  işlevin davranışı tanımsızdır.

<comment>Param:</comment>
  <info>string</info>  <strong>$yol</strong>     Dosya yolu.
                   
                   Dizin ayırma karakteri olarak Windows üzerinde hem bölü (<return>/</return>) hem de ters bölü (<return>\</return>)
                   çizgisi kullanılabilirken diğer ortamlarda sadece bölü (<return>/</return>) çizgisi
                   kullanılabilir.
  <info>int</info>     <strong>$seviye</strong>  Üstteki dizinlerin seviyesi.
                   
                   Sıfırdan büyük bir tamsayı olmalıdır.

<comment>Return:</comment>
  <info>string</info>  Üst dizinin yolunu döndürür. <strong>$yol</strong> bağımsız değişkeni hiç bölü çizgisi içermiyorsa, içinde
          bulunulan dizin anlamında tek bir nokta ('.') döner. Aksi takdirde <strong>$yol</strong> dizgesi son
          <return>/bileşen</return> kaldırılarak döndürülülür.
          
          Bu işlevi kök dizine ulaşabilen bir döngüde kullanırken dikkatli olun, çünkü bu sonsuz bir
          döngüye sebep olabilir.

<comment>See Also:</comment>
   * <strong>basename()</strong>
   * <strong>pathinfo()</strong>
   * <strong>realpath()</strong>


id: disk_free_space
type: function
doc:
<comment>Description:</comment>
  Disk bölümü veya dosya sistemindeki kullanılabilir alanı döndürür
  
  Belirtilen dizinin bulunduğu dosya sistemi veya disk bölümünün kullanılabilir toplam boyunu bayt
  cinsinden döndürür.

<comment>Param:</comment>
  <info>string</info>  <strong>$dizin</strong>  Bir dosya sisteminin veya disk bölümünün bir dizini.
                  
                  Bir dizin yerine bir dosya verildiği takdirde işlevin davranışı belirsizdir ve
                  kullanılan işletim sistemine ve PHP sürümüne göre farklılık gösterebilir.

<comment>Return:</comment>
  <info>float|false</info>  Hata oluşmuşsa <info>false</info>, yoksa kullanılabilir toplam bayt sayısını bir gerçek sayı
               olarak döndürür.

<comment>See Also:</comment>
   * <strong>disk_total_space()</strong>


id: disk_total_space
type: function
doc:
<comment>Description:</comment>
  Bir disk bölümünün veya dosya sisteminin toplam boyutunu döndürür
  
  Belirtilen dizinin bulunduğu dosya sistemi veya disk bölümünün toplam boyunu bayt cinsinden
  döndürür.

<comment>Param:</comment>
  <info>string</info>  <strong>$dizin</strong>  Bir dosya sisteminin veya disk bölümünün bir dizini.

<comment>Return:</comment>
  <info>float|false</info>  Hata durumunda <info>false</info> yoksa toplam bayt sayısını bir gerçek sayı olarak döndürür.

<comment>See Also:</comment>
   * <strong>disk_free_space()</strong>


id: diskfreespace
type: function
doc:
<comment>Description:</comment>
  disk_free_space işlevinin takma adıdır
    
  
  Bu işlev <strong>disk_free_space()</strong> işlevinin takma adıdır.


id: dl
type: function
doc:
<comment>Description:</comment>
  Belirtilen PHP eklentisini çalışma anında yükler
  
  <strong>$eklenti</strong> bağımsız değişkeni ile belirtilen PHP eklentisini yükler.
  
  Belli bir eklentinin yüklü olup olmadığını sınamak için, hem yerleşik (php.ini ile yüklenen) hem
  de devingen olarak (<strong>dl()</strong> ile) yüklenen eklentileri bulan <strong>extension_loaded()</strong> işlevini kullanın.
  
  Bu işlev komut satırından çağrıldığında yalnızca CGI SAPI, gömülü SAPI'ler ve CLI için
  kullanılabilir.

<comment>Param:</comment>
  <info>string</info>  <strong>$eklenti</strong>  Bu bağımsız değişken ile eklentinin platforma özgü kütüphane dosyasının ismi
                    belirtilir. Örneğin sockets eklentisini Windows platformunda yüklemek için
                    php_sockets.dll ismini kullanmak gerekirken Unix platformlarında sockets.so
                    kullanmak gerekir (bir paylaşımlı modül olarak derlenmişse).
                    
                    Eklentinin yükleneceği dizin platforma göre değişiklik gösterir:
                    
                    Windows - php.ini içinde açıkça belirtilmemişse, eklenti öntanımlı olarak
                    c:\php5\ dizininden yüklenir.
                    
                    Unix - php.ini içinde açıkça belirtilmemişse, öntanımlı eklenti dizinin yeri
                    şunlara bağlıdır:  PHP'nin <return>--enable-debug</return> seçeneği ile derlenip derlenmediği;
                    PHP'nin ZTS (Zend Thread Safety) desteği ile derlenip derlenmediği;  geçerli
                    yerleşik <return>ZEND_MODULE_API_NO</return> sabiti (Zend yerleşik modülü API numarası; genelde
                    API modülünün değişiklik tarihidir. <return>20010901</return> gibi).  Bu durumlar hesaba
                    katılarak eklentilerin öntanımlı yeri şöyle saptanır: <return>\<kurulum-dizini&gt;/lib/php/extensions/ \<debug/no-debug&gt;-\<zts/non-zts&gt;-ZEND_MODULE_API_NO</return>. Örnek: /usr/local/php/lib/php/extensions/debug-non-zts-20010901 veya /usr/local/php/lib/php/extensions/no-debug-zts-20010901.
                    
                    PHP'nin <return>--enable-debug</return> seçeneği ile derlenip derlenmediği;
                    
                    PHP'nin ZTS (Zend Thread Safety) desteği ile derlenip derlenmediği;
                    
                    geçerli yerleşik <return>ZEND_MODULE_API_NO</return> sabiti (Zend yerleşik modülü API numarası;
                    genelde API modülünün değişiklik tarihidir. <return>20010901</return> gibi).

<comment>Return:</comment>
  <info>bool</info>  Başarı durumunda <info>true</info>, başarısızlık durumunda <info>false</info> döner. Eğer modül yükleme işlevsel
        değilse (php.ini içinde <return>enable_dl</return> off yapılarak iptal edilmişse) bir <info>E_ERROR</info> iletisi
        çıktılanıp çalışma durdurulur. Eğer işlev, kütüphane yüklenemediğinden dolayı başarısız
        olursa bir <info>E_WARNING</info> iletisi çıktılayarak <info>false</info>döndürür.

<comment>See Also:</comment>
   * Eklenti Yükleme
    Yönergeleri
   * <strong>extension_loaded()</strong>


id: dngettext
type: function
doc:
<comment>Description:</comment>
  dgettext işlevinin çoğul biçemli sürümü
  
  <strong>dngettext()</strong>işlevi, belirtilen çoğul biçemli iletilerin belli bir <strong>$uygulama_adı</strong> altında
  aranabilmesini sağlar.

<comment>Param:</comment>
  <info>string</info>  <strong>$uygulama_adı</strong>  Gettext iletileri için uygulama veya paket adı.
  <info></info>        <strong>$msgid1</strong>        
  <info></info>        <strong>$msgid2</strong>        
  <info></info>        <strong>$n</strong>             

<comment>Return:</comment>
  <info>string</info>  Başarılı olursa bir dizge döndürür.

<comment>See Also:</comment>
   * <strong>ngettext()</strong>


id: dns_check_record
type: function
doc:
<comment>Description:</comment>
  checkdnsrr işlevinin takma adıdır
  
  Bu işlev <strong>checkdnsrr()</strong> işlevinin takma adıdır.


id: dns_get_mx
type: function
doc:
<comment>Description:</comment>
  getmxrr işlevinin takma adıdır
  
  Bu işlev <strong>getmxrr()</strong>  işlevinin takma adıdır.


id: dns_get_record
type: function
doc:
<comment>Description:</comment>
  Belirtilen konak adı ile ilgili DNS Özkaynak Kayıtlarını
    getirir
  
  Belirtilen <strong>$konakadı</strong> ile ilgili DNS Kayıtlarını (DNS-RR) getirir.

<comment>Param:</comment>
  <info>string</info>  <strong>$konakadı</strong>                <strong>$konakadı</strong>, "<return>www.example.com</return>" gibi geçerli bir konak adı
                                    olmalıdır. Ters DNS sorguları <return>in-addr.arpa</return> gösterimiyle
                                    üretilir, fakat <strong>gethostbyaddr()</strong> işlevi ters DNS sorguları için
                                    daha kullanışlıdır.
                                    
                                    DNS standartlarının amacı gereği, posta adresleri
                                    <return>kullanıcı.konak</return> biçiminde verilir (örneğin,
                                    <return>hostmaster@example.com</return> değil <return>hostmaster.example.com</return>). Sorgudan
                                    böyle bir değer aldıysanız, <strong>mail()</strong> gibi bir işlevde kullanmadan
                                    önce bunu normal eposta adresi haline getirmelisiniz.
  <info>int</info>     <strong>$tür</strong>                     <strong>dns_get_record()</strong> öntanımlı olarak, <strong>$konakadı</strong> ile ilgili bütün
                                    özkaynak kayıtlarını arayacaktır. Sorguyu belli kayıtlarla
                                    sınırlamak için isteğe bağlı <strong>$tür</strong> bağımsız değişkenini
                                    kullanabilirsiniz. <strong>$tür</strong> olarak şunlardan biri belirtilebilir:
                                    <info>DNS_A</info>, <info>DNS_CNAME</info>, <info>DNS_HINFO</info>, <info>DNS_CAA</info>, <info>DNS_MX</info>, <info>DNS_NS</info>, <info>DNS_PTR</info>,
                                    <info>DNS_SOA</info>, <info>DNS_TXT</info>, <info>DNS_AAAA</info>, <info>DNS_SRV</info>, <info>DNS_NAPTR</info>, <info>DNS_A6</info>, <info>DNS_ALL</info>
                                    veya <info>DNS_ANY</info>.
                                    
                                    Çeşitli platformlarda libresolv başarımının dışmerkezliliğinden
                                    dolayı <info>DNS_ANY</info> her zaman bütün kayıtları döndürmez. Daha yavaş
                                    fakat daha güvenilir olan <info>DNS_ALL</info> tüm kayıtları toplayacaktır.
                                    
                                    Windows: <info>DNS_CAA</info> desteklenmez. <info>DNS_A6</info> desteği gerçeklenmedi.
  <info>array</info>   <strong>$yetkili_isim_sunucuları</strong>  Gönderimli aktarılır. Belirtilirse Yetkili Ad Sunucuları ile
                                    ilgili Özkaynak Kayıtları bu diziye yerleştirilir.
  <info>array</info>   <strong>$ek_kayıtlar</strong>             Gönderimli aktarılır. Belirtilirse Ek Kayıtlar ile ilgili
                                    Özkaynak Kayıtları bu diziye yerleştirilir.
  <info>bool</info>    <strong>$ham</strong>                      <info>true</info> belirtilirse, <strong>$tür</strong>ham DNS tür kimliği olarak yorumlanır
                                    (<return>DNS_*</return> sabitleri kullanılamaz). Dönen dizi, kendinizin
                                    çözümleyeceği bir  <return>data</return> anahtarı içerir.

<comment>Return:</comment>
  <info>array|false</info>  Bu işlev ilişkisel diziler içeren bir dizi ile, başarısızlık durumunda <info>false</info> döner.
               Her ilişkisel dizi en azından aşağıdaki anahtarları mutlaka içerir: Temel DNS
               öznitelikleriÖznitelikAnlamıhost DNS isim alanındaki, ilişkili tüm verinin
               atfedildiği kayıt. class<strong>dns_get_record()</strong> daima sadece İnternet sınıfı kayıtları
               döndürdüğünden bu üyenin değeri daima <return>IN</return>'dir. type Kayıt türünü içeren dizge. Tür
               değerine bağlı olarak dizide ek öznitelikler bulunabilir. Aşağıdaki tabloya bakınız.
               ttl<return>"Time To Live"</return>. Bu kayıt için kalan yaşam süresi. Bu değer, özgün ttl ile aynı
               değildir. Özgün ttl'den yetkili isim sunucu sorgulandığından beri geçen süre
               düşüldükten sonra kalan değerdir.
               
               İlişkisel dizide 'type' anahtarına bağlı diğer anahtarlarTürEk Sütunlar<return>A</return><return>ip</return>: Noktalı
               sayısal gösterimle bir IPv4 adresi. <return>MX</return><return>pri</return>: Posta alıcısının önceliği. Düşük sayılar
               daha yüksek öncelik belirtir. <return>target</return>: Posta alıcısının tamamen nitelenmiş alan adı.
               Ayrıca bakınız: <strong>dns_get_mx()</strong>. <return>CNAME</return><return>target</return>: Kaydın takma ad olduğu DNS isim alanındaki
               konumun tamamen nitelenmiş alan adı. <return>NS</return><return>target</return>: Bu konak adı için yetkili olan isim
               sunucusunun tamamen nitelenmiş alan adı. <return>PTR</return><return>target</return>: DNS isim alanında bu kayda işaret
               eden konum. <return>TXT</return><return>txt</return>: Bu kayıtla ilişkili dizge türünde keyfi bir veri. <return>HINFO</return><return>cpu</return>: Bu
               kaydın gösterdiği makinenin işlemcisi için IANA ismi. <return>os</return>: Bu kaydın gösterdiği
               makinenin işletim sistemi için IANA ismi. Bu değerlerin anlamları için  IANA'nın
               İşletim Sistemi İsimleri belgesine bakınız. <return>CAA</return><return>flags</return>: Tek baytlık bit alanı; şu an
               sadece 'critical' anlamına gelen bit 0 tanımlıdır; diğer bitler ileride kullanım için
               ayrılmış olup yok sayılmalıdır. <return>tag</return>: CAA etiket adı (abecesayısal ASCII dizge).
               <return>value</return>: CAA etiket değeri (ikil dizge, alt biçemleri olabilir). Ek olarak bkz: RFC
               6844 <return>SOA</return><return>mname</return>: Özkaynak kaydının kaynaklandığı makinenin tamamen nitelenmiş alan adı.
               <return>rname</return>: Bu alanın idari yetkilisinin eposta adresi. <return>serial</return>: İstenen alanın bu
               sürümünün sıra numarası. <return>refresh</return>: Bu alanın uzak kopyaları güncellenirken ikincil
               isim sunucularının tazelenme süresi (saniye cinsinden). <return>retry</return>: Tekrar bir tazeleme
               yapmadan önce beklenecek süre (saniye cinsinden). <return>expire</return>: Başarısız bir tazelemenin
               ardından bölge verisinin uzak kopyalarını silmeden önce DNS sunucusunun bekleyeceği
               azami süre (saniye cinsinden). <return>minimum-ttl</return>: Bir istemcinin sunucudan yeni bir
               çözünürlük isteği yapmadan önce mevcut DNS çözünürlüğünü kullanmaya devam edebileceği
               asgari süre (saniye cinsinden). Özkaynak kayıtlarının her biri kendi süresini
               belirleyerek bunu geçersiz kılabilir. <return>AAAA</return><return>ipv6</return>: IPv6 adresi. <return>A6</return><return>masklen</return>: <return>chain</return> ile
               belirtilen hedeften miras alınan uzunluk (bit cinsinden). <return>ipv6</return>: <return>chain</return>'e
               katıştırılacak bu özel kayıt için adres. <return>chain</return>: <return>ipv6</return> verisi ile katıştırılacak
               ebeveyn kayıt. <return>SRV</return><return>pri</return>: (Priority kısaltması) En düşük değerin önceliği en yüksektir.
               <return>weight</return>: Ortak önceliklerin tercih sıralaması. <return>targets</return> rasgele seçilmelidir. <return>target</return> ve
               <return>port</return>: İstenen hizmetin bulunabileceği konak adı ve port. Ek bilgi için RFC 2782'ye
               bakınız. <return>NAPTR</return><return>order</return> ve <return>pref</return>: Yukarıdaki <return>pri</return> ve <return>weight</return> ile eşdeğerdirler. <return>flags</return>,
               <return>services</return>, <return>regex</return> ve <return>replacement</return>: RFC 2915 tarafından tanımlanmış bağımsız
               değişkenlerdir.

<comment>See Also:</comment>
   * <strong>dns_get_mx()</strong>
   * <strong>dns_check_record()</strong>


id: dom_import_simplexml
type: function
doc:
<comment>Description:</comment>
  Bir SimpleXMLElement düğümü alıp bir
    DOMElement düğümü döndürür
  
  Bir SimpleXMLElement düğümü alıp bir <class>DOMElement</class> düğümü döndürür. Bu yeni nesne doğal bir
  <class>DOMElement</class> düğümü olarak kullanılabilir.

<comment>Param:</comment>
  <info>object</info>  <strong>$node</strong>  Bir <class>SimpleXMLElement</class> düğümü.

<comment>Return:</comment>
  <info>DOMElement|null</info>  <class>DOMElement</class> düğümünü ekler.

<comment>See Also:</comment>
   * <strong>simplexml_import_dom()</strong>


id: dotnet
type: class
doc:
<comment>Description:</comment>
  dotnet sınıfı, bir .Net derlemesinden bir sınıfın örneklenmesini ve COM'a görünür iseler
  yöntemlerinin çağrılabilmesini ve özelliklerine erişilebilmesini sağlar.
  
  Statik sınıfların örneklenmesi veya statik yöntemlerin çağrılması desteklenmediği gibi
  <return>System.Collections.Generic.List</return> gibi soysal sınıfların örneklenmesi de desteklenmemektedir.
  
  Bazı .Net sınıfları IDispatch'i gerçeklemediğinden örneklenebilseler bile bu sınıflardaki
  yöntemlerin çağrılması veya özelliklerine erişilmesi desteklenmemektedir.
  
  Bu özellikten faydalanmak için http sunucunuza .Net çalıştırılabilirini kurmanız gerekmektedir.
  
  PHP 8.0.0 öncesinde, .Net framework 4.0 ve sonraki sürümleri, <class>dotnet</class> sınıfı tarafından
  desteklenmezdi. Derlemeler regasm.exe ile kaydedilmişse, sınıflar <class>com</class> nesneleri olarak
  örneklenebiliyordu. PHP 8.0.0 itibariyle, .Net framework 4.0 ve sonraki sürümleri,
  com.dotnet_version php.ini yönergesi üzerinden desteklenmektedir.


id: dotnet::__construct
type: function
doc:
<comment>Description:</comment>
  dotnet nesnesi oluşturur
  
  Yeni bir dotnet nesnesi oluşturur.

<comment>Param:</comment>
  <info>string</info>  <strong>$derleyici_adı</strong>  Yüklenecek derleyicinin adı.
  <info>string</info>  <strong>$veri_türü</strong>    Derleyicinin örnekleyeceği sınıf.
  <info>int</info>     <strong>$kodlama</strong>        UTF-8 dönüşümünde kullanılacak karakter kodlaması. Karakter kodlamaları
                          için bkz:


id: doubleval
type: function
doc:
<comment>Description:</comment>
  floatval işlevinin takma ismidir
  
  Bu işlev, <strong>floatval()</strong> işlevinin takma ismidir.


id: each
type: function
doc:
<comment>Description:</comment>
  Bir diziden, gösterici konumundaki anahtar değer çiftini
    döndürdükten sonra göstericiyi bir ilerletir
  
  Belirtilen diziden, gösterici konumundaki anahtar değer çiftini döndürür ve göstericiyi sonraki
  öğeye ilerletir.
  
  <strong>each()</strong> işini bitirdikten sonra dizi göstericisi bir sonraki elemana konumlanır; eğer gösterici
  zaten sonuncu elemandaysa gösterici sonuncudan sonraki olmayan elemana konumlanır. Dizi baştan
  taranmak istenirse gösterici <strong>reset()</strong> ile dizinin başlangıcına taşınmalıdır.

<comment>Param:</comment>
  <info>array|object</info>  <strong>$dizi</strong>  Üzerinde işlem yapılacak dizi.

<comment>Return:</comment>
  <info>array</info>  <strong>$dizi</strong> dizisinin göstericisinin üzerinde bulunduğu anahtar değer çifti ile döner. Bu çift
         dört elemanlı, <return>0</return>, <return>1</return>, <return>key</return> ve <return>value</return> anahtarlarına sahip bir dizi olarak döner. <return>0</return> ve <return>key</return>
         elemanları anahtarı, <return>1</return> ve <return>value</return> ise değeri içerir.
         
         Eğer gösterici sonuncu dizi elemanının sonrasındaysa <strong>each()</strong> işlevi <info>false</info> döndürür.

<comment>See Also:</comment>
   * <strong>key()</strong>
   * <strong>list()</strong>
   * <strong>current()</strong>
   * <strong>reset()</strong>
   * <strong>next()</strong>
   * <strong>prev()</strong>
   * foreach
   * Nesne
    Yineleme


id: easter_date
type: function
doc:
<comment>Description:</comment>
  Verilen yıl için paskalya gece yarısının unix zaman
     damgasını döner
  
  Verilen yıl için paskalya gece yarısının unix zaman damgasını döner.
  
  Paskalya günü, ilk olarak M.S. 325 yılında İznik Konseyi tarafından, İlk dolunaydan veya Bahar
  ılımından (ekinoks) sonraki ilk pazar günü olarak tanımlanmıştır. Ilımın daima 21 Mart tarihine
  rastladığı varsayılır ve hesaplama dolunayın ve sonraki pazar gününün hesaplanmasına indirgenir.
  Kullanılan algoritma Dionysius Exiguus tarafından 532 yılında tanıtıldı. Jülyen takvimi döneminde
  (1753'den önceki yıllar) ayın evrelerini takip etmek için basit 19 yıllık çevrim kullanıldı.
  Gregoryen takvimi döneminde (1753'den sonraki yıllar - Clavius ve Lilius tarafından hazırlandı ve
  XIII Papa Gregory tarafından Ekim 1582'de tanıtıldı, Eylül 1752'de Britanya ve kolonilerine
  yayıldı) çevrimin daha doğru olması için 2 düzeltme değişkeni eklendi.

<comment>Param:</comment>
  <info></info>     <strong>$yil</strong>  32 bitlik sistemlerde 1970-2037, 64 bitlik sistemlerde 1970-2,000,000,000 aralığındaki
             değerlerden biri. Atlanırsa veya <info>null</info> belirtilirse yerel zamana göre geçerli yıl
             öntanımlıdır.
  <info>int</info>  <strong>$kip</strong>  <info>CAL_EASTER_ALWAYS_JULIAN</info> atanırsa Paskalya günlerinin Jülyen takvimine göre
             hesaplanmasını sağlar. Ayrıca, bkz. takvim sabitleri.

<comment>Return:</comment>
  <info>int</info>  Unix zaman damgası olarak paskalya günü.

<comment>See Also:</comment>
   * 
     1970'den önce veya 2037'den sonraki Paskalya günleri için
     <strong>easter_days()</strong>
    


id: easter_days
type: function
doc:
<comment>Description:</comment>
  Verilen yıl için Paskalya zamanına, 21 Marttan sonraki kalan gün
     sayısını verir.
  
  Verilen yıl için Paskalya zamanına, 21 Marttan sonraki kalan gün sayısını verir. Yıl belirtilmezse
  öntanımlı olarak içinde bulunulan yıl alınır.
  
  Bu işlev Unix zaman damgasının dışına düşen yıllarda (1970'den önce, 2037'den sonra), Paskalya
  gününü hesaplamak için <strong>easter_date()</strong> işlevi yerine kullanılabilir.
  
  Paskalya günü, ilk olarak M.S. 325 yılında İznik Konseyi tarafından, İlk dolunaydan veya Bahar
  ılımından (ekinoks) sonraki ilk pazar günü olarak tanımlanmıştır. Ilımın daima 21 Mart tarihine
  rastladığı varsayılır ve hesaplama dolunayın ve sonraki pazar gününün hesaplanmasına indirgenir.
  Kullanılan algoritma Dionysius Exiguus tarafından 532 yılında tanıtıldı. Jülyen takvimi döneminde
  (1753'den önceki yıllar) ayın evrelerini takip etmek için basit 19 yıllık çevrim kullanıldı.
  Gregoryen takvimi döneminde (1753'den sonraki yıllar - Clavius ve Lilius tarafından hazırlandı ve
  XIII Papa Gregory tarafından Ekim 1582'de tanıtıldı, Eylül 1752'de Britanya ve kolonilerine
  yayıldı) çevrimin daha doğru olması için 2 düzeltme değişkeni eklendi.
  
  (Simon Kershaw tarafından yazılan C programı temel alınmıştır, \<webmaster at ely.anglican dot org&gt;)

<comment>Param:</comment>
  <info></info>     <strong>$yil</strong>  Pozitif sayı olarak yıl. Atlanırsa veya <info>null</info> belirtilirseyerel zamana göre geçerli yıl
             öntanımlıdır.
  <info>int</info>  <strong>$kip</strong>  <info>CAL_EASTER_ROMAN</info> sabiti verildiği zaman 1582 - 1752 yılları için Gregoryen takvimi
             temel alınarak hesaplama yapar. Diğer sabitler için takvim sabitleri adresine bakınız.

<comment>Return:</comment>
  <info>int</info>  Verilen <strong>$yil</strong> bağımsız değişkeni için Paskalya zamanına, 21 Marttan sonraki kalan gün sayısını
       verir.

<comment>See Also:</comment>
   * <strong>easter_date()</strong>


id: echo
type: function
doc:
<comment>Description:</comment>
  Bir veya daha fazla dizgeyi çıktılar
  
  Tüm bağımsız değişkenlerini çıktılar.
  
  <return>echo</return> aslında bir işlev değil bir dil oluşumudur, yani bağımsız değişkenlerini yaylı ayraçlar
  arasına almak gerekmez. Bağımsız değişkenleri, <return>echo</return> anahtar sözcüğünü izleyen, virgüllerle
  ayrılmış ve parantez içine alınmamış ifadelerden oluşur. Diğer bazı dil oluşumlarının aksine,
  <return>echo</return>'nun herhangi bir dönüş değeri yoktur, bu nedenle bir ifade bağlamında kullanılamaz.
  
  <return>echo</return> ayrıca kısaltılmış bir sözdizimine de sahiptir. Bir açan PHP etiketinin ardına bir eşit
  işareti koyup dizgeyi ardına yazmanız yeterlidir. Bu kısa sözdizimi short_open_tag yapılandırma
  yönergesi iptal edilmiş olsa bile kullanılır. Örnek:  foo.
  ]]>
  
  <strong>print()</strong> işlevine göre başlıca fark <return>echo</return>'nun çok sayıda bağımsız değişken kabul etmesi ve bir dönüş
  değerinin olmamasıdır.

<comment>Param:</comment>
  <info>string</info>  <strong>$ifadeler</strong>  Virgüllerle ayrılmış bir veya daha fazla dizge ifadesi. Dizge olmayan değerler,
                     <return>strict_types</return> yönergesi etkin olsa bile dizgeye zorlanır.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>print()</strong>
   * <strong>printf()</strong>
   * <strong>flush()</strong>
   * Sayısal dizgeleri belirtme
     yolları


id: eio_busy
type: function
doc:
<comment>Description:</comment>
  Artificially increase load. Could be useful in tests,
    benchmarking
  
  <strong>eio_busy()</strong> artificially increases load taking <strong>$delay</strong> seconds to execute. May be used for
  debugging, or benchmarking.

<comment>Param:</comment>
  <info>int</info>       <strong>$delay</strong>     Delay in seconds
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  This callback is called when all the group requests are done.
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_busy()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_nop()</strong>


id: eio_cancel
type: function
doc:
<comment>Description:</comment>
  Cancels a request
  
  <strong>eio_cancel()</strong> cancels a request specified by <strong>$req</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$req</strong>       The request resource
  <info></info>          <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info></info>          <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info></info>          <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info>resource</info>  <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info></info>          <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>eio_grp_cancel()</strong>


id: eio_chmod
type: function
doc:
<comment>Description:</comment>
  Change file/directory permissions
  
  <strong>eio_chmod()</strong> changes file, or directory permissions. The new permissions are specified by <strong>$mode</strong>.

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Path to the target file or directory Avoid relative
                       paths
                       
                       Avoid relative
                       paths
  <info>int</info>       <strong>$mode</strong>      The new permissions. E.g. <info>0644</info>.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_chmod()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_chown()</strong>


id: eio_chown
type: function
doc:
<comment>Description:</comment>
  Change file/directory permissions
  
  Changes file, or directory permissions.

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Path to file or directory. Avoid relative
                       paths
                       
                       Avoid relative
                       paths
  <info>int</info>       <strong>$uid</strong>       User ID. Is ignored when equal to -1.
  <info>int</info>       <strong>$gid</strong>       Group ID. Is ignored when equal to -1.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_chown()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_chmod()</strong>


id: eio_close
type: function
doc:
<comment>Description:</comment>
  Close file
  
  <strong>eio_close()</strong> closes file specified by <strong>$fd</strong>.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_close()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_open()</strong>


id: eio_custom
type: function
doc:
<comment>Description:</comment>
  Execute custom request like any other eio_* call
  
  <strong>eio_custom()</strong> executes custom function specified by <strong>$execute</strong> processing it just like any other
  eio_* call.

<comment>Param:</comment>
  <info>callable</info>  <strong>$execute</strong>   Specifies the request function that should match the following prototype:
                         <strong>$callback</strong> is event completion callback that should match the following
                       prototype:
                        <strong>$data</strong> is the data passed to <strong>$execute</strong> via <strong>$data</strong> argument without
                       modifications <strong>$result</strong> value returned by <strong>$execute</strong>
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_custom()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.


id: eio_dup2
type: function
doc:
<comment>Description:</comment>
  Duplicate a file descriptor
  
  <strong>eio_dup2()</strong> duplicates file descriptor.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Source stream, Socket resource, or numeric file descriptor
  <info>mixed</info>     <strong>$fd2</strong>       Target stream, Socket resource, or numeric file descriptor
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_dup2()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.


id: eio_event_loop
type: function
doc:
<comment>Description:</comment>
  Polls libeio until all requests proceeded
  
  <strong>eio_event_loop()</strong> polls libeio until all requests proceeded.

<comment>Return:</comment>
  <info>bool</info>  <strong>eio_event_loop()</strong> returns <info>true</info> on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_poll()</strong>


id: eio_fallocate
type: function
doc:
<comment>Description:</comment>
  Allows the caller to directly manipulate the allocated disk
    space for a file
  
  <strong>eio_fallocate()</strong> allows the caller to directly manipulate the allocated disk space for the file
  specified by <strong>$fd</strong> file descriptor for the byte range starting at <strong>$offset</strong> and continuing for <strong>$length</strong>
  bytes.
  
  <info>EIO_O_CREAT</info> should be logically OR'd with <info>EIO_O_WRONLY</info>, or <info>EIO_O_RDWR</info>

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int</info>       <strong>$mode</strong>      Currently only one flag is supported for mode: <info>EIO_FALLOC_FL_KEEP_SIZE</info> (the
                       same as POSIX constant <info>FALLOC_FL_KEEP_SIZE</info>).
  <info>int</info>       <strong>$offset</strong>    Specifies start of the byte range.
  <info>int</info>       <strong>$length</strong>    Specifies length the byte range.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fallocate()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.


id: eio_fchmod
type: function
doc:
<comment>Description:</comment>
  Change file permissions
  
  <strong>eio_fchmod()</strong> changes permissions for the file specified by <strong>$fd</strong> file descriptor.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int</info>       <strong>$mode</strong>      The new permissions. E.g. 0644.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fchmod()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_fchown()</strong>


id: eio_fchown
type: function
doc:
<comment>Description:</comment>
  Change file ownership
  
  <strong>eio_fchown()</strong> changes ownership of the file specified by <strong>$fd</strong> file descriptor.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor.
  <info>int</info>       <strong>$uid</strong>       User ID. Is ignored when equal to -1.
  <info>int</info>       <strong>$gid</strong>       Group ID. Is ignored when equal to -1.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_chmod()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_fchmod()</strong>


id: eio_fdatasync
type: function
doc:
<comment>Description:</comment>
  Synchronize a file's in-core state with storage device
  
  <strong>eio_fdatasync()</strong> synchronizes a file's in-core state with storage device.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fdatasync()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.


id: eio_fstat
type: function
doc:
<comment>Description:</comment>
  Get file status
  
  <strong>eio_fstat()</strong> returns file status information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_busy()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_lstat()</strong>
   * <strong>eio_stat()</strong>


id: eio_fstatvfs
type: function
doc:
<comment>Description:</comment>
  Get file system statistics
  
  <strong>eio_fstatvfs()</strong> returns file system statistics in <strong>$result</strong> of <strong>$callback</strong>.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        A file descriptor of a file within the mounted file system.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fstatvfs()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_statvfs()</strong>


id: eio_fsync
type: function
doc:
<comment>Description:</comment>
  Synchronize a file's in-core state with storage device
  
  Synchronize a file's in-core state with storage device

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fsync()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_sync()</strong>


id: eio_ftruncate
type: function
doc:
<comment>Description:</comment>
  Truncate a file
  
  <strong>eio_ftruncate()</strong> causes a regular file referenced by <strong>$fd</strong> file descriptor to be truncated to
  precisely <strong>$length</strong> bytes.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor.
  <info>int</info>       <strong>$offset</strong>    Offset from beginning of the file
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_ftruncate()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_truncate()</strong>


id: eio_futime
type: function
doc:
<comment>Description:</comment>
  Change file last access and modification times
  
  <strong>eio_futime()</strong> changes file last access and modification times.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>
  <info>float</info>     <strong>$atime</strong>     Access time
  <info>float</info>     <strong>$mtime</strong>     Modification time
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_futime()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_utime()</strong>


id: eio_get_event_stream
type: function
doc:
<comment>Description:</comment>
  Get stream representing a variable used in internal communications with libeio
  
  <strong>eio_get_event_stream()</strong> acquires stream representing a variable used in internal communications
  with libeio. Could be used to bind with some event loop provided by other PECL extension, for
  example libevent.

<comment>Return:</comment>
  <info>mixed</info>  <strong>eio_get_event_stream()</strong> returns stream on success; otherwise, <info>null</info>


id: eio_get_last_error
type: function
doc:
<comment>Description:</comment>
  Returns string describing the last error associated with a request resource
  
  <strong>eio_get_last_error()</strong> returns string describing the last error associated with <strong>$req</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$req</strong>  The request resource

<comment>Return:</comment>
  <info>string</info>  <strong>eio_get_last_error()</strong> returns string describing the last error associated with the request
          resource specified by <strong>$req</strong>.
          
          Bu işlev
          DENEYSELDİR. Bu işlevin davranışı, ismi
          ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın
          değiştirilebilir. Bu risk göze alınamayacaksa bu işlev
          kullanılmamalıdır.


id: eio_grp
type: function
doc:
<comment>Description:</comment>
  Creates a request group
  
  <strong>eio_grp()</strong> creates a request group.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>string</info>    <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>string</info>    <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_grp()</strong> returns request group resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_grp_cancel()</strong>
   * <strong>eio_grp_add()</strong>


id: eio_grp_add
type: function
doc:
<comment>Description:</comment>
  Adds a request to the request group
  
  <strong>eio_grp_add()</strong> adds a request to the request group.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp</strong>  The request group resource returned by <strong>eio_grp()</strong>
  <info>resource</info>  <strong>$req</strong>  The request resource

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>eio_grp()</strong>
   * <strong>eio_grp_cancel()</strong>
   * <strong>eio_grp_limit()</strong>


id: eio_grp_cancel
type: function
doc:
<comment>Description:</comment>
  Cancels a request group
  
  <strong>eio_grp_cancel()</strong> cancels a group request specified by <strong>$grp</strong> request group resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp</strong>  The request group resource returned by <strong>eio_grp()</strong>.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>eio_grp()</strong>
   * <strong>eio_grp_add()</strong>


id: eio_grp_limit
type: function
doc:
<comment>Description:</comment>
  Set group limit
  
  Limit number of requests in the request group.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp</strong>    The request group resource.
  <info>int</info>       <strong>$limit</strong>  Number of requests in the group.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.

<comment>See Also:</comment>
   * <strong>eio_grp_add()</strong>


id: eio_init
type: function
doc:
<comment>Description:</comment>
  (Re-)initialize Eio
  
  <strong>eio_init()</strong> (re-)initializes Eio. It allocates memory for internal structures of libeio and Eio
  itself. You may call <strong>eio_init()</strong> before using Eio functions. Otherwise it will be called internally
  first time you invoke an Eio function in a process.
  
  This function was removed in version 3.0.0RC1 of the eio extension for PHP version 8 and higher.

<comment>Return:</comment>
  <info>void</info>  Hiçbir değer dönmez.


id: eio_link
type: function
doc:
<comment>Description:</comment>
  Create a hardlink for file
  
  <strong>eio_link()</strong> creates a hardlink <strong>$new_path</strong> for a file specified by <strong>$path</strong>.

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Source file path.
  <info>string</info>    <strong>$new_path</strong>  Target file path.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  

<comment>See Also:</comment>
   * <strong>eio_symlink()</strong>


id: eio_lstat
type: function
doc:
<comment>Description:</comment>
  Get file status
  
  <strong>eio_lstat()</strong> returns file status information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      The file path
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_lstat()</strong> returns request resource on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>eio_stat()</strong>
   * <strong>eio_fstat()</strong>


id: eio_mkdir
type: function
doc:
<comment>Description:</comment>
  Create directory
  
  <strong>eio_mkdir()</strong> creates directory with specified access <strong>$mode</strong>.

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Path for the new directory.
  <info>int</info>       <strong>$mode</strong>      Access mode, e.g. 0755
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_mkdir()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_rmdir()</strong>


id: eio_mknod
type: function
doc:
<comment>Description:</comment>
  Create a special or ordinary file
  
  <strong>eio_mknod()</strong> creates ordinary or special(often) file.
  
  Bu işlev hala
  belgelendirilmemiştir; sadece bağımsız değişken listesi
  mevcuttur.

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Path for the new node(file).
  <info>int</info>       <strong>$mode</strong>      Specifies both the permissions to use and the type of node to be created. It
                       should be a combination (using bitwise OR) of one of the file types listed
                       below and the permissions for the new node(e.g. 0640).
                        Possible file types are: <info>EIO_S_IFREG</info>(regular file), <info>EIO_S_IFCHR</info>(character
                       file), <info>EIO_S_IFBLK</info>(block special file), <info>EIO_S_IFIFO</info>(FIFO - named pipe) and
                       <info>EIO_S_IFSOCK</info>(UNIX domain socket).
                        To specify permissions EIO_S_I* constants could be used.
  <info>int</info>       <strong>$dev</strong>       If  the  file type is <info>EIO_S_IFCHR</info> or <info>EIO_S_IFBLK</info> then dev specifies the major
                       and minor numbers of the newly created device special file. Otherwise <strong>$dev</strong>
                       ignored. See mknod(2) man page for details.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_mknod()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_open()</strong>


id: eio_nop
type: function
doc:
<comment>Description:</comment>
  Does nothing, except go through the whole request cycle
  
  <strong>eio_nop()</strong> does nothing, except go through the whole request cycle. Could be useful in debugging.

<comment>Param:</comment>
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_nop()</strong> returns request resource on success, başarısızlık durumunda <info>false</info> döner.

<comment>See Also:</comment>
   * <strong>eio_busy()</strong>


id: eio_npending
type: function
doc:
<comment>Description:</comment>
  Returns number of finished, but unhandled requests
  
  <strong>eio_npending()</strong> returns number of finished, but unhandled requests

<comment>Return:</comment>
  <info>int</info>  <strong>eio_npending()</strong> returns number of finished, but unhandled requests.

<comment>See Also:</comment>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nthreads()</strong>


id: eio_nready
type: function
doc:
<comment>Description:</comment>
  Returns number of not-yet handled requests

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nready()</strong> returns number of not-yet handled requests

<comment>See Also:</comment>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nthreads()</strong>


id: eio_nreqs
type: function
doc:
<comment>Description:</comment>
  Returns number of requests to be processed
  
  <strong>eio_nreqs()</strong> could be called in a custom loop calling <strong>eio_poll()</strong>.

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nreqs()</strong> returns number of requests to be processed.

<comment>See Also:</comment>
   * <strong>eio_poll()</strong>
   * <strong>eio_nready()</strong>


id: eio_nthreads
type: function
doc:
<comment>Description:</comment>
  Returns number of threads currently in use

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nthreads()</strong> returns number of threads currently in use.

<comment>See Also:</comment>
   * <strong>eio_npending()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_set_max_idle()</strong>
   * <strong>eio_set_max_parallel()</strong>
   * <strong>eio_set_min_parallel()</strong>


id: eio_open
type: function
doc:
<comment>Description:</comment>
  Opens a file
  
  <strong>eio_open()</strong> opens file specified by <strong>$path</strong> in access mode <strong>$mode</strong> with

<comment>Param:</comment>
  <info>string</info>    <strong>$path</strong>      Path of the file to be opened.  In some SAPIs(e.g. PHP-FPM) it could fail, if
                       you don't specify full path.
                       
                       In some SAPIs(e.g. PHP-FPM) it could fail, if you don't specify full path.
  <info>int</info>       <strong>$flags</strong>     One of EIO_O_* constants, or their combinations. EIO_O_* constants have the
                       same meaning, as their corresponding O_* counterparts defined in <return>fnctl.h</return> C
                       header file. Default is <info>EIO_O_RDWR</info>.
  <info>int</info>       <strong>$mode</strong>      One of EIO_S_I* constants, or their combination (via bitwise OR operator).
                       The constants have the same meaning as their S_I* counterparts defined in
                       sys/stat.h C header file. Required, if a file is created. Otherwise ignored.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_open()</strong> returns file descriptor in <strong>$result</strong> argument of <strong>$callback</strong> on success;
            otherwise, <strong>$result</strong> is equal to <info>-1</info>.

<comment>See Also:</comment>
   * <strong>eio_mknod()</strong>


id: eio_poll
type: function
doc:
<comment>Description:</comment>
  Can be to be called whenever there are pending requests that need finishing
  
  <strong>eio_poll()</strong> can be used to implement special event loop. For this <strong>eio_nreqs()</strong> could be used to test
  if there are unprocessed requests.
  
  Applicable only when implementing userspace event loop.

<comment>Return:</comment>
  <info>int</info>  If any request invocation returns a non-zero value, returns that value. Otherwise, it returns
       <info>0</info>.

<comment>See Also:</comment>
   * <strong>eio_nreqs()</strong>


id: eio_read
type: function
doc:
<comment>Description:</comment>
  Read from a file descriptor at given offset
  
  <strong>eio_read()</strong> reads up to <strong>$length</strong> bytes from <strong>$fd</strong> file descriptor at <strong>$offset</strong>. The read bytes are
  stored in <strong>$result</strong> argument of <strong>$callback</strong>.

<comment>Param:</comment>
  <info>mixed</info>     <strong>$fd</strong>        Stream, Socket resource, or numeric file descriptor
  <info>int</info>       <strong>$length</strong>    Maximum number of bytes to read.
  <info>int</info>       <strong>$offset</strong>    Offset within the file.
  <info>int</info>       <strong>$pri</strong>       The request priority: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info>, or <info>null</info>.
                       If <info>null</info> passed, <strong>$pri</strong> internally is set to
                       <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  <strong>$callback</strong> function is called when the request is done.
                       It should match the following prototype: 
                       <strong>$data</strong>is custom data passed to the request.<strong>$result</strong>request-specific result
                       value; basically, the value returned by corresponding system call.<strong>$req</strong>is
                       optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
                       
                       is custom data passed to the request.
                       
                       request-specific result value; basically, the value returned by corresponding
                       system call.
                       
                       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      is custom data passed to the request.
  <info></info>          <strong>$result</strong>    request-specific result value; basically, the value returned by corresponding
                       system call.
  <info></info>          <strong>$req</strong>       is optional request resource which can be used with functions like
                       <strong>eio_get_last_error()</strong>
  <info>mixed</info>     <strong>$data</strong>      Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_read()</strong> stores read bytes in <strong>$result</strong> argument of <strong>$callback</strong> function.

<comment>See Also:</comment>
   * <strong>eio_open()</strong>
   * <strong>eio_write()</strong>
   * <strong>eio_close()</strong>
   * <strong>eio_event_loop()</strong>


