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 function foo(): void
{
13 $z = <div
> this is a
' " # /// try </div>;
14 $z = <div><h><p/> this is a' " # /// try </h></div>;
15 $x = <div x="test
" y ={'yea'}> ' "</div
>;
17 $z = <div
><!-- an xhp comment
</div
>--></div
>;
20 class :div
extends XHPTest
{
21 attribute
string x
, string y
;
23 class :h
extends XHPTest
implements XHPChild
{}
24 class :p
extends XHPTest
implements XHPChild
{}