3v4l.org

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

preferences:
11.28 ms | 404 KiB | 5 Q