> -----Original Message----- > From: Dotan Cohen [mailto:dotancohen@xxxxxxxxx] > Sent: Friday, October 16, 2009 8:46 AM > To: php-general. > Subject: How to pronounce PHP code over the phone? > > How would you read this out loud if you were to read it to someone > over the phone? > > ($item->getServiceId() ? $item->getServiceId() : $item->getId()))); Open paren. Dollar-sign "item" de-ref getServiceID method. Question mark. Dollar-sign "item" de-ref getServiceID method again. Colon. Dollar-sign "item" de-ref getID method. Close up matching parenthesis. http://en.wikipedia.org/wiki/Reference_%28computer_science%29 I would also suggest s/he and I use a tool such as: http://snipt.org/oGg http://pastebin.com/m5b1d82b2 http://pastie.org/662703 http://gist.github.com/214652 For more real-time collaboration and sharing of code fragments. Daevid. http://daevid.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php