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;
?>
The following code shows how to use the silence operator.
<?php/*from ww w . ja v a2s . co m*/
$a = 7;
$b = 0;
//suppress division-by-zero warning
@ $c = $a / $b;
?>