Provides functionality that helps writing PHP code that has runtime-specific (PHP / HHVM) execution paths
PHP
Latest commit cd0871b Jul 1, 2017 @sebastianbergmann Prepare release
Permalink
Failed to load latest commit information.
src Sync with http://git.php.net/?p=php-src.git;a=commitdiff;h=a251d9b2c1… Jun 14, 2017
tests Fix test Jun 14, 2017
.gitignore Cleanup Apr 21, 2017
.php_cs Fix Apr 21, 2017
.travis.yml Cleanup Apr 21, 2017
ChangeLog.md Prepare release Jul 1, 2017
LICENSE Fix Apr 21, 2017
README.md Fix Apr 21, 2017
build.xml Cleanup Feb 28, 2017
composer.json Closes #21 Jun 13, 2017
phpunit.xml Cleanup Apr 21, 2017

README.md

sebastian/environment

This component provides functionality that helps writing PHP code that has runtime-specific (PHP / HHVM) execution paths.

Latest Stable Version Minimum PHP Version Build Status

Installation

You can add this library as a local, per-project dependency to your project using Composer:

composer require sebastian/environment

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

composer require --dev sebastian/environment