Registry / testing / phpunit-php-invoker

phpunit-php-invoker

JSON →
library7.0.0phppackagistunverified

Invoke callables with a timeout.

composer require phpunit/php-invoker
INSTALL
IMPORT
SIG · PHPUNIT-PHP-INVOKE
P
phpunit-php-invoker
testingphpv7.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Invoker
✓ use PHPUnit\Invoker\Invoker;

Invoke a callable with a 5-second timeout.

use PHPUnit\Invoker\Invoker; $invoker = new Invoker(); $result = $invoker->invoke(function() { return 'done'; }, 5); echo $result;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
phpunit-php-invoker — pip install phpunit-php-invoker · libregistry