summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-10-12 12:48:36 +0200
committerAnatol Belski <ab@php.net>2017-11-13 19:37:38 +0100
commita5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d (patch)
treefe551e3a9eb951119e0b795f180e11e47a3f4c21 /run-tests.php
parentfd463cfbad66c962d25647211602c69303369206 (diff)
downloadphp-git-a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d.tar.gz
Patch core for PCRE2 support
RFC https://wiki.php.net/rfc/pcre2-migration
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 1742514b5d..bb8593895e 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1300,7 +1300,7 @@ TEST $file
$section = $r[1];
settype($section, 'string');
- if (isset($section_text[$section])) {
+ if (isset($section_text[$section]) && $section_text[$section]) {
$bork_info = "duplicated $section section";
$borked = true;
}