3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cookie = "PHPSESSID=79bc47552fbcf7b07f0ccb3624c3b11b; login=OWYxMjM4ZjU0MmYzYTg5NjM4ZTk%3D"; $this->cookie = $cookie; $data = $this->curl("http://simply-debrid.com/inc/name.php?j=".base64_encode($url),$cookie,'',0); if(preg_match('%(http\:\/\/.*?)%U', $data, $linkpre) && stristr($data,"sd.php")){ $link = trim($linkpre[1]); $size_name = Tools_get::size_name($link, $this->cookie); $filesize = $size_name[0]; $filename = $size_name[1]; } elseif (stristr($data,"NOT SUPPORTED")) die('not support by simply-debrid.com'); elseif (stristr($data,"UNDER MAINTENANCE")) die('UNDER MAINTENANCE'); else { $cookie = ""; $this->save_cookies("simply-debrid.com",""); } /* * Home page: http://vinaget.us * Blog: http://blog.vinaget.us * Script Name: Vinaget * Version: 2.6.3 * Created: Markov (Saturday, November 30, 2013) */ ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Using $this when not in object context in /in/27TN4:3 Stack trace: #0 {main} thrown in /in/27TN4 on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
Fatal error: Using $this when not in object context in /in/27TN4 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined method: stdClass->curl() in /in/27TN4 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: curl() in /in/27TN4 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: curl() in /in/27TN4 on line 4

preferences:
242.53 ms | 401 KiB | 397 Q