File: ob_014.phpt

package info (click to toggle)
php-zstd 0.14.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,536 kB
  • sloc: ansic: 30,009; asm: 382; xml: 179; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
ob_list_handlers() in ob_zstd_handler
--SKIPIF--
<?php
include (dirname(__FILE__) . '/ob_skipif.inc');
?>
--ENV--
HTTP_ACCEPT_ENCODING=zstd
--GET--
ob=014
--FILE--
<?php
ob_start('ob_zstd_handler');
print_r(ob_list_handlers());
$buffer = ob_get_flush();
print_r(ob_list_handlers());
?>
--EXPECT_EXTERNAL--
files/ob_014.zstd
--EXPECTHEADERS--
Content-Encoding: zstd
Vary: Accept-Encoding