Techist - Tech Forum - View Single Post - Vocab

Click Here to Login
Thread: Vocab
View Single Post
Old 07-19-2011, 08:55 AM   #17 (permalink)
kmote
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Re: Vocab

Quote:
Originally Posted by murdocsvan View Post
Common PHP Operators(remove square brackets):

[++]-----increments integer variable
[--]-----decrements integer variable
[==]-----does equal
[!=]-----does not equal
[> ]-----greater than
[>=]-----greater than or equal to
[< ]-----less than
[<=]-----less than or equal to
[||]-----or
[&&]-----and
[.=]-----append
example:

$hello = "Hello ";
$world = "World!";
$hello .= $world;

hello variable now equals "Hello World!"

[+=]-----add/equals
example:

$int = 2;
$int += 8;
int variable now equals 10, the same as $int = 2 + 8;

will update with more at some later point
Thanks.
__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline   Reply With Quote
 


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 08:07 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.