<?php $foo = null; echo serialize(['brand_user_id' => 123, 'last_login_dt' => $foo ? $foo->format('Y-m-d') : null]);
You have javascript disabled. You will not be able to edit any code.