3v4l.org

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