PHPackages                             faelv/isx - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. faelv/isx

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

faelv/isx
=========

ISX is a set of functions to ease the usage of PHP's is\_\* functions on multiple variables

1.0.1(4y ago)06ISCPHPPHP &gt;=5.6

Since May 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/faelv/isx)[ Packagist](https://packagist.org/packages/faelv/isx)[ Docs](https://github.com/faelv/isx)[ RSS](/packages/faelv-isx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Isx
===

[](#isx)

ISX is a set of functions to ease the usage of PHP's is\_\* functions (like `is_null` or `empty`) on multiple variables at the same time without the need to repeat the function name for each value.

For example, instead of writing:

```
if (is_null($a) || is_null($b) || is_null($c)) {
```

You can simple do this:

```
if (is_null_any($a, $b, $c)) {
```

Installing
----------

[](#installing)

Using Composer just run:

`composer require faelv/isx`

**DO NOT FORGET TO IMPORT THE FUNCTIONS YOU WANT TO USE!**

```
