j0101s
j0101s
### Description The following code: ```php 7, 2 => 3, 3 => 5, 4 => 1, 5 => 6, 6 => 2, 7 => 4, 8 => 0); $BTG =...
$cnt = fscanf($fp, "%s %s", $v1, $v2); If it runs in php, it returns nothing when it reads nothing from a file pointer. If it runs in hhvm, it returns...
Evaluation order for arithmetic doesn't always match PHP5 (changes results when doubles overflow)
Scientific calculation under hhvm gives less precise results in floating point. Way too much less than php interpreter. It gives me 7.48 % less precise results. Whereas, php interpreter gives...
I find that file io in hhvm is disapointing. I don't see any progess in file io performance. Compared to php, it's rather slower a bit. Even a simple script...
http://3v4l.org/qQTG4 Please take a look.
http://3v4l.org/LrQUt rad2deg() and deg2rad() in hhvm returns incorrect value in long precision. rad2deg() and deg2rad() in php later than 5.2.0 returns correct value in long precision. Since it's fundamental, it...
I think I found a bug in both hhvm and php. http://3v4l.org/s9Nr3 The results should be the same but differ. The expected is the second one, which corresponds to FORTRAN's....
http://3v4l.org/Ti4Zi Both in hhvm and php gives bad result. The expected result is as below. Expected: 0.00596309542047138514451667048485353089 http://php.net/manual/en/function.bcmul.php php manual lies. Neither of printf("%s") or echo prints correct result. `Using...
``` case 1) function calling_func() { global $array1, $array2; //also necessary in this body too $result = func1($arg1, $arg2); } function func1($arg1, $arg2) { global $array1, $array2; $d1 = $array1[$arg1];...
When opening a file in rb mode(binary read), feof does not seem to check the end of the file. It keeps reading forever. Whereas, php stops reading data properly at...