What does this ~ operator mean here?

前端 未结 5 1907
清酒与你
清酒与你 2020-12-06 10:54

Example:

set_error_handler(array($this, \'handleError\'), E_ALL & ~E_STRICT & ~E_WARNING & ~E_NOTICE);

what does that suppose t

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 11:03

    It's the not bitwise operator. Read about bitwise operators here:

    http://php.net/manual/en/language.operators.bitwise.php

提交回复
热议问题