3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id=$_GET["id"]; $session1 = "p7h9asa2dtctql4"; header("Content-type: text/plain"); $cadena = base64_encode("format=1&profile=$id&&lan=2&rows=40&session=$session1"); $a= "https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=$cadena&f=.m3u8"; $página_inicio = file_get_contents ($a); echo $página_inicio; ?>
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Undefined array key "id" in /in/ZlsQ3 on line 2 Warning: Cannot modify header information - headers already sent by (output started at /in/ZlsQ3:2) in /in/ZlsQ3 on line 4 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZlsQ3 on line 7 Warning: file_get_contents(): open_basedir restriction in effect. File(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZlsQ3 on line 7 Warning: file_get_contents(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8): Failed to open stream: Operation not permitted in /in/ZlsQ3 on line 7
Output for 8.0.13
Warning: Undefined array key "id" in /in/ZlsQ3 on line 2 Warning: Cannot modify header information - headers already sent by (output started at /in/ZlsQ3:2) in /in/ZlsQ3 on line 4 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZlsQ3 on line 7 Warning: file_get_contents(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8): Failed to open stream: No such file or directory in /in/ZlsQ3 on line 7
Output for 7.4.33
Notice: Undefined index: id in /in/ZlsQ3 on line 2 Warning: Cannot modify header information - headers already sent by (output started at /in/ZlsQ3:2) in /in/ZlsQ3 on line 4 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZlsQ3 on line 7 Warning: file_get_contents(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8): failed to open stream: No such file or directory in /in/ZlsQ3 on line 7
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
Notice: Undefined index: id in /in/ZlsQ3 on line 2 Warning: Cannot modify header information - headers already sent by (output started at /in/ZlsQ3:2) in /in/ZlsQ3 on line 4 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZlsQ3 on line 7 Warning: file_get_contents(): open_basedir restriction in effect. File(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZlsQ3 on line 7 Warning: file_get_contents(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8): failed to open stream: Operation not permitted in /in/ZlsQ3 on line 7
Output for 7.3.32 - 7.3.33
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZlsQ3 on line 7 Warning: file_get_contents(https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=Zm9ybWF0PTEmcHJvZmlsZT0mJmxhbj0yJnJvd3M9NDAmc2Vzc2lvbj1wN2g5YXNhMmR0Y3RxbDQ=&f=.m3u8): failed to open stream: No such file or directory in /in/ZlsQ3 on line 7

preferences:
273.81 ms | 402 KiB | 339 Q