X7ROOT File Manager
Current Path:
/opt/alt/php74/usr/include/php/ext/standard
opt
/
alt
/
php74
/
usr
/
include
/
php
/
ext
/
standard
/
ðŸ“
..
📄
base64.h
(3.8 KB)
📄
basic_functions.h
(7.71 KB)
📄
crc32.h
(4.64 KB)
📄
credits.h
(1.67 KB)
📄
credits_ext.h
(5.25 KB)
📄
credits_sapi.h
(835 B)
📄
crypt_blowfish.h
(1.01 KB)
📄
crypt_freesec.h
(662 B)
📄
css.h
(1.19 KB)
📄
cyr_convert.h
(1.22 KB)
📄
datetime.h
(1.34 KB)
📄
dl.h
(1.59 KB)
📄
exec.h
(1.68 KB)
📄
file.h
(4.63 KB)
📄
flock_compat.h
(2.06 KB)
📄
fsock.h
(1.42 KB)
📄
head.h
(1.85 KB)
📄
hrtime.h
(2.48 KB)
📄
html.h
(2.62 KB)
📄
html_tables.h
(472.41 KB)
📄
info.h
(22.6 KB)
📄
md5.h
(2.1 KB)
📄
microtime.h
(1.32 KB)
📄
pack.h
(1.24 KB)
📄
pageinfo.h
(1.42 KB)
📄
php_array.h
(4.41 KB)
📄
php_assert.h
(1.38 KB)
📄
php_browscap.h
(1.28 KB)
📄
php_crypt.h
(1.54 KB)
📄
php_crypt_r.h
(1.99 KB)
📄
php_dir.h
(1.66 KB)
📄
php_dns.h
(2.96 KB)
📄
php_ext_syslog.h
(1.46 KB)
📄
php_filestat.h
(3.1 KB)
📄
php_fopen_wrappers.h
(1.94 KB)
📄
php_ftok.h
(1.22 KB)
📄
php_http.h
(1.62 KB)
📄
php_image.h
(2.37 KB)
📄
php_incomplete_class.h
(2.24 KB)
📄
php_iptc.h
(1.23 KB)
📄
php_lcg.h
(1.48 KB)
📄
php_link.h
(1.33 KB)
📄
php_mail.h
(2.37 KB)
📄
php_math.h
(4.65 KB)
📄
php_metaphone.h
(1.2 KB)
📄
php_mt_rand.h
(1.96 KB)
📄
php_net.h
(1.32 KB)
📄
php_password.h
(3.07 KB)
📄
php_rand.h
(3.14 KB)
📄
php_random.h
(2.07 KB)
📄
php_smart_string.h
(1.28 KB)
📄
php_smart_string_public.h
(1.29 KB)
📄
php_standard.h
(2.24 KB)
📄
php_string.h
(5.94 KB)
📄
php_type.h
(1.62 KB)
📄
php_uuencode.h
(1.38 KB)
📄
php_var.h
(3.61 KB)
📄
php_versioning.h
(1.36 KB)
📄
proc_open.h
(1.74 KB)
📄
quot_print.h
(1.45 KB)
📄
scanf.h
(2.24 KB)
📄
sha1.h
(1.69 KB)
📄
streamsfuncs.h
(2.73 KB)
📄
uniqid.h
(1.23 KB)
📄
url.h
(2.39 KB)
📄
url_scanner_ex.h
(2.44 KB)
📄
winver.h
(6.23 KB)
Editing: base64.h
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | 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: | | 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. | +----------------------------------------------------------------------+ | Author: Jim Winstead <jimw@php.net> | | Xinchen Hui <laruence@php.net> | +----------------------------------------------------------------------+ */ #ifndef BASE64_H #define BASE64_H /* * NEON implementation is based on https://github.com/WojciechMula/base64simd * which is copyrighted to: * Copyright (c) 2015-2018, Wojciech Mula * All rights reserved. * * SSSE3 and AVX2 implementation are based on https://github.com/aklomp/base64 * which is copyrighted to: * * Copyright (c) 2005-2007, Nick Galbreath * Copyright (c) 2013-2017, Alfred Klomp * Copyright (c) 2015-2017, Wojciech Mula * Copyright (c) 2016-2017, Matthieu Darbois * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * - Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ PHP_FUNCTION(base64_decode); PHP_FUNCTION(base64_encode); #if (ZEND_INTRIN_AVX2_FUNC_PTR || ZEND_INTRIN_SSSE3_FUNC_PTR) && !ZEND_INTRIN_AVX2_NATIVE PHP_MINIT_FUNCTION(base64_intrin); #endif PHPAPI extern zend_string *php_base64_encode(const unsigned char *, size_t); PHPAPI extern zend_string *php_base64_decode_ex(const unsigned char *, size_t, zend_bool); static inline zend_string *php_base64_encode_str(const zend_string *str) { return php_base64_encode((const unsigned char*)(ZSTR_VAL(str)), ZSTR_LEN(str)); } static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { return php_base64_decode_ex(str, len, 0); } static inline zend_string *php_base64_decode_str(const zend_string *str) { return php_base64_decode_ex((const unsigned char*)(ZSTR_VAL(str)), ZSTR_LEN(str), 0); } #endif /* BASE64_H */
Upload File
Create Folder