PHP爆炸填充键而不是值

假设您有一个逗号分隔的字符串:

$str = 'a,b,c';

Calling explode(',', $str); will return the following:

array('a', 'b', 'c')

有没有一种爆炸方法可以填充结果数组的键而不是值?像这样:

array('a' => null, 'b' => null, 'c' => null)