1--TEST--
2nullable class
3--FILE--
4<?php
5function test(Foo $a = null) {
6    echo "ok\n";
7}
8test(null);
9?>
10--EXPECT--
11ok
12