Published on : August 31, 2020
Title:Array keys
Purpose :To get the keys array
Syntax :[php.array_keys p1=”{array}” o.set=template.res /]
Input Parameter :Array
Return value :New array containing the keys
Example :
[template.set_array x a1=1 a2=2 a3=3 /] [php.array_keys p1=”{template.x}” o.set=template.res /] [template.echo res /]
Output : New array containing the keys
Description: We can store the array keys as a values in new array using this function