title: Is there a shorthand way to set many object properties?
body: <p>Because I'm lazy I was wondering if PHP has a shorthand way to set properties like this...</p>
  
  <pre><code>with $person_object {
      -&gt;first_name = 'John';
      -&gt;last_name = 'Smith';
      -&gt;email = 'spam_me@this-place.com';
  }
  </code></pre>
  
  <p>Is there anything like this? Or, is there a lazy way to set properties without having to type <code>$person_object</code> over and over again?</p>