GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a PhP guru! read inside (https://gfy.com/showthread.php?t=123882)

Candyman69 04-09-2003 11:21 AM

Need a PhP guru! read inside
 
Hey i need a php expert to give me some troubleshooting/consulting, i'll pay for the services
please icq me 58663839

foe 04-09-2003 11:27 AM

:thumbsup

European Lee 04-09-2003 11:50 AM

Candyman,

http://www.sourcecoding.com does programming consultations feel free to drop an email to our lead developer at [email protected]

Regards,

Lee

Candyman69 04-09-2003 12:10 PM

Thanks Foe, and many others for helping

If any of you guys need programming done

FOe would be your man =)

Candyman69 04-09-2003 12:11 PM

Quote:

Originally posted by European Lee
Candyman,

http://www.sourcecoding.com does programming consultations feel free to drop an email to our lead developer at [email protected]

Regards,

Lee

Lee whats your icq

rossiya2 04-09-2003 12:42 PM

Has anyone noticed the PHP conditional logic doesn't extend to scalars?

This gives $result a concrete value as it should:
$result = (1 = = 2) ? 1 : 0;

This however sets $result to an empty string [as best I can guess]
$result = (1 = = 2);

While the (1 = = 2) works perfectly in control structures.

Lane 04-09-2003 12:48 PM

Quote:

Originally posted by rossiya2
Has anyone noticed the PHP conditional logic doesn't extend to scalars?

This gives $result a concrete value as it should:
$result = (1 = = 2) ? 1 : 0;

This however sets $result to an empty string [as best I can guess]
$result = (1 = = 2);

While the (1 = = 2) works perfectly in control structures.

what exactly were you expecting?

European Lee 04-09-2003 12:52 PM

Candyman,

107713480 :thumbsup

Regards,

Lee

rossiya2 04-09-2003 01:18 PM

Quote:

Originally posted by Lane


what exactly were you expecting?

Any other language should return bivalent [true/false] or trivalent [yes/no/dunno] flags not an empty string.

Maybe it's something that will draw attention in version 5. These tailings seem to be ignored in languages until the ANSI comittee review. C was full of holes for a decade.


All times are GMT -7. The time now is 07:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123