mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-05 14:33:49 +09:00
22 lines
360 B
PHP
22 lines
360 B
PHP
<?php
|
|
class MethodCallback
|
|
{
|
|
public static function staticCallback()
|
|
{
|
|
$args = func_get_args();
|
|
|
|
if ($args == ['foo', 'bar']) {
|
|
return 'pass';
|
|
}
|
|
}
|
|
|
|
public function nonStaticCallback()
|
|
{
|
|
$args = func_get_args();
|
|
|
|
if ($args == ['foo', 'bar']) {
|
|
return 'pass';
|
|
}
|
|
}
|
|
}
|