3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "user@gmail.com"; $pass = "pass"; //Thông tin APP facebook $secretkey = "62f8ce9f74b12f84c123cc23437a4a32"; $api_key = "882a8490361da98702bf97a021ddc14d"; 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 tao_sig('xuantan');
Output for git.master, git.master_jit, rfc.property-hooks
Warning: foreach() argument must be of type array|object, string given in /in/EGGM9 on line 12 62f8ce9f74b12f84c123cc23437a4a32

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
57.43 ms | 401 KiB | 8 Q