3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['' => 1]; var_dump($a[''] ?? 3); var_dump($a[''] ?: 2);
Output for 7.3.0rc3
int(1) int(1)