diff options
author | Ferenc Kovacs <tyrael@php.net> | 2014-06-23 10:10:17 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2014-06-23 10:10:17 +0200 |
commit | 53158f2c32c71bddbfaa390c0c4758bc98540946 (patch) | |
tree | de758f254f7206910a22a16e5a6000ff8dda400f | |
parent | 3058b877834ca01aa9f1c3634f4721176c7f1610 (diff) | |
download | php-git-53158f2c32c71bddbfaa390c0c4758bc98540946.tar.gz |
testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql)
-rw-r--r-- | Zend/tests/67468.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/67468.phpt b/Zend/tests/67468.phpt new file mode 100644 index 0000000000..767217644a --- /dev/null +++ b/Zend/tests/67468.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #67468 (Segfault in highlight_file()/highlight_string()) +--SKIPIF-- +<?php if(!function_exists("leak")) print "skip only for debug builds"; ?> +--FILE-- +<?php +highlight_string("<?php __CLASS__;", true); +echo "done"; +?> +--EXPECT-- +done |