3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tasks = array(); $tasks['hello'][] = 42; $tasks['hello'][] = 23; var_dump($tasks); $tasks2['hello'][] = 42; $tasks2['hello'][] = 23; var_dump($tasks2);
Output for 4.3.0 - 7.2.0
array(1) { ["hello"]=> array(2) { [0]=> int(42) [1]=> int(23) } } array(1) { ["hello"]=> array(2) { [0]=> int(42) [1]=> int(23) } }