503f75d08b
These names don't make sense now that we run both suites the same way.
20 linhas
217 B
PHP
20 linhas
217 B
PHP
<?php
|
|
|
|
class Foo {
|
|
public static $z = 0;
|
|
|
|
public static function setZ($a) {
|
|
Foo::$z = $a;
|
|
}
|
|
|
|
public static function getZ() {
|
|
return Foo::$z;
|
|
}
|
|
}
|
|
|
|
$a = new Foo();
|
|
|
|
$a->setZ(4);
|
|
|
|
var_dump($a->getZ());
|