998951619f
We did not intend to imply our copyrights last forever Closes #759
25 linhas
452 B
PHP
25 linhas
452 B
PHP
<?php
|
|
// Copyright 2004-2013 Facebook. All Rights Reserved.
|
|
|
|
class c {
|
|
private static $thing;
|
|
private static $otherthing;
|
|
|
|
public static function doit($id, $value) {
|
|
self::$thing[(string)$id] = $value;
|
|
self::$otherthing[(string)$id] = $value;
|
|
}
|
|
|
|
public static function dump() {
|
|
var_dump(self::$thing, self::$otherthing);
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
c::doit(0, 'hello');
|
|
c::dump();
|
|
}
|
|
echo "Calling main\n";
|
|
main();
|
|
echo "Done\n";
|