downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

variant_int> <variant_idiv
[edit] Last updated: Fri, 17 May 2013

view this page in

variant_imp

(PHP 5)

variant_impPerforms a bitwise implication on two variants

Descrição

mixed variant_imp ( mixed $left , mixed $right )

Performs a bitwise implication operation.

Parâmetros

left

The left operand.

right

The right operand.

Nota:

Assim como todas as funções aritméticas variant, os parâmetros para esta função podem ser qualquer um tipo nativo do PHP (integer, string, ponto flutuante, booleano ou NULL), ou uma instancia de uma classe COM, VARIANT ou DOTNET. Tipos nativos do PHP será convertido para variants usando a mesma regra como encontrado no construtor para a classe VARIANT. Objetos COM e DOTNET terão o valor de suas propriedades padrão obtidos e usados como valor variant.

As funções aritméticas variant são wrappers para as chamadas similarmente funções na biblioteca COM; para mais informação sobre estas funções, consulte a biblioteca MSDN. As funções PHP são nomeadas ligeiramente diferentes; por exemplo variant_add() no PHP corresponde a VarAdd() na documentação MSDN.

Valor Retornado

Variant Implication Table
If left is If right is then the result is
TRUETRUETRUE
TRUEFALSETRUE
TRUENULLTRUE
FALSETRUETRUE
FALSEFALSETRUE
FALSENULLTRUE
NULLTRUETRUE
NULLFALSENULL
NULLNULLNULL



add a note add a note User Contributed Notes variant_imp - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites