3v4l.org

run code in 300+ PHP versions simultaneously
<?php $capabilities = []; $capabilities['a'][] = 't1'; $capabilities['a'][] = 't2'; var_dump($capabilities); array_merge($capabilities,null);

preferences:
28.95 ms | 405 KiB | 5 Q