Kaydet (Commit) 0101365b authored tarafından Colomban Wendling's avatar Colomban Wendling

PHP: Add strings tests

üst a114d1c3
......@@ -221,6 +221,7 @@ test_sources = \
state_machine.v \
static_array.c \
stdcall.f \
strings.php \
strings.rb \
structure.f \
tabindent.py \
......
<?php
$a = "hello";
$b = 'hello';
$c = "hello \"buddy\"";
$d = 'hello \'buddy\'';
$e = <<<EOS
hello buddy
EOS;
$f = <<<'EOS'
hello buddy
EOS;
$g = <<<"EOS"
hello buddy
EOS;
# just to check we're correctly out of a string here
$zzz_end = 42;
# format=tagmanager
a163840
b163840
c163840
d163840
e163840
f163840
g163840
zzz_end163840
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment