Create rsf.format.php

This commit is contained in:
Namhyeon Go 2019-05-26 02:02:45 +09:00 committed by GitHub
parent ecfbebb645
commit 686ce773f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
helper/rsf.format.php Normal file
View File

@ -0,0 +1,8 @@
<?php
// rsf.format.php
if(!check_function_exists("get_rsf_encoded")) {
function get_rsf_encoded($data) {
return sprint("(%s)=>('%s')", array_keys($data), implode("','", $data));
}
}