b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/bug00625-002.phpt

--TEST--
Test for bug #625: xdebug_get_headers() resets header list (2)
--ENV--
XDEBUG_CONFIG=
--INI--
xdebug.mode=develop
default_charset=utf-8
xdebug.filename_format=
--FILE--
<?php
header('Content-type: text/plain');
var_dump( xdebug_get_headers( ) );
var_dump( xdebug_get_headers( ) );
?>
--EXPECTF--
%sbug00625-002.php:3:
array(1) {
  [0] =>
  string(38) "Content-type: text/plain;charset=utf-8"
}
%sbug00625-002.php:4:
array(1) {
  [0] =>
  string(38) "Content-type: text/plain;charset=utf-8"
}

Copyright © 2019 by b0y-101