3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(stream_get_transports());
Output for 7.0.0 - 7.1.0
array(9) { [0]=> string(3) "tcp" [1]=> string(3) "udp" [2]=> string(4) "unix" [3]=> string(3) "udg" [4]=> string(3) "ssl" [5]=> string(3) "tls" [6]=> string(7) "tlsv1.0" [7]=> string(7) "tlsv1.1" [8]=> string(7) "tlsv1.2" }
Output for 5.6.0 - 5.6.28
array(10) { [0]=> string(3) "tcp" [1]=> string(3) "udp" [2]=> string(4) "unix" [3]=> string(3) "udg" [4]=> string(3) "ssl" [5]=> string(5) "sslv3" [6]=> string(3) "tls" [7]=> string(7) "tlsv1.0" [8]=> string(7) "tlsv1.1" [9]=> string(7) "tlsv1.2" }
Output for 5.5.34 - 5.5.38
array(7) { [0]=> string(3) "tcp" [1]=> string(3) "udp" [2]=> string(4) "unix" [3]=> string(3) "udg" [4]=> string(3) "ssl" [5]=> string(5) "sslv3" [6]=> string(3) "tls" }
Output for 5.4.15 - 5.5.33
array(8) { [0]=> string(3) "tcp" [1]=> string(3) "udp" [2]=> string(4) "unix" [3]=> string(3) "udg" [4]=> string(3) "ssl" [5]=> string(5) "sslv3" [6]=> string(5) "sslv2" [7]=> string(3) "tls" }
Output for 5.0.0 - 5.4.14
array(4) { [0]=> string(3) "tcp" [1]=> string(3) "udp" [2]=> string(4) "unix" [3]=> string(3) "udg" }
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: stream_get_transports() in /in/B4UM7 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: stream_get_transports() in /in/B4UM7 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: stream_get_transports() in /in/B4UM7 on line 3