Page MenuHomePhabricator

D13962.id.diff
No OneTemporary

D13962.id.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
Thu, Nov 7, 6:27 PM (1 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6737133
Default Alt Text
D13962.id.diff (320 B)

Event Timeline