--TEST-- Test ArrayObject::uasort() function : wrong arg count --FILE-- uasort(); } catch (ArgumentCountError $e) { echo $e->getMessage() . "\n"; } try { $ao->uasort(1,2); } catch (ArgumentCountError $e) { echo $e->getMessage() . "\n"; } ?> --EXPECT-- ArrayObject::uasort() expects exactly 1 argument, 0 given ArrayObject::uasort() expects exactly 1 argument, 2 given