3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $l = socket_create_listen('65537'); var_export($l);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function socket_create_listen() in /in/ZZZvV:2 Stack trace: #0 {main} thrown in /in/ZZZvV on line 2
Process exited with code 255.
Output for hhvm-3.12.0
Warning: unable to bind to given address [13]: Permission denied in /in/ZZZvV on line -1 false
Output for hhvm-3.10.0
Warning: unable to bind to given address [13]: Permission denied in /in/ZZZvV on line 2 false
Output for 5.4.36 - 5.6.28
Fatal error: Call to undefined function socket_create_listen() in /in/ZZZvV on line 2
Process exited with code 255.
Output for 5.2.10 - 5.4.35
Warning: socket_create_listen(): unable to bind to given address [13]: Permission denied in /in/ZZZvV on line 2 false
Output for 5.0.0 - 5.2.9
Warning: socket_create_listen(): unable to bind to given adress [13]: Permission denied in /in/ZZZvV on line 2 false
Output for 4.3.0 - 4.4.9
Warning: socket_create_listen() unable to bind to given adress [13]: Permission denied in /in/ZZZvV on line 2 false