3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 03; $b = 11; $c = 2014; function numerek($a, $b, $c){ $s = 0; $s = $a + $b + $c; $kod = md5($s); $kod = sha1($kod); $s = 0; for ($i=0;$i<strlen($kod);$i++){ if ($i%2==0) {$kod[$i]= ord($kod[$i]);} else {$kod[$i] = ord($kod[$i]*$a+1);} $s = $s + $kod[$i] ; } $s = $s * $a; while ($s>32) { $s = $s - 32; } return $s; }
Output for 4.3.0 - 7.1.0