Bang !¶
! is a character, used in various situations:
Not operator:
var_dump(!1)is falseAs a wildcard in regex
As a wildcard with
fnmatch().
<?php
var_dump(!1);
?>
Related : Not Operator, ~ Tilde, fnmatch(), Not Operator
! is a character, used in various situations:
Not operator: var_dump(!1) is false
As a wildcard in regex
As a wildcard with fnmatch().
<?php
var_dump(!1);
?>
Related : Not Operator, ~ Tilde, fnmatch(), Not Operator
The definitive reference with all things PHP, and their definitions.
Contents: