3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.1.0
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 hhvm-3.12.0
Fatal error: Uncaught Error: $this is null in /in/27TN4:3 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: $this is null in /in/27TN4 on line 3
Process exited with code 255.
Output for 5.0.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.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