chobie/php-uv — pull request #54 by rdlowrey (2014-06-18 14:07:05+00:00)
Title: Add UV::S_IFDIR + UV::S_IFREG constants

This PR adds two new constants:

- `UV::S_IFDIR`
- `UV::S_IFREG`

These constants allow differentiation between regular files (S_IFREG) and directories (S_IFDIR) when used for bitwise AND operations against the `"mode"` value returned from `uv_fs_stat/fstat/lstat()`.

Example:

```php