I think the PHP's standard library is as inconsistent as the next guy, but I kind of appreciate there just being a function when just a function is needed.
i.e. Python's standard library provides objects where appropriate, but often they will just put functions directly into modules for simplicity.
i.e. Python's standard library provides objects where appropriate, but often they will just put functions directly into modules for simplicity.