<?php
$arr = [
'c_encrypted' => [
'c_customer' => [
'customer/company ID'
],
'c_brand' => [
'brandname'
],
'c_productname' => [
'product displayname'
],
'c_eventtype' => [
'click / premium click'
]
]
];
$output = json_encode($arr, JSON_UNESCAPED_SLASHES);
$output = str_replace('[', '{', $output);
$output = str_replace(']', '}', $output);
$output = str_replace(':', '=', $output);
$output = str_replace(',', ';', $output);
// $output = str_replace('[', '{', $output);
var_dump($output);
var_dump(' c_encrypted ={ c_customer ={ customer/company ID }; c_brand ={ brandname }; c_productname ={ product displayname }; c_eventtype ={ click / premium click };}');
preferences:
33.02 ms | 402 KiB | 5 Q