SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php72 > 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-php72/root/usr/include//php/ext/standard

NameTypeSizeLast ModifiedActions
base64.h File 1971 bytes July 09 2025 07:57:22.
basic_functions.h File 7731 bytes July 09 2025 07:57:22.
crc32.h File 4895 bytes July 09 2025 07:57:22.
credits.h File 1726 bytes July 09 2025 07:57:22.
credits_ext.h File 5501 bytes July 09 2025 07:57:22.
credits_sapi.h File 845 bytes July 09 2025 07:57:22.
crypt_blowfish.h File 1048 bytes July 09 2025 07:57:22.
crypt_freesec.h File 665 bytes July 09 2025 07:57:22.
css.h File 1234 bytes July 09 2025 07:57:22.
cyr_convert.h File 1266 bytes July 09 2025 07:57:22.
datetime.h File 1386 bytes July 09 2025 07:57:22.
dl.h File 1643 bytes July 09 2025 07:57:22.
exec.h File 1733 bytes July 09 2025 07:57:22.
file.h File 4806 bytes July 09 2025 07:57:22.
flock_compat.h File 2120 bytes July 09 2025 07:57:22.
fsock.h File 1610 bytes July 09 2025 07:57:22.
head.h File 1847 bytes July 09 2025 07:57:22.
html.h File 2698 bytes July 09 2025 07:57:22.
html_tables.h File 483761 bytes July 09 2025 07:57:22.
info.h File 23154 bytes July 09 2025 07:57:22.
md5.h File 2163 bytes July 09 2025 07:57:22.
microtime.h File 1365 bytes July 09 2025 07:57:22.
pack.h File 1279 bytes July 09 2025 07:57:22.
pageinfo.h File 1469 bytes July 09 2025 07:57:22.
php_array.h File 4483 bytes July 09 2025 07:57:22.
php_assert.h File 1429 bytes July 09 2025 07:57:22.
php_browscap.h File 1327 bytes July 09 2025 07:57:22.
php_crypt.h File 1661 bytes July 09 2025 07:57:22.
php_crypt_r.h File 2052 bytes July 09 2025 07:57:22.
php_dir.h File 1714 bytes July 09 2025 07:57:22.
php_dns.h File 2958 bytes July 09 2025 07:57:22.
php_ext_syslog.h File 1511 bytes July 09 2025 07:57:22.
php_filestat.h File 3182 bytes July 09 2025 07:57:22.
php_fopen_wrappers.h File 1973 bytes July 09 2025 07:57:22.
php_ftok.h File 1264 bytes July 09 2025 07:57:22.
php_http.h File 1794 bytes July 09 2025 07:57:22.
php_image.h File 2437 bytes July 09 2025 07:57:22.
php_incomplete_class.h File 2302 bytes July 09 2025 07:57:22.
php_iptc.h File 1273 bytes July 09 2025 07:57:22.
php_lcg.h File 1532 bytes July 09 2025 07:57:23.
php_link.h File 1371 bytes July 09 2025 07:57:23.
php_mail.h File 2441 bytes July 09 2025 07:57:23.
php_math.h File 4770 bytes July 09 2025 07:57:23.
php_metaphone.h File 1242 bytes July 09 2025 07:57:23.
php_mt_rand.h File 2014 bytes July 09 2025 07:57:23.
php_password.h File 1910 bytes July 09 2025 07:57:23.
php_rand.h File 3324 bytes July 09 2025 07:57:23.
php_random.h File 2174 bytes July 09 2025 07:57:23.
php_smart_string.h File 1313 bytes July 09 2025 07:57:23.
php_smart_string_public.h File 1320 bytes July 09 2025 07:57:23.
php_standard.h File 2358 bytes July 09 2025 07:57:23.
php_string.h File 6166 bytes July 09 2025 07:57:23.
php_type.h File 1641 bytes July 09 2025 07:57:23.
php_uuencode.h File 1495 bytes July 09 2025 07:57:23.
php_var.h File 3338 bytes July 09 2025 07:57:23.
php_versioning.h File 1406 bytes July 09 2025 07:57:23.
proc_open.h File 1788 bytes July 09 2025 07:57:23.
quot_print.h File 1498 bytes July 09 2025 07:57:23.
scanf.h File 2308 bytes July 09 2025 07:57:23.
sha1.h File 1741 bytes July 09 2025 07:57:23.
streamsfuncs.h File 2943 bytes July 09 2025 07:57:23.
uniqid.h File 1273 bytes July 09 2025 07:57:23.
url.h File 2398 bytes July 09 2025 07:57:23.
url_scanner_ex.h File 2511 bytes July 09 2025 07:57:23.
winver.h File 6377 bytes July 09 2025 07:57:23.

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

/*
   +----------------------------------------------------------------------+
   | PHP Version 7                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2018 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:           |
   | http://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@zend.com>                                |
   |          Pedro Melo <melo@ip.pt>                                     |
   |          Sterling Hughes <sterling@php.net>                          |
   |                                                                      |
   | Based on code from: Shawn Cokus <Cokus@math.washington.edu>          |
   +----------------------------------------------------------------------+
 */
/* $Id$ */

#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)))

#define RAND_RANGE(__n, __min, __max, __tmax) \
	(__n) = php_mt_rand_range((__min), (__max))

#ifdef PHP_WIN32
#define GENERATE_SEED() (((zend_long) (time(0) * GetCurrentProcessId())) ^ ((zend_long) (1000000.0 * php_combined_lcg())))
#else
#define GENERATE_SEED() (((zend_long) (time(0) * 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