znck/runner-php

PHP wrapper for znck/runner

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Language:C++

v1.2.4 2015-09-29 17:12 UTC

This package is not auto-updated.

Last update: 2024-12-21 18:14:33 UTC


README

PHP wrapper for znck/runner

Installation:

composer require znck/runner-php

Usage:

$runner = \Znck\Runner\TestingEnvironment::binary();
// OR
$runner = new \Znck\Runner\TestingEnvironment;
$runner->setTime(6);
$runner->setMemory(128 * 1024 * 1024); // 128MB
$runner = $runner->command();

exec("{$runner} --analysis=a.yml a.out");