downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

stream_get_wrappers> <stream_get_meta_data
[edit] Last updated: Fri, 17 May 2013

view this page in

stream_get_transports

(PHP 5)

stream_get_transportsEtkin soket aktarımlarının listesini döndürür

Açıklama

array stream_get_transports ( void )

Kurulu sistemdeki kullanılabilir soket aktarımlarının listesini döndürür.

Dönen Değerler

Kurulu sistemdeki kullanılabilir soket aktarımlarının isimlerini içeren indisli bir dizi döndürür.

Örnekler

Örnek 1 - stream_get_transports() örneği

<?php
$xportlist 
stream_get_transports();
print_r($xportlist);
?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

Array
(
    [0] => tcp
    [1] => udp
    [2] => unix
    [3] => udg
    [4] => ssl
    [5] => sslv3
    [6] => sslv2
    [7] => tls
)

Ayrıca Bakınız



add a note add a note User Contributed Notes stream_get_transports - [1 notes]
up
-1
abschipriota-varios0001 at yahoo dot com dot mx
5 years ago
If you can't get the ssl protocol as a registered transport protocol even though you has add the extension=php_openssl.dll line on php.ini, maybe you haven't the libeay32.dll and / or ssleay32.dll files on your installation or in system32 folder.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites