3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $w = 2000; $h = 5000; $height = 1500; $width = ($w/$h)*$height; echo $width.'x'.$height; $tab = array(array('test' =>'toto','a'=>'plop'), array('test' =>'toto2','a'=>'plop2')); foreach($tab as $key => $value) { $tab[$key] = implode(',',$value); } echo '('.implode('),(',$tab).')';
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
600x1500(toto,plop),(toto2,plop2)
Output for hhvm-3.10.0

Process exited with code 153.