3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('wordid' => 0, 'type' => 1); $array['guess'] = 4; $array[] = 4; $array[] = 4; //shuffle($array); var_dump($array); ?>
based on 07Hbg
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(5) { ["wordid"]=> int(0) ["type"]=> int(1) ["guess"]=> int(4) [0]=> int(4) [1]=> int(4) }