Email Techs

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 31 October 2009

Full Guide of PHP Operators

Posted on 05:07 by Unknown

Well since i started using PHP i am certainly having problems with the my equations,
But i don't want it to happen to you guys so i have made this guide for you guys so
so you guys out there don't need to look around like me.php-logo

 

Well i have made these guide,
If you have any more suggestion then please suggest them through the comments.

If you like it useful then don't forget to BOOKMARK it . Thanks

Arithmetic Operators


Operator Description Example Result
+ Addition x=2
x+2
4
- Subtraction x=2
5-x
3
* Multiplication x=4
x*5
20
/ Division 15/5
5/2
3
2.5
% Modulus (division remainder) 5%2
10%8
10%2
1
2
0
++ Increment x=5
x++
x=6
-- Decrement x=5
x--
x=4

Assignment Operators


Operator Example Is The Same As
= x=y x=y
+= x+=y x=x+y
-= x-=y x=x-y
*= x*=y x=x*y
/= x/=y x=x/y
.= x.=y x=x.y
%= x%=y x=x%y


Comparison Operators


Operator Description Example
== is equal to 5==8 returns false
!= is not equal 5!=8 returns true
<> is not equal 5<>8 returns true
> is greater than 5>8 returns false
< is less than 5<8 returns true
>= is greater than or equal to 5>=8 returns false
<= is less than or equal to 5<=8 returns true


Logical Operators


Operator Description Example
&& and x=6
y=3

(x < 10 && y > 1) returns true

|| or x=6
y=3

(x==5 || y==5) returns false

! not x=6
y=3

!(x==y) returns true




Happy Halloween @hackerthedude

Email ThisBlogThis!Share to XShare to Facebook
Posted in PHP | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Dear Mozilla, Please “DONT” fix this. [Pic]
    Today only i found this pic on Digg and i thought there should be a “DONT” in it. isn't it ? ..
  • Ubisoft Hacked : Fake or Real ?
    Some days ago we got news about Ubisoft being hacked by some hackers and was being believed till yet but after then some news breached out...
  • VMWare Fusion 3.1 Beta On Grounds
    Check out the VMWare Fusion 3.1 Beta which have been out just now. Its includes some of the significant features which many of the users ha...
  • XBox Live Hacked or Suffering Connection Issues
    Today Xbox Live users are suffering some Connection Issues and this is excepted as yesterday only the Xbox live account of Xbox’s Live Prog...
  • Check Network Connectivity With Power of PowerShell [Script]
    Some days ago i got some scripts from one of my friend which was certain to use when pentesting stuff for Testing the internet connectivity ...
  • ‘New Moon” Fans Beware Of Hackers
    We are Getting Constant Rumors from many places that Hackers are going to target the the fans of the upcoming movie “New Moon” ...
  • New iPhone Worm That Attacks Jail Broken iPhones Also
    Well its again the iPhone which have come to the headlines again , But this time the apple is really pissed of with the kind of work the Ha...
  • Yeah, We are Back !
    Guys, i know its been a long time since i haven't blogged the things in information sec. but if you see it was worth it. I got to learn...
  • Ophcrack Guide : Hack Any Password In Windows
    There might be many times you have heard of Ophcrack, now what is actually it well is a popular to crack passwords in windows. Many...
  • MacOSX Gets Massive Security Update
    This is kinda weird but safe for the users at the same time Apple have just launched the update for the Mac OSX with a severe patchment of 9...

Categories

  • Broadband
  • cyberwar
  • Ebooks
  • email
  • Gamers
  • Guides
  • Hacked
  • Hacker The Dude News
  • Hacking
  • Hacking Software
  • keylogger
  • Misc
  • Mobie's
  • News
  • Orkut
  • PHP
  • Pics
  • Pro Hacks
  • Small Hacks
  • Stylize
  • Tools
  • Torrent
  • Tricks
  • Twitter
  • Video's
  • Virus's
  • Weekly Top 10 Internet Tools
  • Windows
  • XSS

Blog Archive

  • ►  2010 (32)
    • ►  March (7)
    • ►  February (3)
    • ►  January (22)
  • ▼  2009 (123)
    • ►  December (34)
    • ►  November (30)
    • ▼  October (24)
      • Full Guide of PHP Operators
      • How to install windows vista [ Funny ]
      • How to make a fake virus in windows easily
      • A snippet in php to know your ip Address
      • Hacking with Sub 7 : Hack Any Computer with Sub 7 ...
      • Remap ‘E’ Key to close Microsoft Word Prank
      • PW Show : Revel passwords behind the Hashes
      • How to Hack any Gmail Account
      • Man-In-The-Middle attack (MITM)
      • Twitter Hack History
      • Logon Warning hack
      • 3 Ways to View hidden files in Vista
      • Basic Batch File Programming
      • 35+ Nokia Cheat Codes
      • How to Rename Recycle Bin
      • Which Linux To Choose
      • Spam your friend !!
      • Check Your Password Strength !!
      • Hacking iPhone
      • Top 10 Internet tools #4
      • µTorrent Hidden Hack
      • Logon Automatically
      • Top 100 Security Tools
      • Hackoft #1
    • ►  September (9)
    • ►  August (6)
    • ►  July (1)
    • ►  June (3)
    • ►  May (16)
Powered by Blogger.

About Me

Unknown
View my complete profile