3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = socket_create(0,1,1);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function socket_create() in /in/gj3QI:3 Stack trace: #0 {main} thrown in /in/gj3QI on line 3
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Fatal error: Call to undefined function socket_create() in /in/gj3QI on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Warning: socket_create(): invalid socket domain [0] specified for argument 1, assuming AF_INET in /in/gj3QI on line 3 Warning: socket_create(): Unable to create socket [93]: Protocol not supported in /in/gj3QI on line 3