<?php $counts = []; $item = 1; $counts[$item] ?? $counts[$item] = 1 ?? $counts[$item]++; var_dump($counts); $item = new StdClass; @$counts[$item] = "This is a bad use of error suppression.";
You have javascript disabled. You will not be able to edit any code.