> Have you thought about using instant messaging? How about sending the code > to him via text message? Putting it on a pastie or on code pad? IRC, sFTP, > SSH, you see, in the 21st century, there exists a plethora of solutions to > circumvent this particular "issue". > > I would be interested in finding out how the OP ended up having absolutely > no option but to pass code to another Homo Sapien verbally? Unless you > managed to cripple your system and disconnect your company from the > internet, surely, it would have been faster (and easier) using the methods > above rather than trying to spell it out over the phone. > It's called "vacation away from the 'net but there is an emergency". I'm certain that a fair portion of the list is familiar with that! > In any case, I would say: > > "Call the getServiceId method of the $item object and make that the > condition of a ternary opertor, if true, call the method again, otherwise > call the getId method of the $item object" > Thanks! > I'm guessing the reason you were on the phone to him/her was because your > parentheses don't match ... but that's a different story I guess. > That actually sounds like a subplot of a good movie. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php