test scalar string

This commit is contained in:
vadim
2017-12-04 12:40:36 +02:00
parent 1c1926516e
commit 7c3d593097
10 changed files with 549 additions and 549 deletions

View File

@@ -1,43 +1 @@
<?php
namespace z7zmey\Example {
use \Exception;
use z7zmey\Foo\{Bar, function Baz};
abstract class Foo extends Bar implements Buz, Buzz {
use \z7zmey\_Trait;
public const CC = 0;
public function &test(bool $a, string $b = null): ?void {
}
}
}
namespace z7zmey\Example2;
if ($a === true) {
} elseif ($a === false) {
} elseif ($a === null) {
} else {
}
$a = "string
with $var
";
$a = "string
with out \$var";
$a = <<<test
string $var
test;
`test
$var
`;
?>
<?= $b = 22; $b ?>
<? "test";