mirror of
https://github.com/php/php-src.git
synced 2026-04-10 09:33:06 +02:00
It cannot be decided whether the device is available at build time, PHP might run in a container or chroot that does not expose the device. Simply attempt to open it, if it does not exist it will fail. This improves readability of php_random_bytes() by removing one layer of preprocessor conditions.