--TEST-- Acquire callable to assert() --FILE-- getMessage(), "\n"; } try { assert(false && strlen(...)); } catch (\AssertionError $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Message 2 assert(false && strlen(...))