3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = (array) ['123', 321]; var_dump($array);
Output for 5.6.30
array(2) { [0]=> string(3) "123" [1]=> int(321) }