0

why string change to zero?

<?php $link='http://oxu.az/interesting/206815'; $site=file_get_contents($link); $number='@<span class="stats-i">(.*?)</span>@'; preg_match_all($number,$site,$num); $nums=$num[0][0]; echo var_dump($nums), "<br>"; $reqem=($nums+5); echo ($reqem); ?>

2nd Aug 2017, 7:43 AM
Farid Zamanov
Farid Zamanov - avatar
1 Answer
2nd Aug 2017, 2:27 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar