📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 19:52:44
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
phpunit
/
phpunit
/
tests
/
end-to-end
/
regression
/
5592
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/phpunit/phpunit/tests/end-to-end/regression/5592
🔄 Refresh
✏️
Editing: Issue5592Test.php
Writable
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\TestFixture; use function restore_error_handler; use function restore_exception_handler; use function set_error_handler; use function set_exception_handler; use PHPUnit\Framework\TestCase; class Issue5592Test extends TestCase { public function testAddedAndRemovedErrorHandler(): void { set_error_handler(static fn () => false); restore_error_handler(); $this->assertTrue(true); } public function testAddedErrorHandler(): void { set_error_handler(static fn () => false); $this->assertTrue(false); } public function testRemovedErrorHandler(): void { restore_error_handler(); $this->assertTrue(false); } public function testAddedAndRemovedExceptionHandler(): void { set_exception_handler(static fn () => null); restore_exception_handler(); $this->assertTrue(true); } public function testAddedExceptionHandler(): void { set_exception_handler(static fn () => null); $this->assertTrue(false); } public function testRemovedExceptionHandler(): void { restore_exception_handler(); $this->assertTrue(false); } }
💾 Save Changes
❌ Cancel