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.
13 bool function is_null(Option
<T
> $x) {
17 Option
<int> function test() {
24 public void
function setX(A
$x) {
28 public A
function getX(dyn
$obj) {
29 $y = (!($obj is A
) ||
$obj->setX(new A()));
30 $y = (($obj is A
) && $obj->setX(new A()));
31 if (($x = $this->x
) && ($x is A
)) {