Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Generate a random integer
<?php rand(): int
<?php     private function getRandomSocketUri()

    {

        return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock';

    }

}
<?php     private function getRandomSocketUri()

    {

        return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock';

    }

}
<?php     private function getRandomSocketUri()

    {

        return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock';

    }

}
<?php     private function getRandomSocketUri()

    {

        return "unix://" . sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid(rand(), true) . '.sock';

    }



    private function tick()