Cast to int : (int) $sleepWhenIdle