⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
plib
/
vendor
/
slim
/
psr7
/
tests
/
View File Name :
EnvironmentTest.php
'/foo/bar/index.php', 'REQUEST_URI' => '/foo/bar?abc=123', ]); $this->assertEquals('/foo/bar/index.php', $env['SCRIPT_NAME']); $this->assertEquals('/foo/bar?abc=123', $env['REQUEST_URI']); } public function testMockHttps() { $env = Environment::mock([ 'HTTPS' => 'on' ]); $this->assertEquals('on', $env['HTTPS']); $this->assertEquals(443, $env['SERVER_PORT']); } public function testMockRequestScheme() { $env = Environment::mock([ 'REQUEST_SCHEME' => 'https' ]); $this->assertEquals('https', $env['REQUEST_SCHEME']); $this->assertEquals(443, $env['SERVER_PORT']); } }