3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("TIMES",100); $value = md5(uniqid()) . md5(uniqid()); $array_values = array(); $array_keys = array(); $array_setmulti = array(); for ($i = 0; $i < TIMES; $i++) { //$k = md5(uniqid()); //Skewness test $k = $i; $array_values[$k] = $value; $array_keys[] = $k; $array_setmulti[] = array('Key' => $k, 'Value' => $value, 'Expiry' => 0); }
Output for 5.0.0 - 7.1.0
Output for 4.3.0 - 4.4.9
Warning: uniqid() expects at least 1 parameter, 0 given in /in/AR9ij on line 4 Warning: uniqid() expects at least 1 parameter, 0 given in /in/AR9ij on line 4