📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 14:50:20
📂
/
/
opt
/
alt
/
tests
/
alt-php85-pecl-yaf_3.3.7-1.el8
/
tests
✏️
Editing: issue518.phpt
--TEST-- Check for Yaf_Response_HTTP::setRedirect in CGI --SKIPIF-- <?php if (!extension_loaded("yaf")) print "skip"; ?> --INI-- yaf.use_namespace=0 --GET-- foo=bar --FILE-- <?php $response = new Yaf_Response_HTTP(); $response->setHeader("custom", "foobar"); $response->response(); var_dump($response->setRedirect('https://yourdomain.com')); ?> --EXPECTHEADERS-- Status: 302 Found Location: https://yourdomain.com custom: foobar --EXPECT-- bool(true)
💾 Save Changes
❌ Cancel