PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $dataArray = array( 'login' => 'John', 'password' => 'New York' ); $colors = array("red", "green", "white"); $output = implode(",", array_map(function($keys) { return ':' . $keys; }, array_keys($dataArray))); echo $output;
Show:  
Copy Clear