rendered paste bodycat test-43231.php && php test-43231.php && php -v
<?php
error_reporting(E_ALL ^ E_STRICT);
ini_set('display_errors', 'On');
class Test {
function hello() {
echo "hello\n";
}
}
call_user_func(array('Test', 'hello'));
Strict standards: Non-static method Test::hello() cannot be called statically in /usr/home/till/test-43231.php on line 10
Call Stack:
0.0003 51692 1. {main}() /usr/home/till/test-43231.php:0
0.0003 52300 2. call_user_func() /usr/home/till/test-43231.php:10
Strict standards: Non-static method Test::hello() cannot be called statically in /usr/home/till/test-43231.php on line 10
Call Stack:
0.0003 51692 1. {main}() /usr/home/till/test-43231.php:0
0.0003 52300 2. call_user_func() /usr/home/till/test-43231.php:10
hello
PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 16 2007 23:34:48)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.0, Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, by Derick Rethans