PHP's special decimal values INF (infinity) and NAN (not a number) default to their string representations when displayed, which can be exploited for creative string manipulation. The trick also works with Array type (with error suppression), but Object generates a Fatal error and Resource produces non-reusable output.
Sort: