diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 10:16:38 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 12:23:34 +0200 |
| commit | d65d3f5298dcc8d94bcac96e8bf2441dceb393ac (patch) | |
| tree | a5e07c4bdf5a7ca0dc213b1b3a7ef6e0136d8528 /ext/mbstring | |
| parent | 27ad19c3e8d4fe61ce9c8cec9e50062acf2255c1 (diff) | |
| download | php-git-d65d3f5298dcc8d94bcac96e8bf2441dceb393ac.tar.gz | |
Fix bug #79108
Don't expose references in debug_backtrace() or exception traces.
This is regardless of whether the argument is by-reference or not.
As a side-effect of this change, exception traces may now acquire
the interior value of a reference, which may be unexpected for
some internal functions. This is what necessitated the change in
the spl_array sort implementation.
Diffstat (limited to 'ext/mbstring')
| -rw-r--r-- | ext/mbstring/tests/mb_ereg1.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/tests/mb_ereg1.phpt b/ext/mbstring/tests/mb_ereg1.phpt index 27e321bb64..5fa830fa63 100644 --- a/ext/mbstring/tests/mb_ereg1.phpt +++ b/ext/mbstring/tests/mb_ereg1.phpt @@ -53,7 +53,7 @@ array(3) { [1]=> int(1) [2]=> - &string(0) "" + string(0) "" } mb_ereg(): Argument #2 ($string) must be of type string, array given array(3) { @@ -63,7 +63,7 @@ array(3) { array(0) { } [2]=> - &string(0) "" + string(0) "" } bool(false) array(3) { |
