3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen('http://skks.1xbet.org', 80, $err_no, $err_str, 5); $out = 'POST WebRegistrateUser HTTP/1.1 Host: test2.1xbet.lan Content-Type: application/json; charset=UTF-8 Content-Length: 210 Connection: Close {"date_time":"2016-06-17T12:49:31","source":2,"dep_id":8846131,"first_name":"qwe","middle_name":"qwe","last_name":"qwe","document_type":1,"document_country":"BLR","document_number":"123","document_issue":"qwe"}'; fwrite($fp, $out); $arr = []; if ($fp) { while (!feof($fp)) { $arr = json_decode(fgets($fp), true); } var_dump($arr); fclose($fp); } else { var_dump($err_no, $err_str); } echo date('Y-m-d\TH:i:s');
Output for 8.3.0 - 8.3.6
Warning: fsockopen(): Unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /in/r24na:13 Stack trace: #0 /in/r24na(13): fwrite(false, 'POST WebRegistr...') #1 {main} thrown in /in/r24na on line 13
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Warning: fsockopen(): Unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /in/r24na:13 Stack trace: #0 /in/r24na(13): fwrite(false, 'POST WebRegistr...') #1 {main} thrown in /in/r24na on line 13
Process exited with code 255.
Output for 7.3.30 - 7.3.31, 7.4.0 - 7.4.33
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(0) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.32 - 7.3.33
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(0) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T09:52:28
Output for 7.3.29
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21897) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.28
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21932) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.27
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21860) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.26
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21953) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.25
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21884) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.24
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21900) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.23
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21891) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.21
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21999) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.20
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21880) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.19
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21901) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.18
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(22085) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.17
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(21935) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.3.16
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, bool given in /in/r24na on line 13 int(22032) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.5.0, 5.5.3 - 5.5.5, 5.5.8 - 5.5.9, 5.5.11 - 5.5.13, 5.5.15, 5.5.18, 5.5.23 - 5.5.38, 5.6.0 - 5.6.12, 5.6.16 - 5.6.19, 5.6.22, 5.6.24 - 5.6.28, 7.1.5 - 7.1.6, 7.2.0 - 7.2.33
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(0) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.1.20
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32512) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.1.10
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32568) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.1.7
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32550) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.1.0
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32680) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.20
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32671) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.0, 7.0.3, 7.0.6 - 7.0.9
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(1) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.5
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32595) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.4
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32755) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.2
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32637) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 7.0.1
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32714) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.23
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32651) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.21
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32580) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.20
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32762) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.15
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32660) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.14
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32664) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.6.13
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32541) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.5.7, 5.5.10, 5.5.20 - 5.5.22
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32765) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.5.1, 5.5.6, 5.5.16, 5.5.19
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32764) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28
Output for 5.5.2, 5.5.14
Warning: fsockopen(): unable to connect to http://skks.1xbet.org:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/r24na on line 3 Warning: fwrite() expects parameter 1 to be resource, boolean given in /in/r24na on line 13 int(32767) string(97) "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" 2016-06-17T11:52:28

preferences:
193.86 ms | 402 KiB | 223 Q