Scalar values need to be expanded using `var_export($this->lastValue, true)` and prefixed with their type, because of the following:

- Casting `(boolean) false` and `(NULL) null` to a string will result in an empty string
- Casting `(integer) 1`, `(float) 1`, `(boolean) true` or simply using the string 1 will all result in the string 1.
- There is no obvious difference between a float and an integer if they have the same rounded value.