--TEST-- Test array_map() function : usage variations - object functionality --FILE-- --EXPECTF-- *** Testing array_map() : object functionality *** -- simple class with public variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- simple class with private variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- simple class with protected variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- class without members -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- abstract class -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- class with final method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- class with static members -- array(2) { [0]=> int(1) [1]=> int(4) } Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d%d NULL -- class implementing an interface -- array(2) { [0]=> int(1) [1]=> int(4) } Done --UEXPECTF-- *** Testing array_map() : object functionality *** -- simple class with public variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- simple class with private variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- simple class with protected variable and method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- class without members -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- abstract class -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- class with final method -- Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- class with static members -- array(2) { [0]=> int(1) [1]=> int(4) } Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL Warning: array_map() expects parameter 1 to be valid callback, array given in %s on line %d NULL -- class implementing an interface -- array(2) { [0]=> int(1) [1]=> int(4) } Done