Use the silence operator in PHP

Description

The following code shows how to use the silence operator.

Example


<?php/*from  ww  w . ja  v a2s . co  m*/
  $a = 7;
  $b = 0;

  //suppress division-by-zero warning
  @ $c = $a / $b;
?>




















Home »
  PHP Tutorial »
    Language Basic »




PHP Introduction
PHP Operators
PHP Statements
Variable
PHP Function Create
Exception
PHP Class Definition