3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($x[], $x[], $x[], $x[]) = ['azul', 'amarelo', 'vermelho', 'verde']; echo $x[3].'-'.$x[1].'-'.$x[2];
based on vnbXt
Output for 7.0.0 - 7.2.0
verde-amarelo-vermelho
Output for 5.4.0 - 5.6.28
azul-vermelho-amarelo