<?php $checkedResult = array(); if(empty($checkResult)){ $checkedResult['newItem'] = 'new Value';} print_r($checkedResult);
Standard input is empty
Array ( [newItem] => new Value )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!