_From @valVk on April 22, 2015 23:14_ The code `chmod(file, 0666 & ~umask());` produces the error `Scanner error: -2 umask());` http://php.net/manual/en/language.operators.bitwise.php Thanks. _Copied from original issue: phalcon/zephir#908_