diff options
author | Xinchen Hui <laruence@php.net> | 2014-10-31 17:32:23 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-10-31 17:32:23 +0800 |
commit | d9d181e5ad41128a97a6e01d14fb766ff7bf31a8 (patch) | |
tree | 1c8bd5be9c8b0ba70fd4c0a4d0651b8e16e20739 /ext/opcache/tests | |
parent | 9e1da42af18265d007b5246f01895d3cafc78939 (diff) | |
download | php-git-d9d181e5ad41128a97a6e01d14fb766ff7bf31a8.tar.gz |
Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)
Diffstat (limited to 'ext/opcache/tests')
-rw-r--r-- | ext/opcache/tests/bug68104.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/opcache/tests/bug68104.phpt b/ext/opcache/tests/bug68104.phpt new file mode 100644 index 0000000000..521486ef58 --- /dev/null +++ b/ext/opcache/tests/bug68104.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #68104 (Segfault while pre-evaluating a disabled function) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +disable_functions=dl +--SKIPIF-- +<?php require_once('skipif.inc'); ?> +--FILE-- +<?php +var_dump(is_callable("dl")); +--EXPECT-- +bool(true) |