// Фильтруем полученные данные $del = $_GET['del'] * 1;
This is part of the code and the training course (guestbook), please explain what the asterisk and unit means?
Спасибо!
// Фильтруем полученные данные $del = $_GET['del'] * 1;
This is part of the code and the training course (guestbook), please explain what the asterisk and unit means?
Спасибо!
Equivalent to (int)$_GET['del']
$_GET['del'] * 1
This is not the correct filtering! And this is equivalent to - +$_GET['del']
Source: https://ru.stackoverflow.com/questions/178450/
All Articles