foo9/blank_present

The blank and present function for PHP.

Installs: 581

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/foo9/blank_present

1.0.1 2015-03-25 15:57 UTC

This package is not auto-updated.

Last update: 2025-10-06 11:52:57 UTC


README

Build Status

The blank and present function for PHP.

Requirements

PHP 5.4+

Usage

The blank function:

if (_blank($var)) {
    // do stuff
}

The present function:

if (_present($var)) {
    // do stuff
}

Running tests

$ vendor/bin/phpunit

License

MIT