is_assignable()

Not yet in a tagged release

Description

is_assignable() - can a variable be used with PHP's object-assignment -> notation?

bool is_assignable(mixed $fieldOrVar);

is_assignable() is a convenience wrapper around IsAssignable::check(). See IsAssignable::check() for details.