3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr += array_fill_keys(array(), true);

preferences:
33.46 ms | 402 KiB | 5 Q