Download the PHP package xp-lang/php-is-operator without Composer
On this page you can find all versions of the php package xp-lang/php-is-operator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xp-lang/php-is-operator
More information about xp-lang/php-is-operator
Files in xp-lang/php-is-operator
Download xp-lang/php-is-operator
More information about xp-lang/php-is-operator
Files in xp-lang/php-is-operator
Vendor xp-lang
Package php-is-operator
Short Description Is operator for PHP
License BSD-3-Clause
Homepage http://xp-framework.net/
Package php-is-operator
Short Description Is operator for PHP
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package php-is-operator
Is operator for PHP
Plugin for the XP Compiler which adds an is
operator to the PHP language.
Before
A mix of functions, syntax and XP core functionality is()
:
After
Anything that works as a parameter, property or return type can be used with the is
operator.
Installation
After installing the XP Compiler into your project, also include this plugin.
No further action is required.
See also
- https://wiki.php.net/rfc/pattern-matching
- https://docs.hhvm.com/hack/expressions-and-operators/is
- https://kotlinlang.org/docs/reference/typecasts.html
- https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/is
- https://externals.io/message/120655 (Proposal to introduce is operator)
All versions of php-is-operator with dependencies
PHP Build Version
Package Version
Requires
xp-framework/core Version
^12.0 | ^11.0 | ^10.0
xp-framework/compiler Version ^9.0 | ^8.0
php Version >=7.4.0
xp-framework/compiler Version ^9.0 | ^8.0
php Version >=7.4.0
The package xp-lang/php-is-operator contains the following files
Loading the files please wait ....