<?php
$fields = [
'email' => '',
'gender' => '',
'birthday' => '',
'name' => '',
'country_code' => '',
'city' => '',
'photo' => '',
'created_at' => '',
'project' => '',
];
echo implode(',',array_map(function($f){return ':'.$f}, array_keys($fields)));
- Output for 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected '}' in /in/lKrZv on line 15
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[' in /in/lKrZv on line 3
Process exited with code 255.
preferences:
203.98 ms | 1395 KiB | 64 Q