<?php $user = new stdClass(); $user->id = 1; $user->name = 'John Doe'; $foobar = array('foo' => 'bar', 'user' => $user); echo serialize($foobar);
You have javascript disabled. You will not be able to edit any code.