summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-10-07 09:43:28 +0200
committerAnatol Belski <ab@php.net>2015-10-07 09:43:28 +0200
commitc0ca731d7a418502c26bee84f7b71e05f66faeef (patch)
tree2c20491f0b8b588e1ccd7978b72fb04a99687ab6
parentb8b335c492f87178ab18ca34f928051bc1b65934 (diff)
downloadphp-git-c0ca731d7a418502c26bee84f7b71e05f66faeef.tar.gz
add comment to test
-rw-r--r--ext/pcre/tests/bug69864.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug69864.phpt b/ext/pcre/tests/bug69864.phpt
index d59aaab36e..cf7ba5b72e 100644
--- a/ext/pcre/tests/bug69864.phpt
+++ b/ext/pcre/tests/bug69864.phpt
@@ -6,6 +6,8 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?>
--FILE--
<?php
+/* CAUTION: this test will most likely fail with valgrind until --smc-check=all is used. */
+
const PREG_CACHE_SIZE = 4096; // this has to be >= the resp. constant in php_pcre.c
var_dump(preg_replace_callback('/a/', function($m) {