Php zu int
$num = "3.14";
$int = (int)$num;
Nate
$num = "3.14";
$int = (int)$num;
<?php
$x = 5985;
var_dump(is_int($x));
$x = 59.85;
var_dump(is_int($x));
?>
// ? means $count can be NULL or integer, maybe PHP >=7.4
private ?int $count