M_SERIALIZE
M_SERIALIZE
Defines an method as "serialize"
Format validation statics
scalarOutput(mixed $input, integer $prettify_method = self::M_PRINT_R) : string
Makes output scalar. If $input is already scalar, simply returns it; otherwise uses a function specified in $prettify_method to make the output scalar
mixed | $input | The input to scalarise |
integer | $prettify_method | Function to use to make output scalar if $input isn't already scalar. See class M_* constants. |