Test for bug parsing multiline strings with 'escaped' newlines
parent
165190bb38
commit
2665c60b2f
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Foo;
|
||||
|
||||
class SlashedA {
|
||||
function foo() {
|
||||
return sprintf("foo\
|
||||
bar");
|
||||
}
|
||||
}
|
||||
|
||||
class SlashedB {
|
||||
function bar() {
|
||||
print "baz";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue