Type Casting en PHP
$x = 2.5;
$y = (int) $x; // cast $x to integer
kinjal suryavanshi
$x = 2.5;
$y = (int) $x; // cast $x to integer