scalar encode(mixed $data, string $format, array $context = array())
Encodes PHP data to a JSON string.
{@inheritdoc}
scalar encode(mixed $data, string $format, array $context = array())
Encodes PHP data to a JSON string.
{@inheritdoc}
mixed | $data | Data to encode |
string | $format | Format name |
array | $context | options that normalizers/encoders have access to. |
scalar |
Designed by : w10schools
service@w10schools.com
Please login to continue.