3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 $x = <div
> dfaf
</div
>;
14 function foo(): void
{
15 $z = <div
> this is a
' " # /// try </div>;
16 $z = <div><h><p/> this is a' " # /// try </h></div>;
17 $x = <div x="test
" y ={'yea'}> ' "</div
>;
19 $z = <div
><!-- an xhp comment
</div
>--></div
>;
23 attribute
string x
, string y
;
25 class :h
implements XHPChild
{}
26 class :p
implements XHPChild
{}