1--TEST--
2is_callable() on abstract method via object should return false [original test with deprecated syntax]
3--FILE--
4<?php
5
6abstract class A {
7    abstract function foo();
8}
9
10class B extends A {
11    function foo() {}
12}
13
14$foo = [new B, 'A::foo'];
15var_dump(is_callable($foo));
16
17?>
18--EXPECTF--
19Deprecated: Callables of the form ["B", "A::foo"] are deprecated in %s on line %d
20bool(false)
21