Question | Answer |
---|---|
Infection version | 0.28.1 |
Test Framework version | PHPUnit 11.1-dev |
PHP version | 8.3.4 |
Platform | Fedora |
Github Repo | https://github.com/sebastianbergmann/phpunit |
The Finished
class has a public
method named test
.
Question | Answer |
---|---|
Infection version | 0.28.1 |
Test Framework version | PHPUnit 11.1-dev |
PHP version | 8.3.4 |
Platform | Fedora |
Github Repo | https://github.com/sebastianbergmann/phpunit |
The Finished
class has a public
method named test
.
``` | |
$ php -d opcache.enable=1 \ | |
-d opcache.enable_cli=1 \ | |
-d opcache.optimization_level=-1 \ | |
-d opcache.opt_debug_level=0x10000 \ | |
Runtime.php \ | |
> /tmp/2-before-optimization 2>&1 | |
``` | |
``` | |
$ php -d opcache.enable=1 \ |
<?php declare(strict_types=1); | |
error_reporting(-1); | |
ini_set('memory_limit', -1); | |
require __DIR__ . '/vendor/autoload.php'; | |
use PhpParser\Node; | |
use PhpParser\Node\Expr\ConstFetch; | |
use PhpParser\Node\NullableType; | |
use PhpParser\Node\Param; |
$argon2id$v=19$m=512,t=256,p=1$aawVElmKZ8yjJLf/IeJ/tg$2HDOj9i6fbatt7iQq1SrGKYClP3+qEXNi6U8d/49v78
vendor/bin/paraunit run --testsuite unit,integration
PARAUNIT v.2.2.3
by Francesco Panina, Alessandro Lai & Shark Dev Team @ Facile.it
.....................................................................W..SW 74
W......................................................................... 148
.......................................................................... 222
.......................................................................... 296
.......................................................................... 370
<?php declare(strict_types=1); | |
function mb_sprintf($format, ...$args): string | |
{ | |
$params = $args; | |
return sprintf( | |
preg_replace_callback( | |
'/(?<=%|%-)\d+(?=s)/', | |
static function ($length) use (&$params) { | |
$value = array_shift($params); |