fork download
  1. <?php
  2.  
  3. // http://w...content-available-to-author-only...p.net/manual/en/errorfunc.constants.php
  4.  
  5. echo 'E_ALL: '.E_ALL . PHP_EOL;
  6. echo 'E_DEPRECATED: '. E_DEPRECATED . PHP_EOL;
  7. echo '~E_DEPRECATED: '. ~E_DEPRECATED . PHP_EOL;
  8. echo 'E_ALL & E_DEPRECATED: ' . (E_ALL & E_DEPRECATED) . PHP_EOL;
  9. echo 'E_ALL & ~E_DEPRECATED: '. (E_ALL & ~E_DEPRECATED) . PHP_EOL;
  10. echo 'E_ALL | E_DEPRECATED: ' . (E_ALL | E_DEPRECATED) . PHP_EOL;
  11. echo 'E_ALL | ~E_DEPRECATED: '. (E_ALL | ~E_DEPRECATED) . PHP_EOL;
  12. echo 'E_ALL ^ E_DEPRECATED: ' . (E_ALL ^ E_DEPRECATED) . PHP_EOL;
  13. echo 'E_ALL ^ ~E_DEPRECATED: '. (E_ALL ^ ~E_DEPRECATED) . PHP_EOL;
  14.  
  15.  
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
E_ALL: 32767
E_DEPRECATED: 8192
~E_DEPRECATED: -8193
E_ALL & E_DEPRECATED: 8192
E_ALL & ~E_DEPRECATED: 24575
E_ALL | E_DEPRECATED: 32767
E_ALL | ~E_DEPRECATED: -1
E_ALL ^ E_DEPRECATED: 24575
E_ALL ^ ~E_DEPRECATED: -24576