[Solved] Risks of using PHP eval for string math


If all you’re doing is checking if something is less than 1, typecast $_GET['hackme'] to int or double.

$str="nabi<" . (int) $_GET['hackme'];

solved Risks of using PHP eval for string math