diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-29 16:03:24 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-30 09:19:02 +0100 |
| commit | 6c73b50cf6cf71be26700ce168d5e69350637d71 (patch) | |
| tree | 63442d7344ac41468c4f22a193a2e1214993b1bd /ext/pdo_sqlite/tests | |
| parent | 4eb5db2c68ecab4fd50a5e1950fdd6eb3703b899 (diff) | |
| download | php-git-6c73b50cf6cf71be26700ce168d5e69350637d71.tar.gz | |
Remove static calls to non-static methods
Diffstat (limited to 'ext/pdo_sqlite/tests')
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt index c452d4c34f..c788b4ee90 100644 --- a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt +++ b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt @@ -117,14 +117,11 @@ array(2) { string(4) "2---" } -Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: cannot access private method bar::test2() in %s on line %d +Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: non-static method bar::test2() cannot be called statically in %s on line %d +bool(false) + +Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: non-static method bar::test3() cannot be called statically in %s on line %d bool(false) -array(2) { - [0]=> - string(7) "1===php" - [1]=> - string(4) "2===" -} Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: class 'bar' does not have a method 'inexistent' in %s on line %d bool(false) |
