--TEST-- Catch method calls on non-objects inside echo --FILE-- method(), "After\n"; echo "Alive\n"; ?> --EXPECTF-- Before int(4096) string(%d) "Call to a member function method() on null" After Alive