Page MenuHomePhabricator

D13962.diff
No OneTemporary

D13962.diff

diff --git a/src/parser/xhpast/__tests__/data/php-nested-quotes.test b/src/parser/xhpast/__tests__/data/php-nested-quotes.test
new file mode 100644
--- /dev/null
+++ b/src/parser/xhpast/__tests__/data/php-nested-quotes.test
@@ -0,0 +1,4 @@
+# fail-syntax, comment="Wrong, should pass, see T1941."
+<?php
+
+"{$x[""]}";

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 10:58 AM (6 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6737133
Default Alt Text
D13962.diff (320 B)

Event Timeline