summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemon Pel <remon@clearsite.nl>2020-03-30 17:05:23 +0200
committerRemon Pel <remon@clearsite.nl>2020-03-30 17:05:23 +0200
commit2f04d3ebd05f581823ccfcad4b6e9d0d22f7985f (patch)
tree9481d0ff2e039d27e1e768e35ee76e29b5588741
parentae29d8d2e8f4d8cdb321925fb320229140597c09 (diff)
downloadphp7-ereg-shim-2f04d3ebd05f581823ccfcad4b6e9d0d22f7985f.zip
php7-ereg-shim-2f04d3ebd05f581823ccfcad4b6e9d0d22f7985f.tar.gz
php7-ereg-shim-2f04d3ebd05f581823ccfcad4b6e9d0d22f7985f.tar.bz2
fixed errors in comment and exception
-rw-r--r--lib/ereg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ereg.php b/lib/ereg.php
index 1f1ee07..e14b9b9 100644
--- a/lib/ereg.php
+++ b/lib/ereg.php
@@ -38,7 +38,7 @@ namespace {
}
/**
- * @method _ereg_determine_boundary Prepare the pattern and determine a valid boundary.
+ * @method _ereg_determine_boundary Determine a valid boundary based on the pattern.
*
* @var string $pattern The possibly escaped pattern to match for.
* @return string a suitable RegEx boundary
@@ -58,7 +58,7 @@ namespace {
}
}
- throw new Exception("Very sorry, could not shim the regular expression. Please follow the debug trace two steps back to see where the incompatible ereg-style function call is made.");
+ throw new Exception("Very sorry, could not shim the regular expression. Please follow the debug trace to see where the incompatible ereg-style function call is made.");
}
}
}