com php-src: add comment to test: ext/pcre/tests/bug69864.phpt
| From: | Anatol Belski | Date: | Wed, 07 Oct 2015 07:43:28 +0000 |
| Subject: | com php-src: add comment to test: ext/pcre/tests/bug69864.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89319@lists.php.net to get a copy of this message | ||
Commit: c0ca731d7a418502c26bee84f7b71e05f66faeef
Author: Anatol Belski <ab@php.net> Wed, 7 Oct 2015 09:43:28 +0200
Parents: b8b335c492f87178ab18ca34f928051bc1b65934
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c0ca731d7a418502c26bee84f7b71e05f66faeef
Log:
add comment to test
Changed paths:
M ext/pcre/tests/bug69864.phpt
Diff:
diff --git a/ext/pcre/tests/bug69864.phpt b/ext/pcre/tests/bug69864.phpt
index d59aaab..cf7ba5b 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) {