3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump($flags = STREAM_CLIENT_CONNECT | STREAM_CLIENT_ASYNC_CONNECT);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
int(6)
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant STREAM_CLIENT_CONNECT - assumed 'STREAM_CLIENT_CONNECT' in /in/E2Fcs on line 4 Notice: Use of undefined constant STREAM_CLIENT_ASYNC_CONNECT - assumed 'STREAM_CLIENT_ASYNC_CONNECT' in /in/E2Fcs on line 4 string(27) "STREAM_CLIENT_C__NG_WONNECT"