diff --git a/ext/opcache/tests/bug77691.phpt b/ext/opcache/tests/bug77691.phpt new file mode 100644 index 00000000000..998a3487d16 --- /dev/null +++ b/ext/opcache/tests/bug77691.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #77691: Opcache passes wrong value for inline array push assignments +--FILE-- + +--EXPECT-- +string(4) "test" +array(1) { + [0]=> + string(4) "test" +}