diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-11-27 09:34:57 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-11-27 09:34:57 +0100 |
commit | b6e79f3724772e0a6e3729314bc659f673244d03 (patch) | |
tree | 2d6b20d11ff7d058ab9fbc91079fb58a88548eef /ext/standard/tests | |
parent | b046a8f7f8e1e68b217021fa3179f4a62788e818 (diff) | |
parent | 30aa2e8932adf090776ac814dd78bf008b265625 (diff) | |
download | php-git-b6e79f3724772e0a6e3729314bc659f673244d03.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78840: imploding $GLOBALS crashes
Diffstat (limited to 'ext/standard/tests')
-rw-r--r-- | ext/standard/tests/strings/bug78840.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug78840.phpt b/ext/standard/tests/strings/bug78840.phpt new file mode 100644 index 0000000000..b9e1a84a76 --- /dev/null +++ b/ext/standard/tests/strings/bug78840.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #78840 (imploding $GLOBALS crashes) +--FILE-- +<?php +$glue = ''; +@implode($glue, $GLOBALS); +echo "done\n"; +?> +--EXPECT-- +done |