5 years ago in PHP Operators

Which is the Negation operator in PHP?

[A] -$a
[B] $a / $b
[C] $a % $b
[D] $a ** $b
Loading...
Next Question

Overall Stats

Attempted 74
Correct 36
Incorrect 10
Viewed 28

Answers

Guest
Guest
Dhanashree Shinde
Dhanashree Shinde - 3 weeks ago

Dhanashree Shinde from Pune, India is saying -$a is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying -$a is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying -$a is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying -$a is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying -$a is correct answer

Related Questions

Which is the string operator in php

  • [A] .
  • [B] .=
  • [C] ==
  • [D] (i) and (ii)

Which of the following is PHP Logical Operator?

  • [A] AND
  • [B] OR
  • [C] XOR
  • [D] ALL of the above

How we can do Pre-Increment of a Variable?

  • [A] $a++
  • [B] $a+$a
  • [C] ++$a
  • [D] None of above

What is the output of below code.
<?php
$x = 1;
$y = "1";
var_dump($x === $y);
?>

  • [A] bool(false)
  • [B] bool(true)
  • [C] bool()
  • [D] None of the above