First of all i'm not blessed with programming skills

I have downloaded about all the ping.php and ss_fping.php files from this forum and now i have a working combination see the files attached. These files give ping output after a lot of hours trying out.
ping_working2.php gives this output:
DiskStation> /usr/bin/php ss_fping.php www.ziggo.nl 20 ICMP
PHP Deprecated: Comments starting with '#' are deprecated in /usr/syno/etc/php/user-setting.ini on line 1 in Unknown on line 0
PHP Notice: Undefined variable: config in /volume1/web/cacti/lib/ping.php on line 221
Notice: Undefined variable: config in /volume1/web/cacti/lib/ping.php on line 221
PHP Notice: Undefined variable: config in /volume1/web/cacti/lib/ping.php on line 232
<output ommitted 20 times>
min:14.1300 avg:16.2645 max:18.2100 dev:1.7041 loss:0.0000DiskStation>
ping_working1.php gives this output:
DiskStation> /usr/bin/php ss_fping.php www.ziggo.nl 20 ICMP
PHP Deprecated: Comments starting with '#' are deprecated in /usr/syno/etc/php/user-setting.ini on line 1 in Unknown on line 0
min:14.0800 avg:15.5327 max:18.0100 dev:1.4028 loss:25.0000DiskStation>
but they all reporting losses, but there are no losses? If i run the cycle once with " 1 ICMP" it reports:
min:14.8900 avg:14.8900 max:14.8900 dev:0.0000 loss:0.0000DiskStation>
Love to invest this with some experts?