diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-12-11 17:26:31 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-12-11 17:26:31 +0800 |
commit | b5adfee320de8d8aa13ee9d97f040f4d416f40d5 (patch) | |
tree | 1f5d62d0f31cb3239832d90da88152ac4dd5076c /tests | |
parent | 5c5209d676fd9eaef861792d03ff819ed36e7ea5 (diff) | |
download | php-git-b5adfee320de8d8aa13ee9d97f040f4d416f40d5.tar.gz |
Fixed bug memleak in header_register_callback
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/header_register_callback.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/basic/header_register_callback.phpt b/tests/basic/header_register_callback.phpt new file mode 100644 index 0000000000..641ee9e3e7 --- /dev/null +++ b/tests/basic/header_register_callback.phpt @@ -0,0 +1,8 @@ +--TEST-- +Test header_register_callback +--FILE-- +<?php +header_register_callback(function() { echo "sent";}); +?> +--EXPECT-- +sent |