3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo function_exists("socket_import_stream"), "\n"; echo defined("SOL_SOCKET"), "\n"; echo defined("SO_KEEPALIVE"), "\n";
Output for 5.4.36 - 5.6.28, 7.0.0 - 7.1.0
Output for 4.3.0 - 5.3.29, hhvm-3.10.0 - 3.12.0
1 1
Output for 5.4.0 - 5.4.35
1 1 1