3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tao_sig($postdata){ global $secretkey; $textsig = ""; foreach($postdata as $key => $value){ $textsig .= "$key=$value"; } $textsig .= $secretkey; $textsig = md5($textsig); return $textsig; } $postdata = array( "api_key" => $api_key, "email" => $user, "format" => "JSON", "locale" => "vi_vn", "method" => "auth.login", "password" => $pass, "return_ssl_resources" => "0", "v" => "1.0" ); echo $textsig;

preferences:
48.47 ms | 402 KiB | 5 Q