<?php
function get_cache_key($sku, $store_id, $user_type_id, $b_is_return_sales) {
return sprintf(
'obj_product_%s_%s_%s_%s',
(string) $sku,
(int) $store_id,
(int) $user_type_id,
(bool) $b_is_return_sales ? 1 : 0
);
echo get_cache_key("EUX1160", 49, 1, true);
- Output for 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected end of file in /in/SQraq on line 12
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected $end in /in/SQraq on line 12
Process exited with code 255.
preferences:
207.5 ms | 940 KiB | 68 Q