<?php $purchaseSnapshot = ['type' => 'rock']; var_dump($purchaseSnapshot['type'] ?: null);
You have javascript disabled. You will not be able to edit any code.