PhpLoader: cast values as strings

- boolean values `true && false` handled as strings `'true' && 'false'`
- other scalars cast to strings
- other complex types return empty string