1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Test for bug parsing multiline strings with 'escaped' newlines

This commit is contained in:
David Simon 2013-05-21 16:29:11 -04:00
parent 165190bb38
commit 2665c60b2f
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<?php
namespace Foo;
class SlashedA {
function foo() {
return sprintf("foo\
bar");
}
}
class SlashedB {
function bar() {
print "baz";
}
}