Bluehost.com Web Hosting $6.95

Can someone tell me what a tilde means ?

This is a discussion on Can someone tell me what a tilde means ? within the PHP General forums, part of the PHP Programming Forums category; The humble tilde (~). I came across it the other day in some PHP code Code: ~E_ERROR I'm curious, can'...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Tony Collings
 
Posts: n/a
Default Can someone tell me what a tilde means ?

The humble tilde (~). I came across it the other day in some PHP code
Code:
~E_ERROR
I'm curious, can't find any documentation on it. In math it refers to
propostional logic, is it the same thing in PHP ?


Reply With Quote
  #2 (permalink)  
Old 04-08-2008
Németh Zoltán
 
Posts: n/a
Default Re: [PHP] Can someone tell me what a tilde means ?

> The humble tilde (~). I came across it the other day in some PHP code
>
Code:
~E_ERROR
>
> I'm curious, can't find any documentation on it. In math it refers to
> propostional logic, is it the same thing in PHP ?


~ $a Not Bits that are set in $a are not set, and vice versa.

http://hu.php.net/manual/en/language...rs.bitwise.php

greets,
Zoltán Németh

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0