<?php

namespace Tests\Stub;

/**
 * Class SegFaultTestStub
 * @package Tests\Stub
 */
class SegFaultTestStub extends BrokenTestBase implements BrokenTestInterface
{
    public function testBrokenTest()
    {
        if (extension_loaded('sigsegv')) {
            sigsegv();
        } else {
            preg_match("/http:\/\/(.)+\.ru/i", str_repeat('http://google.ru', 2000));
        }
    }
}

<?php

namespace Tests\Stub;

/**
 * Class SegFaultTestStub
 * @package Tests\Stub
 */
class SegFaultTestStub extends BrokenTestBase implements BrokenTestInterface
{
    public function testBrokenTest()
    {
        exit(139);
    }
}

Remove usage of the sigsegv() function
Remove usage of the sigsegv() function
