About

Andrew Culver, a web development manager, has been very busy this year and hasn’t made the time to update his blog. Shame on me.

Please forgive me as I attempt to get syntax highlighting working to my liking.

  1.  
  2. <?php
  3. /**
  4.  * Some class
  5.  * @author Andrew Culver <andrew.culver@gmail.com>
  6.  */
  7. class Some_Class
  8. {
  9.     protected function something()
  10.     {
  11.         return "Some result!";
  12.     }
  13. }
  14.  
  15. // Some comment.
  16. $output = Some_Factory::create(‘Some_Class’)
  17.     ->setSomeProperty(‘Some Value’)
  18.     ->something();
  19. echo "The result was ‘{$output}’.\n";

Wow. After a little tweaking, I’m really happy about that. The results are pretty much the same as my TextWrangler settings.

Leave a Reply

You must be logged in to post a comment.