Skip to content

Instantly share code, notes, and snippets.

@klim2020
Last active April 10, 2022 09:08
Show Gist options
  • Select an option

  • Save klim2020/20391264d842f2f0ec8c9f680f6e80b7 to your computer and use it in GitHub Desktop.

Select an option

Save klim2020/20391264d842f2f0ec8c9f680f6e80b7 to your computer and use it in GitHub Desktop.
php howto Remove double quote in json_encode() удалить двойные кавычки в json массиве с php
$array_final = preg_replace('/"([a-zA-Z]+[a-zA-Z0-9_]*)":/','$1:',$array_final);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment