SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php81 > root > > usr > include > php > ext > standard


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php81/root//usr/include/php/ext/standard

NameTypeSizeLast ModifiedActions
base64.h File 3673 bytes July 08 2025 08:49:41.
basic_functions.h File 4986 bytes July 08 2025 08:49:41.
basic_functions_arginfo.h File 128213 bytes July 08 2025 08:49:41.
crc32.h File 4908 bytes July 08 2025 08:49:41.
crc32_x86.h File 1861 bytes July 08 2025 08:49:41.
credits.h File 1562 bytes July 08 2025 08:49:41.
credits_ext.h File 5362 bytes July 08 2025 08:49:41.
credits_sapi.h File 835 bytes July 08 2025 08:49:41.
crypt_blowfish.h File 790 bytes July 08 2025 08:49:41.
crypt_freesec.h File 662 bytes July 08 2025 08:49:41.
css.h File 1070 bytes July 08 2025 08:49:41.
datetime.h File 1172 bytes July 08 2025 08:49:41.
dir_arginfo.h File 1876 bytes July 08 2025 08:49:41.
dl.h File 1497 bytes July 08 2025 08:49:41.
dl_arginfo.h File 269 bytes July 08 2025 08:49:41.
exec.h File 1304 bytes July 08 2025 08:49:41.
file.h File 4023 bytes July 08 2025 08:49:41.
flock_compat.h File 2112 bytes July 08 2025 08:49:41.
fsock.h File 1247 bytes July 08 2025 08:49:41.
head.h File 1565 bytes July 08 2025 08:49:41.
hrtime.h File 2362 bytes July 08 2025 08:49:41.
html.h File 2395 bytes July 08 2025 08:49:41.
html_tables.h File 483597 bytes July 08 2025 08:49:41.
info.h File 23493 bytes July 08 2025 08:49:41.
md5.h File 2065 bytes July 08 2025 08:49:41.
pack.h File 1073 bytes July 08 2025 08:49:41.
pageinfo.h File 1180 bytes July 08 2025 08:49:41.
php_array.h File 2294 bytes July 08 2025 08:49:41.
php_assert.h File 1266 bytes July 08 2025 08:49:41.
php_browscap.h File 1135 bytes July 08 2025 08:49:41.
php_crypt.h File 1398 bytes July 08 2025 08:49:41.
php_crypt_r.h File 1679 bytes July 08 2025 08:49:41.
php_dir.h File 1313 bytes July 08 2025 08:49:41.
php_dns.h File 2643 bytes July 08 2025 08:49:41.
php_ext_syslog.h File 1193 bytes July 08 2025 08:49:41.
php_filestat.h File 2155 bytes July 08 2025 08:49:41.
php_fopen_wrappers.h File 1837 bytes July 08 2025 08:49:41.
php_http.h File 1363 bytes July 08 2025 08:49:41.
php_image.h File 2221 bytes July 08 2025 08:49:41.
php_incomplete_class.h File 2202 bytes July 08 2025 08:49:41.
php_lcg.h File 1343 bytes July 08 2025 08:49:41.
php_mail.h File 2207 bytes July 08 2025 08:49:41.
php_math.h File 3632 bytes July 08 2025 08:49:41.
php_mt_rand.h File 1851 bytes July 08 2025 08:49:41.
php_net.h File 1163 bytes July 08 2025 08:49:41.
php_password.h File 2824 bytes July 08 2025 08:49:41.
php_rand.h File 3125 bytes July 08 2025 08:49:41.
php_random.h File 1906 bytes July 08 2025 08:49:41.
php_smart_string.h File 1161 bytes July 08 2025 08:49:41.
php_smart_string_public.h File 1168 bytes July 08 2025 08:49:41.
php_standard.h File 1957 bytes July 08 2025 08:49:41.
php_string.h File 4044 bytes July 08 2025 08:49:41.
php_uuencode.h File 1205 bytes July 08 2025 08:49:41.
php_var.h File 3490 bytes July 08 2025 08:49:41.
php_versioning.h File 1211 bytes July 08 2025 08:49:41.
proc_open.h File 1709 bytes July 08 2025 08:49:41.
quot_print.h File 1255 bytes July 08 2025 08:49:41.
scanf.h File 1997 bytes July 08 2025 08:49:41.
sha1.h File 1663 bytes July 08 2025 08:49:41.
streamsfuncs.h File 1137 bytes July 08 2025 08:49:41.
url.h File 2135 bytes July 08 2025 08:49:41.
url_scanner_ex.h File 2373 bytes July 08 2025 08:49:41.
user_filters_arginfo.h File 2506 bytes July 08 2025 08:49:41.

Reading File: //opt/cloudlinux/alt-php81/root//usr/include/php/ext/standard/php_rand.h

/*
   +----------------------------------------------------------------------+
   | Copyright (c) The PHP Group                                          |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | https://www.php.net/license/3_01.txt                                 |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | license@php.net so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Authors: Rasmus Lerdorf <rasmus@php.net>                             |
   |          Zeev Suraski <zeev@php.net>                                 |
   |          Pedro Melo <melo@ip.pt>                                     |
   |          Sterling Hughes <sterling@php.net>                          |
   |                                                                      |
   | Based on code from: Shawn Cokus <Cokus@math.washington.edu>          |
   +----------------------------------------------------------------------+
 */

#ifndef PHP_RAND_H
#define	PHP_RAND_H

#include "php_lcg.h"
#include "php_mt_rand.h"

/* System Rand functions */
#ifndef RAND_MAX
#define RAND_MAX PHP_MT_RAND_MAX
#endif

#define PHP_RAND_MAX PHP_MT_RAND_MAX

/*
 * A bit of tricky math here.  We want to avoid using a modulus because
 * that simply tosses the high-order bits and might skew the distribution
 * of random values over the range.  Instead we map the range directly.
 *
 * We need to map the range from 0...M evenly to the range a...b
 * Let n = the random number and n' = the mapped random number
 *
 * Then we have: n' = a + n(b-a)/M
 *
 * We have a problem here in that only n==M will get mapped to b which
 # means the chances of getting b is much much less than getting any of
 # the other values in the range.  We can fix this by increasing our range
 # artificially and using:
 #
 #               n' = a + n(b-a+1)/M
 *
 # Now we only have a problem if n==M which would cause us to produce a
 # number of b+1 which would be bad.  So we bump M up by one to make sure
 # this will never happen, and the final algorithm looks like this:
 #
 #               n' = a + n(b-a+1)/(M+1)
 *
 * -RL
 */
#define RAND_RANGE_BADSCALING(__n, __min, __max, __tmax) \
	(__n) = (__min) + (zend_long) ((double) ( (double) (__max) - (__min) + 1.0) * ((__n) / ((__tmax) + 1.0)))

#ifdef PHP_WIN32
#define GENERATE_SEED() (((zend_long) ((zend_ulong) time(NULL) * (zend_ulong) GetCurrentProcessId())) ^ ((zend_long) (1000000.0 * php_combined_lcg())))
#else
#define GENERATE_SEED() (((zend_long) ((zend_ulong) time(NULL) * (zend_ulong) getpid())) ^ ((zend_long) (1000000.0 * php_combined_lcg())))
#endif

PHPAPI void php_srand(zend_long seed);
PHPAPI zend_long php_rand(void);

#endif	/* PHP_RAND_H */

SILENT KILLER Tool