3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /* http://php.net/manual/en/function.socket-create-listen.php Return Values socket_create_listen() returns a new socket resource on success or FALSE on error. The error code can be retrieved with socket_last_error(). This code may be passed to socket_strerror() to get a textual explanation of the error. */ $failure = '65537' // 17 bits.. var_export(socket_create_listen($failure));
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected 'var_export' (T_STRING) in /in/hF8U9 on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/hF8U9 on line 11
Process exited with code 255.