json.func.php 164 B

12345678910
  1. <?php
  2. namespace zin\utils;
  3. /**
  4. * @return string|false
  5. */
  6. function jsonEncode($data, $flags = 0, $depth = 512)
  7. {
  8. return json_encode($data, $flags, $depth);
  9. }