<?php $foo = new ArrayObject(); $bar = new ArrayObject(); $bar[] = null; $foo[] = $bar; var_dump(json_encode($foo));
You have javascript disabled. You will not be able to edit any code.