3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$arr=array(101); function dd($param){ $arr=array(101); $dev = 4294967296; //echo $dev . "\n"; $n =101; for ($i =1;$i<$param+1;$i++){ $temp=$n*2525+5252; while($temp>=$dev){ $temp-=$dev; } $n=$temp; array_push($arr, $n); //echo $i . " "; } //asort($arr); //echo $arr[500]; return $n; } echo (101+dd(1000)+dd(100)+dd(119)+dd(97)+dd(110)+dd(103)+dd(111)+2857135909)%4294967296;
based on WgoCm
Output for 5.6.0 - 5.6.30, hhvm-3.18.4 - 3.21.0, 7.0.0 - 7.3.0beta1
4069385677