Fix issue with calling a unique, non-persistent method
[hiphop-php.git] / hphp / test / slow / hhbbc / static_props_017.php
blobf57199df83673585ff33d693ff95d5406cefb10b
1 <?hh
3 class Foo {
4 private static $a = array('foo' => 'a', 'bar' => 'b');
6 public static function main() {
7 unset(self::$a['foo']);
9 public static function get() {
10 return self::$a;
14 function main() {
15 Foo::main();
16 var_dump(Foo::get());
18 main();