Re: How to pronounce PHP code over the phone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:
> How would you read this out loud if you were to read it to someone
> over  the phone?
> 
> ($item->getServiceId() ? $item->getServiceId() : $item->getId())));
> 
> Thanks!
> 

FATAL ERROR: Non matching parenthesis.


Ok, but really, I would say something along these lines:


Open Conditional statement

Test Condition
	Using object variable "item" call object member method "get service id"

if condition results are true issue following command
	Using object variable "item" call object member method "get service id"

if condition results are false issue following command
	Using object variable "item" call object member method "get id"


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux