3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function red($destination){ $headers = get_headers($destination, 1); return $headers['Location']; } function ara($bas, $son, $yazi) { @preg_match_all('/' . preg_quote($bas, '/') . '(.*?)'. preg_quote($son, '/').'/i', $yazi, $m); return @$m[1]; } $id = "12400"; $idarti= $id + 1; $dosya = fopen(linkler.txt, 'a'); $bul = red("http://apkgalaxy.com/?p=$id"); $site = $bul; $icerik = file_get_contents($site); $asd= ara('<strong class="title"><a href=',' rel=nofollow target="_blank">',$icerik); $ke= $asd[0]; $kes=substr($ke, 33); $link="http://safelinkconverter1.com/decrypt-1/$kes"; $icerik2= file_get_contents($link); $ax= ara('window.open','Visit Link',$icerik2); $sonkes=substr_replace($ax[0],'',-16); $sonkes2=substr($sonkes,2); $asdd= file_get_contents($sonkes2); $sonko=ara('window.open','Download',$asdd); $sono=substr_replace($sonko[0],'',-15); $sonoo=substr($sono,2); $sonooo=file_get_contents($sonoo); $linkcek = ara("var src =",' if',$sonooo); echo $linkcek[0]; ?>
Output for 5.3.0 - 5.4.41, 5.5.24 - 5.5.31, 5.5.34 - 5.6.17, 5.6.20 - 5.6.28, 7.0.0 - 7.0.3, 7.0.5 - 7.1.0
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 17 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 26 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 30 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 5.4.42 - 5.4.45, 5.5.32 - 5.5.33, 5.6.18 - 5.6.19, 7.0.4
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: System error in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/GkAWu on line 3 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 17 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 26 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 30 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for hhvm-3.12.0
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line -1 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line -1 Warning: Permission denied in /in/GkAWu on line -1 Warning: Filename cannot be empty in /in/GkAWu on line -1 Notice: Undefined index: 0 in /in/GkAWu on line -1 Warning: Failed to open http://safelinkconverter1.com/decrypt-1/ (Could not resolve host: safelinkconverter1.com) in /in/GkAWu on line -1 Notice: Undefined index: 0 in /in/GkAWu on line -1 Warning: Filename cannot be empty in /in/GkAWu on line -1 Notice: Undefined index: 0 in /in/GkAWu on line -1 Warning: Filename cannot be empty in /in/GkAWu on line -1 Notice: Undefined index: 0 in /in/GkAWu on line -1
Output for hhvm-3.10.0
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: Permission denied in /in/GkAWu on line 14 Warning: Filename cannot be empty in /in/GkAWu on line 17 Notice: Undefined index: 0 in /in/GkAWu on line 19 Warning: Failed to open http://safelinkconverter1.com/decrypt-1/ (Could not resolve host: safelinkconverter1.com) in /in/GkAWu on line 22 Notice: Undefined index: 0 in /in/GkAWu on line 24 Warning: Filename cannot be empty in /in/GkAWu on line 26 Notice: Undefined index: 0 in /in/GkAWu on line 28 Warning: Filename cannot be empty in /in/GkAWu on line 30 Notice: Undefined index: 0 in /in/GkAWu on line 32
Output for 5.2.9 - 5.2.17
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 17 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 26 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Warning: file_get_contents(): Filename cannot be empty in /in/GkAWu on line 30 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 5.2.6 - 5.2.8
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 5.0.3 - 5.2.5
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: Connection refused in /in/GkAWu on line 3 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: Connection refused in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 5.0.1 - 5.0.2
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: gethostbyname failed in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: Success in /in/GkAWu on line 3 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: gethostbyname failed in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: Success in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 5.0.0
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Warning: get_headers(): php_network_getaddresses: gethostbyname failed in /in/GkAWu on line 3 Warning: get_headers(http://apkgalaxy.com/?p=12400): failed to open stream: Bad file descriptor in /in/GkAWu on line 3 Notice: Undefined offset: 0 in /in/GkAWu on line 19 Warning: file_get_contents(): php_network_getaddresses: gethostbyname failed in /in/GkAWu on line 22 Warning: file_get_contents(http://safelinkconverter1.com/decrypt-1/): failed to open stream: Bad file descriptor in /in/GkAWu on line 22 Notice: Undefined offset: 0 in /in/GkAWu on line 24 Notice: Undefined offset: 0 in /in/GkAWu on line 28 Notice: Undefined offset: 0 in /in/GkAWu on line 32
Output for 4.4.5 - 4.4.9
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Fatal error: Call to undefined function: get_headers() in /in/GkAWu on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt): failed to open stream: Permission denied in /in/GkAWu on line 14 Fatal error: Call to undefined function: get_headers() in /in/GkAWu on line 3
Process exited with code 255.
Output for 4.3.1
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt) [http://www.php.net/function.fopen]: failed to create stream: Permission denied in /in/GkAWu on line 14 Fatal error: Call to undefined function: get_headers() in /in/GkAWu on line 3
Output for 4.3.0
Notice: Use of undefined constant linkler - assumed 'linkler' in /in/GkAWu on line 14 Notice: Use of undefined constant txt - assumed 'txt' in /in/GkAWu on line 14 Warning: fopen(linklertxt) [http://www.php.net/function.fopen]: failed to create stream: Read-only file system in /in/GkAWu on line 14 Fatal error: Call to undefined function: get_headers() in /in/GkAWu on line 3