UNPKG

code-server

Version:

Run VS Code on a remote server.

1 lines • 223 kB
"use strict";var fe=Object.create;var I=Object.defineProperty;var be=Object.getOwnPropertyDescriptor;var ye=Object.getOwnPropertyNames;var ve=Object.getPrototypeOf,xe=Object.prototype.hasOwnProperty;var A=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports),ke=(i,e)=>{for(var t in e)I(i,t,{get:e[t],enumerable:!0})},W=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ye(e))!xe.call(i,n)&&n!==t&&I(i,n,{get:()=>e[n],enumerable:!(r=be(e,n))||r.enumerable});return i};var R=(i,e,t)=>(t=i!=null?fe(ve(i)):{},W(e||!i||!i.__esModule?I(t,"default",{value:i,enumerable:!0}):t,i)),we=i=>W(I({},"__esModule",{value:!0}),i);var ee=A((yt,Q)=>{Q.exports=Y;Y.sync=Be;var K=require("fs");function qe(i,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var r=0;r<t.length;r++){var n=t[r].toLowerCase();if(n&&i.substr(-n.length).toLowerCase()===n)return!0}return!1}function J(i,e,t){return!i.isSymbolicLink()&&!i.isFile()?!1:qe(e,t)}function Y(i,e,t){K.stat(i,function(r,n){t(r,r?!1:J(n,i,e))})}function Be(i,e){return J(K.statSync(i),i,e)}});var se=A((vt,ne)=>{ne.exports=re;re.sync=Ve;var te=require("fs");function re(i,e,t){te.stat(i,function(r,n){t(r,r?!1:ie(n,e))})}function Ve(i,e){return ie(te.statSync(i),e)}function ie(i,e){return i.isFile()&&We(i,e)}function We(i,e){var t=i.mode,r=i.uid,n=i.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),c=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),g=parseInt("100",8),u=parseInt("010",8),o=parseInt("001",8),l=g|u,p=t&o||t&u&&n===c||t&g&&r===s||t&l&&s===0;return p}});var oe=A((kt,ae)=>{var xt=require("fs"),z;process.platform==="win32"||global.TESTING_WINDOWS?z=ee():z=se();ae.exports=j;j.sync=Xe;function j(i,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(r,n){j(i,e||{},function(s,c){s?n(s):r(c)})})}z(i,e||{},function(r,n){r&&(r.code==="EACCES"||e&&e.ignoreErrors)&&(r=null,n=!1),t(r,n)})}function Xe(i,e){try{return z.sync(i,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var me=A((wt,pe)=>{var C=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",ce=require("path"),Ze=C?";":":",de=oe(),le=i=>Object.assign(new Error(`not found: ${i}`),{code:"ENOENT"}),ge=(i,e)=>{let t=e.colon||Ze,r=i.match(/\//)||C&&i.match(/\\/)?[""]:[...C?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],n=C?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=C?n.split(t):[""];return C&&i.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:r,pathExt:s,pathExtExe:n}},ue=(i,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:r,pathExt:n,pathExtExe:s}=ge(i,e),c=[],g=o=>new Promise((l,p)=>{if(o===r.length)return e.all&&c.length?l(c):p(le(i));let m=r[o],$=/^".*"$/.test(m)?m.slice(1,-1):m,f=ce.join($,i),a=!$&&/^\.[\\\/]/.test(i)?i.slice(0,2)+f:f;l(u(a,o,0))}),u=(o,l,p)=>new Promise((m,$)=>{if(p===n.length)return m(g(l+1));let f=n[p];de(o+f,{pathExt:s},(a,b)=>{if(!a&&b)if(e.all)c.push(o+f);else return m(o+f);return m(u(o,l,p+1))})});return t?g(0).then(o=>t(null,o),t):g(0)},Ke=(i,e)=>{e=e||{};let{pathEnv:t,pathExt:r,pathExtExe:n}=ge(i,e),s=[];for(let c=0;c<t.length;c++){let g=t[c],u=/^".*"$/.test(g)?g.slice(1,-1):g,o=ce.join(u,i),l=!u&&/^\.[\\\/]/.test(i)?i.slice(0,2)+o:o;for(let p=0;p<r.length;p++){let m=l+r[p];try{if(de.sync(m,{pathExt:n}))if(e.all)s.push(m);else return m}catch{}}}if(e.all&&s.length)return s;if(e.nothrow)return null;throw le(i)};pe.exports=ue;ue.sync=Ke});var et={};ke(et,{activate:()=>Qe});module.exports=we(et);var N=R(require("vscode"));var _=require("vscode");var y={debug_backtrace:{description:"Generates a backtrace",signature:"([ int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT [, int $limit = 0 ]]): array"},debug_print_backtrace:{description:"Prints a backtrace",signature:"([ int $options = 0 [, int $limit = 0 ]]): void"},error_clear_last:{description:"Clear the most recent error",signature:"(void): void"},error_get_last:{description:"Get the last occurred error",signature:"(void): array"},error_log:{description:"Send an error message to the defined error handling routines",signature:"( string $message [, int $message_type = 0 [, string $destination [, string $extra_headers ]]]): bool"},error_reporting:{description:"Sets which PHP errors are reported",signature:"([ int $level ]): int"},restore_error_handler:{description:"Restores the previous error handler function",signature:"(void): bool"},restore_exception_handler:{description:"Restores the previously defined exception handler function",signature:"(void): bool"},set_error_handler:{description:"Sets a user-defined error handler function",signature:"( callable $error_handler [, int $error_types = E_ALL | E_STRICT ]): mixed"},set_exception_handler:{description:"Sets a user-defined exception handler function",signature:"( callable $exception_handler ): callable"},trigger_error:{description:"Generates a user-level error/warning/notice message",signature:"( string $error_msg [, int $error_type = E_USER_NOTICE ]): bool"},user_error:{description:"Alias of trigger_error"},opcache_compile_file:{description:"Compiles and caches a PHP script without executing it",signature:"( string $file ): bool"},opcache_get_configuration:{description:"Get configuration information about the cache",signature:"(void): array"},opcache_get_status:{description:"Get status information about the cache",signature:"([ bool $get_scripts ]): array"},opcache_invalidate:{description:"Invalidates a cached script",signature:"( string $script [, bool $force ]): bool"},opcache_is_script_cached:{description:"Tells whether a script is cached in OPCache",signature:"( string $file ): bool"},opcache_reset:{description:"Resets the contents of the opcode cache",signature:"(void): bool"},flush:{description:"Flush system output buffer",signature:"(void): void"},ob_clean:{description:"Clean (erase) the output buffer",signature:"(void): void"},ob_end_clean:{description:"Clean (erase) the output buffer and turn off output buffering",signature:"(void): bool"},ob_end_flush:{description:"Flush (send) the output buffer and turn off output buffering",signature:"(void): bool"},ob_flush:{description:"Flush (send) the output buffer",signature:"(void): void"},ob_get_clean:{description:"Get current buffer contents and delete current output buffer",signature:"(void): string"},ob_get_contents:{description:"Return the contents of the output buffer",signature:"(void): string"},ob_get_flush:{description:"Flush the output buffer, return it as a string and turn off output buffering",signature:"(void): string"},ob_get_length:{description:"Return the length of the output buffer",signature:"(void): int"},ob_get_level:{description:"Return the nesting level of the output buffering mechanism",signature:"(void): int"},ob_get_status:{description:"Get status of output buffers",signature:"([ bool $full_status = FALSE ]): array"},ob_gzhandler:{description:"ob_start callback function to gzip output buffer",signature:"( string $buffer , int $mode ): string"},ob_implicit_flush:{description:"Turn implicit flush on/off",signature:"([ int $flag = 1 ]): void"},ob_list_handlers:{description:"List all output handlers in use",signature:"(void): array"},ob_start:{description:"Turn on output buffering",signature:"([ callable $output_callback [, int $chunk_size = 0 [, int $flags ]]]): bool"},output_add_rewrite_var:{description:"Add URL rewriter values",signature:"( string $name , string $value ): bool"},output_reset_rewrite_vars:{description:"Reset URL rewriter values",signature:"(void): bool"},assert_options:{description:"Set/get the various assert flags",signature:"( int $what [, mixed $value ]): mixed"},assert:{description:"Checks if assertion is FALSE",signature:"( mixed $assertion [, string $description [, Throwable $exception ]]): bool"},cli_get_process_title:{description:"Returns the current process title",signature:"(void): string"},cli_set_process_title:{description:"Sets the process title",signature:"( string $title ): bool"},dl:{description:"Loads a PHP extension at runtime",signature:"( string $library ): bool"},extension_loaded:{description:"Find out whether an extension is loaded",signature:"( string $name ): bool"},gc_collect_cycles:{description:"Forces collection of any existing garbage cycles",signature:"(void): int"},gc_disable:{description:"Deactivates the circular reference collector",signature:"(void): void"},gc_enable:{description:"Activates the circular reference collector",signature:"(void): void"},gc_enabled:{description:"Returns status of the circular reference collector",signature:"(void): bool"},gc_mem_caches:{description:"Reclaims memory used by the Zend Engine memory manager",signature:"(void): int"},gc_status:{description:"Gets information about the garbage collector",signature:"(void): array"},get_cfg_var:{description:"Gets the value of a PHP configuration option",signature:"( string $option ): mixed"},get_current_user:{description:"Gets the name of the owner of the current PHP script",signature:"(void): string"},get_defined_constants:{description:"Returns an associative array with the names of all the constants and their values",signature:"([ bool $categorize ]): array"},get_extension_funcs:{description:"Returns an array with the names of the functions of a module",signature:"( string $module_name ): array"},get_include_path:{description:"Gets the current include_path configuration option",signature:"(void): string"},get_included_files:{description:"Returns an array with the names of included or required files",signature:"(void): array"},get_loaded_extensions:{description:"Returns an array with the names of all modules compiled and loaded",signature:"([ bool $zend_extensions ]): array"},get_magic_quotes_gpc:{description:"Gets the current configuration setting of magic_quotes_gpc",signature:"(void): bool"},get_magic_quotes_runtime:{description:"Gets the current active configuration setting of magic_quotes_runtime",signature:"(void): bool"},get_required_files:{description:"Alias of get_included_files"},get_resources:{description:"Returns active resources",signature:"([ string $type ]): resource"},getenv:{description:"Gets the value of an environment variable",signature:"( string $varname [, bool $local_only ]): array"},getlastmod:{description:"Gets time of last page modification",signature:"(void): int"},getmygid:{description:"Get PHP script owner's GID",signature:"(void): int"},getmyinode:{description:"Gets the inode of the current script",signature:"(void): int"},getmypid:{description:"Gets PHP's process ID",signature:"(void): int"},getmyuid:{description:"Gets PHP script owner's UID",signature:"(void): int"},getopt:{description:"Gets options from the command line argument list",signature:"( string $options [, array $longopts [, int $optind ]]): array"},getrusage:{description:"Gets the current resource usages",signature:"([ int $who = 0 ]): array"},ini_alter:{description:"Alias of ini_set"},ini_get_all:{description:"Gets all configuration options",signature:"([ string $extension [, bool $details ]]): array"},ini_get:{description:"Gets the value of a configuration option",signature:"( string $varname ): string"},ini_restore:{description:"Restores the value of a configuration option",signature:"( string $varname ): void"},ini_set:{description:"Sets the value of a configuration option",signature:"( string $varname , string $newvalue ): string"},magic_quotes_runtime:{description:"Alias of set_magic_quotes_runtime"},main:{description:"Dummy for main"},memory_get_peak_usage:{description:"Returns the peak of memory allocated by PHP",signature:"([ bool $real_usage ]): int"},memory_get_usage:{description:"Returns the amount of memory allocated to PHP",signature:"([ bool $real_usage ]): int"},php_ini_loaded_file:{description:"Retrieve a path to the loaded php.ini file",signature:"(void): string"},php_ini_scanned_files:{description:"Return a list of .ini files parsed from the additional ini dir",signature:"(void): string"},php_logo_guid:{description:"Gets the logo guid",signature:"(void): string"},php_sapi_name:{description:"Returns the type of interface between web server and PHP",signature:"(void): string"},php_uname:{description:"Returns information about the operating system PHP is running on",signature:'([ string $mode = "a" ]): string'},phpcredits:{description:"Prints out the credits for PHP",signature:"([ int $flag = CREDITS_ALL ]): bool"},phpinfo:{description:"Outputs information about PHP's configuration",signature:"([ int $what = INFO_ALL ]): bool"},phpversion:{description:"Gets the current PHP version",signature:"([ string $extension ]): string"},putenv:{description:"Sets the value of an environment variable",signature:"( string $setting ): bool"},restore_include_path:{description:"Restores the value of the include_path configuration option",signature:"(void): void"},set_include_path:{description:"Sets the include_path configuration option",signature:"( string $new_include_path ): string"},set_magic_quotes_runtime:{description:"Sets the current active configuration setting of magic_quotes_runtime",signature:"( bool $new_setting ): bool"},set_time_limit:{description:"Limits the maximum execution time",signature:"( int $seconds ): bool"},sys_get_temp_dir:{description:"Returns directory path used for temporary files",signature:"(void): string"},version_compare:{description:'Compares two "PHP-standardized" version number strings',signature:"( string $version1 , string $version2 , string $operator ): bool"},zend_logo_guid:{description:"Gets the Zend guid",signature:"(void): string"},zend_thread_id:{description:"Returns a unique identifier for the current thread",signature:"(void): int"},zend_version:{description:"Gets the version of the current Zend engine",signature:"(void): string"},bzclose:{description:"Close a bzip2 file",signature:"( resource $bz ): int"},bzcompress:{description:"Compress a string into bzip2 encoded data",signature:"( string $source [, int $blocksize = 4 [, int $workfactor = 0 ]]): mixed"},bzdecompress:{description:"Decompresses bzip2 encoded data",signature:"( string $source [, int $small = 0 ]): mixed"},bzerrno:{description:"Returns a bzip2 error number",signature:"( resource $bz ): int"},bzerror:{description:"Returns the bzip2 error number and error string in an array",signature:"( resource $bz ): array"},bzerrstr:{description:"Returns a bzip2 error string",signature:"( resource $bz ): string"},bzflush:{description:"Force a write of all buffered data",signature:"( resource $bz ): bool"},bzopen:{description:"Opens a bzip2 compressed file",signature:"( mixed $file , string $mode ): resource"},bzread:{description:"Binary safe bzip2 file read",signature:"( resource $bz [, int $length = 1024 ]): string"},bzwrite:{description:"Binary safe bzip2 file write",signature:"( resource $bz , string $data [, int $length ]): int"},PharException:{description:"The PharException class provides a phar-specific exception class for try/catch blocks"},zip_close:{description:"Close a ZIP file archive",signature:"( resource $zip ): void"},zip_entry_close:{description:"Close a directory entry",signature:"( resource $zip_entry ): bool"},zip_entry_compressedsize:{description:"Retrieve the compressed size of a directory entry",signature:"( resource $zip_entry ): int"},zip_entry_compressionmethod:{description:"Retrieve the compression method of a directory entry",signature:"( resource $zip_entry ): string"},zip_entry_filesize:{description:"Retrieve the actual file size of a directory entry",signature:"( resource $zip_entry ): int"},zip_entry_name:{description:"Retrieve the name of a directory entry",signature:"( resource $zip_entry ): string"},zip_entry_open:{description:"Open a directory entry for reading",signature:"( resource $zip , resource $zip_entry [, string $mode ]): bool"},zip_entry_read:{description:"Read from an open directory entry",signature:"( resource $zip_entry [, int $length = 1024 ]): string"},zip_open:{description:"Open a ZIP file archive",signature:"( string $filename ): resource"},zip_read:{description:"Read next entry in a ZIP file archive",signature:"( resource $zip ): resource"},deflate_add:{description:"Incrementally deflate data",signature:"( resource $context , string $data [, int $flush_mode = ZLIB_SYNC_FLUSH ]): string"},deflate_init:{description:"Initialize an incremental deflate context",signature:"( int $encoding [, array $options = array() ]): resource"},gzclose:{description:"Close an open gz-file pointer",signature:"( resource $zp ): bool"},gzcompress:{description:"Compress a string",signature:"( string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_DEFLATE ]]): string"},gzdecode:{description:"Decodes a gzip compressed string",signature:"( string $data [, int $length ]): string"},gzdeflate:{description:"Deflate a string",signature:"( string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_RAW ]]): string"},gzencode:{description:"Create a gzip compressed string",signature:"( string $data [, int $level = -1 [, int $encoding_mode = FORCE_GZIP ]]): string"},gzeof:{description:"Test for EOF on a gz-file pointer",signature:"( resource $zp ): int"},gzfile:{description:"Read entire gz-file into an array",signature:"( string $filename [, int $use_include_path = 0 ]): array"},gzgetc:{description:"Get character from gz-file pointer",signature:"( resource $zp ): string"},gzgets:{description:"Get line from file pointer",signature:"( resource $zp [, int $length ]): string"},gzgetss:{description:"Get line from gz-file pointer and strip HTML tags",signature:"( resource $zp , int $length [, string $allowable_tags ]): string"},gzinflate:{description:"Inflate a deflated string",signature:"( string $data [, int $length = 0 ]): string"},gzopen:{description:"Open gz-file",signature:"( string $filename , string $mode [, int $use_include_path = 0 ]): resource"},gzpassthru:{description:"Output all remaining data on a gz-file pointer",signature:"( resource $zp ): int"},gzputs:{description:"Alias of gzwrite"},gzread:{description:"Binary-safe gz-file read",signature:"( resource $zp , int $length ): string"},gzrewind:{description:"Rewind the position of a gz-file pointer",signature:"( resource $zp ): bool"},gzseek:{description:"Seek on a gz-file pointer",signature:"( resource $zp , int $offset [, int $whence = SEEK_SET ]): int"},gztell:{description:"Tell gz-file pointer read/write position",signature:"( resource $zp ): int"},gzuncompress:{description:"Uncompress a compressed string",signature:"( string $data [, int $length = 0 ]): string"},gzwrite:{description:"Binary-safe gz-file write",signature:"( resource $zp , string $string [, int $length ]): int"},inflate_add:{description:"Incrementally inflate encoded data",signature:"( resource $context , string $encoded_data [, int $flush_mode = ZLIB_SYNC_FLUSH ]): string"},inflate_get_read_len:{description:"Get number of bytes read so far",signature:"( resource $resource ): int"},inflate_get_status:{description:"Get decompression status",signature:"( resource $resource ): int"},inflate_init:{description:"Initialize an incremental inflate context",signature:"( int $encoding [, array $options = array() ]): resource"},readgzfile:{description:"Output a gz-file",signature:"( string $filename [, int $use_include_path = 0 ]): int"},zlib_decode:{description:"Uncompress any raw/gzip/zlib encoded data",signature:"( string $data [, string $max_decoded_len ]): string"},zlib_encode:{description:"Compress data with the specified encoding",signature:"( string $data , int $encoding [, int $level = -1 ]): string"},zlib_get_coding_type:{description:"Returns the coding type used for output compression",signature:"(void): string"},random_bytes:{description:"Generates cryptographically secure pseudo-random bytes",signature:"( int $length ): string"},random_int:{description:"Generates cryptographically secure pseudo-random integers",signature:"( int $min , int $max ): int"},hash_algos:{description:"Return a list of registered hashing algorithms",signature:"(void): array"},hash_copy:{description:"Copy hashing context",signature:"( HashContext $context ): HashContext"},hash_equals:{description:"Timing attack safe string comparison",signature:"( string $known_string , string $user_string ): bool"},hash_file:{description:"Generate a hash value using the contents of a given file",signature:"( string $algo , string $filename [, bool $raw_output ]): string"},hash_final:{description:"Finalize an incremental hash and return resulting digest",signature:"( HashContext $context [, bool $raw_output ]): string"},hash_hkdf:{description:"Generate a HKDF key derivation of a supplied key input",signature:"( string $algo , string $ikm [, int $length = 0 [, string $info = '' [, string $salt = '' ]]]): string"},hash_hmac_algos:{description:"Return a list of registered hashing algorithms suitable for hash_hmac",signature:"(void): array"},hash_hmac_file:{description:"Generate a keyed hash value using the HMAC method and the contents of a given file",signature:"( string $algo , string $filename , string $key [, bool $raw_output ]): string"},hash_hmac:{description:"Generate a keyed hash value using the HMAC method",signature:"( string $algo , string $data , string $key [, bool $raw_output ]): string"},hash_init:{description:"Initialize an incremental hashing context",signature:"( string $algo [, int $options = 0 [, string $key ]]): HashContext"},hash_pbkdf2:{description:"Generate a PBKDF2 key derivation of a supplied password",signature:"( string $algo , string $password , string $salt , int $iterations [, int $length = 0 [, bool $raw_output ]]): string"},hash_update_file:{description:"Pump data into an active hashing context from a file",signature:"( HashContext $hcontext , string $filename [, resource $scontext ]): bool"},hash_update_stream:{description:"Pump data into an active hashing context from an open stream",signature:"( HashContext $context , resource $handle [, int $length = -1 ]): int"},hash_update:{description:"Pump data into an active hashing context",signature:"( HashContext $context , string $data ): bool"},hash:{description:"Generate a hash value (message digest)",signature:"( string $algo , string $data [, bool $raw_output ]): string"},openssl_cipher_iv_length:{description:"Gets the cipher iv length",signature:"( string $method ): int"},openssl_csr_export_to_file:{description:"Exports a CSR to a file",signature:"( mixed $csr , string $outfilename [, bool $notext ]): bool"},openssl_csr_export:{description:"Exports a CSR as a string",signature:"( mixed $csr , string $out [, bool $notext ]): bool"},openssl_csr_get_public_key:{description:"Returns the public key of a CSR",signature:"( mixed $csr [, bool $use_shortnames ]): resource"},openssl_csr_get_subject:{description:"Returns the subject of a CSR",signature:"( mixed $csr [, bool $use_shortnames ]): array"},openssl_csr_new:{description:"Generates a CSR",signature:"( array $dn , resource $privkey [, array $configargs [, array $extraattribs ]]): mixed"},openssl_csr_sign:{description:"Sign a CSR with another certificate (or itself) and generate a certificate",signature:"( mixed $csr , mixed $cacert , mixed $priv_key , int $days [, array $configargs [, int $serial = 0 ]]): resource"},openssl_decrypt:{description:"Decrypts data",signature:'( string $data , string $method , string $key [, int $options = 0 [, string $iv = "" [, string $tag = "" [, string $aad = "" ]]]]): string'},openssl_dh_compute_key:{description:"Computes shared secret for public value of remote DH public key and local DH key",signature:"( string $pub_key , resource $dh_key ): string"},openssl_digest:{description:"Computes a digest",signature:"( string $data , string $method [, bool $raw_output ]): string"},openssl_encrypt:{description:"Encrypts data",signature:'( string $data , string $method , string $key [, int $options = 0 [, string $iv = "" [, string $tag = NULL [, string $aad = "" [, int $tag_length = 16 ]]]]]): string'},openssl_error_string:{description:"Return openSSL error message",signature:"(void): string"},openssl_free_key:{description:"Free key resource",signature:"( resource $key_identifier ): void"},openssl_get_cert_locations:{description:"Retrieve the available certificate locations",signature:"(void): array"},openssl_get_cipher_methods:{description:"Gets available cipher methods",signature:"([ bool $aliases ]): array"},openssl_get_curve_names:{description:"Gets list of available curve names for ECC",signature:"(void): array"},openssl_get_md_methods:{description:"Gets available digest methods",signature:"([ bool $aliases ]): array"},openssl_get_privatekey:{description:"Alias of openssl_pkey_get_private"},openssl_get_publickey:{description:"Alias of openssl_pkey_get_public"},openssl_open:{description:"Open sealed data",signature:'( string $sealed_data , string $open_data , string $env_key , mixed $priv_key_id [, string $method = "RC4" [, string $iv ]]): bool'},openssl_pbkdf2:{description:"Generates a PKCS5 v2 PBKDF2 string",signature:'( string $password , string $salt , int $key_length , int $iterations [, string $digest_algorithm = "sha1" ]): string'},openssl_pkcs12_export_to_file:{description:"Exports a PKCS#12 Compatible Certificate Store File",signature:"( mixed $x509 , string $filename , mixed $priv_key , string $pass [, array $args ]): bool"},openssl_pkcs12_export:{description:"Exports a PKCS#12 Compatible Certificate Store File to variable",signature:"( mixed $x509 , string $out , mixed $priv_key , string $pass [, array $args ]): bool"},openssl_pkcs12_read:{description:"Parse a PKCS#12 Certificate Store into an array",signature:"( string $pkcs12 , array $certs , string $pass ): bool"},openssl_pkcs7_decrypt:{description:"Decrypts an S/MIME encrypted message",signature:"( string $infilename , string $outfilename , mixed $recipcert [, mixed $recipkey ]): bool"},openssl_pkcs7_encrypt:{description:"Encrypt an S/MIME message",signature:"( string $infile , string $outfile , mixed $recipcerts , array $headers [, int $flags = 0 [, int $cipherid = OPENSSL_CIPHER_RC2_40 ]]): bool"},openssl_pkcs7_read:{description:"Export the PKCS7 file to an array of PEM certificates",signature:"( string $infilename , array $certs ): bool"},openssl_pkcs7_sign:{description:"Sign an S/MIME message",signature:"( string $infilename , string $outfilename , mixed $signcert , mixed $privkey , array $headers [, int $flags = PKCS7_DETACHED [, string $extracerts ]]): bool"},openssl_pkcs7_verify:{description:"Verifies the signature of an S/MIME signed message",signature:"( string $filename , int $flags [, string $outfilename [, array $cainfo [, string $extracerts [, string $content [, string $p7bfilename ]]]]]): mixed"},openssl_pkey_export_to_file:{description:"Gets an exportable representation of a key into a file",signature:"( mixed $key , string $outfilename [, string $passphrase [, array $configargs ]]): bool"},openssl_pkey_export:{description:"Gets an exportable representation of a key into a string",signature:"( mixed $key , string $out [, string $passphrase [, array $configargs ]]): bool"},openssl_pkey_free:{description:"Frees a private key",signature:"( resource $key ): void"},openssl_pkey_get_details:{description:"Returns an array with the key details",signature:"( resource $key ): array"},openssl_pkey_get_private:{description:"Get a private key",signature:'( mixed $key [, string $passphrase = "" ]): resource'},openssl_pkey_get_public:{description:"Extract public key from certificate and prepare it for use",signature:"( mixed $certificate ): resource"},openssl_pkey_new:{description:"Generates a new private key",signature:"([ array $configargs ]): resource"},openssl_private_decrypt:{description:"Decrypts data with private key",signature:"( string $data , string $decrypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ]): bool"},openssl_private_encrypt:{description:"Encrypts data with private key",signature:"( string $data , string $crypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ]): bool"},openssl_public_decrypt:{description:"Decrypts data with public key",signature:"( string $data , string $decrypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ]): bool"},openssl_public_encrypt:{description:"Encrypts data with public key",signature:"( string $data , string $crypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ]): bool"},openssl_random_pseudo_bytes:{description:"Generate a pseudo-random string of bytes",signature:"( int $length [, bool $crypto_strong ]): string"},openssl_seal:{description:"Seal (encrypt) data",signature:'( string $data , string $sealed_data , array $env_keys , array $pub_key_ids [, string $method = "RC4" [, string $iv ]]): int'},openssl_sign:{description:"Generate signature",signature:"( string $data , string $signature , mixed $priv_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1 ]): bool"},openssl_spki_export_challenge:{description:"Exports the challenge assoicated with a signed public key and challenge",signature:"( string $spkac ): string"},openssl_spki_export:{description:"Exports a valid PEM formatted public key signed public key and challenge",signature:"( string $spkac ): string"},openssl_spki_new:{description:"Generate a new signed public key and challenge",signature:"( resource $privkey , string $challenge [, int $algorithm = 0 ]): string"},openssl_spki_verify:{description:"Verifies a signed public key and challenge",signature:"( string $spkac ): string"},openssl_verify:{description:"Verify signature",signature:"( string $data , string $signature , mixed $pub_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1 ]): int"},openssl_x509_check_private_key:{description:"Checks if a private key corresponds to a certificate",signature:"( mixed $cert , mixed $key ): bool"},openssl_x509_checkpurpose:{description:"Verifies if a certificate can be used for a particular purpose",signature:"( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]]): int"},openssl_x509_export_to_file:{description:"Exports a certificate to file",signature:"( mixed $x509 , string $outfilename [, bool $notext ]): bool"},openssl_x509_export:{description:"Exports a certificate as a string",signature:"( mixed $x509 , string $output [, bool $notext ]): bool"},openssl_x509_fingerprint:{description:"Calculates the fingerprint, or digest, of a given X.509 certificate",signature:'( mixed $x509 [, string $hash_algorithm = "sha1" [, bool $raw_output ]]): string'},openssl_x509_free:{description:"Free certificate resource",signature:"( resource $x509cert ): void"},openssl_x509_parse:{description:"Parse an X509 certificate and return the information as an array",signature:"( mixed $x509cert [, bool $shortnames ]): array"},openssl_x509_read:{description:"Parse an X.509 certificate and return a resource identifier for it",signature:"( mixed $x509certdata ): resource"},password_get_info:{description:"Returns information about the given hash",signature:"( string $hash ): array"},password_hash:{description:"Creates a password hash",signature:"( string $password , int $algo [, array $options ]): integer"},password_needs_rehash:{description:"Checks if the given hash matches the given options",signature:"( string $hash , int $algo [, array $options ]): bool"},password_verify:{description:"Verifies that a password matches a hash",signature:"( string $password , string $hash ): bool"},sodium_add:{description:"Add large numbers",signature:"( string $val , string $addv ): void"},sodium_base642bin:{description:"Description",signature:"( string $b64 , int $id [, string $ignore ]): string"},sodium_bin2base64:{description:"Description",signature:"( string $bin , int $id ): string"},sodium_bin2hex:{description:"Encode to hexadecimal",signature:"( string $bin ): string"},sodium_compare:{description:"Compare large numbers",signature:"( string $buf1 , string $buf2 ): int"},sodium_crypto_aead_aes256gcm_decrypt:{description:"Decrypt in combined mode with precalculation",signature:"( string $ciphertext , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_aes256gcm_encrypt:{description:"Encrypt in combined mode with precalculation",signature:"( string $msg , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_aes256gcm_is_available:{description:"Check if hardware supports AES256-GCM",signature:"(void): bool"},sodium_crypto_aead_aes256gcm_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_aead_chacha20poly1305_decrypt:{description:"Verify that the ciphertext includes a valid tag",signature:"( string $ciphertext , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_chacha20poly1305_encrypt:{description:"Encrypt a message",signature:"( string $msg , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_chacha20poly1305_ietf_decrypt:{description:"Verify that the ciphertext includes a valid tag",signature:"( string $ciphertext , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_chacha20poly1305_ietf_encrypt:{description:"Encrypt a message",signature:"( string $msg , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_chacha20poly1305_ietf_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_aead_chacha20poly1305_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_aead_xchacha20poly1305_ietf_decrypt:{description:"Description",signature:"( string $ciphertext , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_xchacha20poly1305_ietf_encrypt:{description:"Description",signature:"( string $msg , string $ad , string $nonce , string $key ): string"},sodium_crypto_aead_xchacha20poly1305_ietf_keygen:{description:"Description",signature:"(void): string"},sodium_crypto_auth_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_auth_verify:{description:"Verifies that the tag is valid for the message",signature:"( string $signature , string $msg , string $key ): bool"},sodium_crypto_auth:{description:"Compute a tag for the message",signature:"( string $msg , string $key ): string"},sodium_crypto_box_keypair_from_secretkey_and_publickey:{description:"Description",signature:"( string $secret_key , string $public_key ): string"},sodium_crypto_box_keypair:{description:"Randomly generate a secret key and a corresponding public key",signature:"(void): string"},sodium_crypto_box_open:{description:"Verify and decrypt a ciphertext",signature:"( string $ciphertext , string $nonce , string $key ): string"},sodium_crypto_box_publickey_from_secretkey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_box_publickey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_box_seal_open:{description:"Decrypt the ciphertext",signature:"( string $ciphertext , string $key ): string"},sodium_crypto_box_seal:{description:"Encrypt a message",signature:"( string $msg , string $key ): string"},sodium_crypto_box_secretkey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_box_seed_keypair:{description:"Deterministically derive the key pair from a single key",signature:"( string $key ): string"},sodium_crypto_box:{description:"Encrypt a message",signature:"( string $msg , string $nonce , string $key ): string"},sodium_crypto_generichash_final:{description:"Complete the hash",signature:"( string $state [, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES ]): string"},sodium_crypto_generichash_init:{description:"Initialize a hash",signature:"([ string $key [, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES ]]): string"},sodium_crypto_generichash_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_generichash_update:{description:"Add message to a hash",signature:"( string $state , string $msg ): bool"},sodium_crypto_generichash:{description:"Get a hash of the message",signature:"( string $msg [, string $key [, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES ]]): string"},sodium_crypto_kdf_derive_from_key:{description:"Derive a subkey",signature:"( int $subkey_len , int $subkey_id , string $context , string $key ): string"},sodium_crypto_kdf_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_kx_client_session_keys:{description:"Description",signature:"( string $client_keypair , string $server_key ): array"},sodium_crypto_kx_keypair:{description:"Creates a new sodium keypair",signature:"(void): string"},sodium_crypto_kx_publickey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_kx_secretkey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_kx_seed_keypair:{description:"Description",signature:"( string $string ): string"},sodium_crypto_kx_server_session_keys:{description:"Description",signature:"( string $server_keypair , string $client_key ): array"},sodium_crypto_pwhash_scryptsalsa208sha256_str_verify:{description:"Verify that the password is a valid password verification string",signature:"( string $hash , string $password ): bool"},sodium_crypto_pwhash_scryptsalsa208sha256_str:{description:"Get an ASCII encoded hash",signature:"( string $password , int $opslimit , int $memlimit ): string"},sodium_crypto_pwhash_scryptsalsa208sha256:{description:"Derives a key from a password",signature:"( int $length , string $password , string $salt , int $opslimit , int $memlimit ): string"},sodium_crypto_pwhash_str_needs_rehash:{description:"Description",signature:"( string $password , int $opslimit , int $memlimit ): bool"},sodium_crypto_pwhash_str_verify:{description:"Verifies that a password matches a hash",signature:"( string $hash , string $password ): bool"},sodium_crypto_pwhash_str:{description:"Get an ASCII-encoded hash",signature:"( string $password , int $opslimit , int $memlimit ): string"},sodium_crypto_pwhash:{description:"Derive a key from a password",signature:"( int $length , string $password , string $salt , int $opslimit , int $memlimit [, int $alg ]): string"},sodium_crypto_scalarmult_base:{description:"Alias of sodium_crypto_box_publickey_from_secretkey"},sodium_crypto_scalarmult:{description:"Compute a shared secret given a user's secret key and another user's public key",signature:"( string $n , string $p ): string"},sodium_crypto_secretbox_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_secretbox_open:{description:"Verify and decrypt a ciphertext",signature:"( string $ciphertext , string $nonce , string $key ): string"},sodium_crypto_secretbox:{description:"Encrypt a message",signature:"( string $string , string $nonce , string $key ): string"},sodium_crypto_secretstream_xchacha20poly1305_init_pull:{description:"Description",signature:"( string $header , string $key ): string"},sodium_crypto_secretstream_xchacha20poly1305_init_push:{description:"Description",signature:"( string $key ): array"},sodium_crypto_secretstream_xchacha20poly1305_keygen:{description:"Description",signature:"(void): string"},sodium_crypto_secretstream_xchacha20poly1305_pull:{description:"Description",signature:"( string $state , string $c [, string $ad ]): array"},sodium_crypto_secretstream_xchacha20poly1305_push:{description:"Description",signature:"( string $state , string $msg [, string $ad [, int $tag ]]): string"},sodium_crypto_secretstream_xchacha20poly1305_rekey:{description:"Description",signature:"( string $state ): void"},sodium_crypto_shorthash_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_shorthash:{description:"Compute a fixed-size fingerprint for the message",signature:"( string $msg , string $key ): string"},sodium_crypto_sign_detached:{description:"Sign the message",signature:"( string $msg , string $secretkey ): string"},sodium_crypto_sign_ed25519_pk_to_curve25519:{description:"Convert an Ed25519 public key to a Curve25519 public key",signature:"( string $key ): string"},sodium_crypto_sign_ed25519_sk_to_curve25519:{description:"Convert an Ed25519 secret key to a Curve25519 secret key",signature:"( string $key ): string"},sodium_crypto_sign_keypair_from_secretkey_and_publickey:{description:"Description",signature:"( string $secret_key , string $public_key ): string"},sodium_crypto_sign_keypair:{description:"Randomly generate a secret key and a corresponding public key",signature:"(void): string"},sodium_crypto_sign_open:{description:"Check that the signed message has a valid signature",signature:"( string $string , string $public_key ): string"},sodium_crypto_sign_publickey_from_secretkey:{description:"Extract the public key from the secret key",signature:"( string $key ): string"},sodium_crypto_sign_publickey:{description:"Description",signature:"( string $keypair ): string"},sodium_crypto_sign_secretkey:{description:"Description",signature:"( string $key ): string"},sodium_crypto_sign_seed_keypair:{description:"Deterministically derive the key pair from a single key",signature:"( string $key ): string"},sodium_crypto_sign_verify_detached:{description:"Verify signature for the message",signature:"( string $signature , string $msg , string $public_key ): bool"},sodium_crypto_sign:{description:"Sign a message",signature:"( string $msg , string $secret_key ): string"},sodium_crypto_stream_keygen:{description:"Get random bytes for key",signature:"(void): string"},sodium_crypto_stream_xor:{description:"Encrypt a message",signature:"( string $msg , string $nonce , string $key ): string"},sodium_crypto_stream:{description:"Generate a deterministic sequence of bytes from a seed",signature:"( int $length , string $nonce , string $key ): string"},sodium_hex2bin:{description:"Decodes a hexadecimally encoded binary string",signature:"( string $hex [, string $ignore ]): string"},sodium_increment:{description:"Increment large number",signature:"( string $val ): void"},sodium_memcmp:{description:"Test for equality in constant-time",signature:"( string $buf1 , string $buf2 ): int"},sodium_memzero:{description:"Overwrite buf with zeros",signature:"( string $buf ): void"},sodium_pad:{description:"Add padding data",signature:"( string $unpadded , int $length ): string"},sodium_unpad:{description:"Remove padding data",signature:"( string $padded , int $length ): string"},dba_close:{description:"Close a DBA database",signature:"( resource $handle ): void"},dba_delete:{description:"Delete DBA entry specified by key",signature:"( string $key , resource $handle ): bool"},dba_exists:{description:"Check whether key exists",signature:"( string $key , resource $handle ): bool"},dba_fetch:{description:"Fetch data specified by key",signature:"( string $key , resource $handle , int $skip ): string"},dba_firstkey:{description:"Fetch first key",signature:"( resource $handle ): string"},dba_handlers:{description:"List all the handlers available",signature:"([ bool $full_info ]): array"},dba_insert:{description:"Insert entry",signature:"( string $key , string $value , resource $handle ): bool"},dba_key_split:{description:"Splits a key in string representation into array representation",signature:"( mixed $key ): mixed"},dba_list:{description:"List all open database files",signature:"(void): array"},dba_nextkey:{description:"Fetch next key",signature:"( resource $handle ): string"},dba_open:{description:"Open database",signature:"( string $path , string $mode [, string $handler [, mixed $... ]]): resource"},dba_optimize:{description:"Optimize database",signature:"( resource $handle ): bool"},dba_popen:{description:"Open database persistently",signature:"( string $path , string $mode [, string $handler [, mixed $... ]]): resource"},dba_replace:{description:"Replace or insert entry",signature:"( string $key , string $value , resource $handle ): bool"},dba_sync:{description:"Synchronize database",signature:"( resource $handle ): bool"},pdo_drivers:{description:"Return an array of available PDO drivers",signature:"(void): array"},cal_days_in_month:{description:"Return the number of days in a month for a given year and calendar",signature:"( int $calendar , int $month , int $year ): int"},cal_from_jd:{description:"Converts from Julian Day Count to a supported calendar",signature:"( int $jd , int $calendar ): array"},cal_info:{description:"Returns information about a particular calendar",signature:"([ int $calendar = -1 ]): array"},cal_to_jd:{description:"Converts from a supported calendar to Julian Day Count",signature:"( int $calendar , int $month , int $day , int $year ): int"},easter_date:{description:"Get Unix timestamp for midnight on Easter of a given year",signature:'([ int $year = date("Y") ]): int'},easter_days:{description:"Get number of days after March 21 on which Easter falls for a given year",signature:'([ int $year = date("Y") [, int $method = CAL_EASTER_DEFAULT ]]): int'},frenchtojd:{description:"Converts a date from the French Republican Calendar to a Julian Day Count",signature:"( int $month , int $day , int $year ): int"},gregoriantojd:{description:"Converts a Gregorian date to Julian Day Count",signature:"( int $month , int $day , int $year ): int"},jddayofweek:{description:"Returns the day of the week",signature:"( int $julianday [, int $mode = CAL_DOW_DAYNO ]): mixed"},jdmonthname:{description:"Returns a month name",signature:"( int $julianday , int $mode ): string"},jdtofrench:{description:"Converts a Julian Day Count to the French Republican Calendar",signature:"( int $juliandaycount ): string"},jdtogregorian:{description:"Converts Julian Day Count to Gregorian date",signature:"( int $julianday ): string"},jdtojewish:{description:"Converts a Julian day count to a Jewish calendar date",signature:"( int $juliandaycount [, bool $hebrew [, int $fl = 0 ]]): string"},jdtojulian:{description:"Converts a Julian Day Count to a Julian Calendar Date",signature:"( int $julianday ): string"},jdtounix:{description:"Convert Julian Day to Unix timestamp",signature:"( int $jday ): int"},jewishtojd:{description:"Converts a date in the Jewish Calendar to Julian Day Count",signature:"( int $month , int $day , int $year ): int"},juliantojd:{description:"Converts a Julian Calendar date to Julian Day Count",signature:"( int $month , int $day , int $year ): int"},unixtojd:{description:"Convert Unix timestamp to Julian Day",signature:"([ int $timestamp = time() ]): int"},date_add:{description:"Adds an amount of days, months, years, hours, minutes and seconds to a DateTime object",signature:"( DateTime $object , DateInterval $interval ): DateTime"},date_create:{description:"Returns new DateTime object",signature:'([ string $time = "now" [, DateTimeZone $timezone ]]): DateTime'},date_create_from_format:{description:"Parses a time string according to a specified format",signature:"( string $format , string $time [, DateTimeZone $timezone ]): DateTime"},date_get_last_errors:{description:"Returns the warnings and errors",signature:"(void): array"},date_modify:{description:"Alters the timestamp",signature:"( DateTime $object , string $modify ): DateTime"},date_date_set:{description:"Sets the date",signature:"( DateTime $object , int $year , int $month , int $day ): DateTime"},date_isodate_set:{description:"Sets the ISO date",signature:"( DateTime $object , int $year , int $week [, int $day = 1 ]): DateTime"},date_time_set:{description:"Sets the time",signature:"( DateTime $object , int $hour , int $minute [, int $second = 0 [, int $microseconds = 0 ]]): DateTime"},date_timestamp_set:{description:"Sets the date and time based on an Unix timestamp",signature:"( DateTime $object , int $unixtimestamp ): DateTime"},date_timezone_set:{description:"Sets the time zone for the DateTime object",signature:"( DateTime $object , DateTimeZone $timezone ): object"},date_sub:{description:"Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object",signature:"( DateTime $object , DateInterval $interval ): DateTime"},date_create_immutable:{description:"Returns new DateTimeImmutable object",signature:'([ string $time = "now" [, DateTimeZone $timezone ]]): DateTimeImmutable'},date_create_immutable_from_format:{description:"Parses a time string according to a specified format",signature:"( string $format , string $time [, DateTimeZone $timezone ]): DateTimeImmutable"},date_diff:{description:"Returns the difference between two DateTime objects",signature:"( DateTimeInterface $datetime2 [, bool $absolute , DateTimeInterface $datetime1 ]): DateInterval"},date_format:{description:"Returns date formatted according to given format",signature:"( DateTimeInterface $object , string $format ): string"},date_offset_get:{description:"Returns the timezone offset",signature:"( DateTimeInterface $object ): int"},date_timestamp_get:{description:"Gets the Unix timestamp",signature:"( DateTimeInterface $object ): int"},date_timezone_get:{description:"Return time zone relative to given DateTime",signature:"( DateTimeInterface $object ): DateTimeZone"},timezone_open:{description:"Creates new DateTimeZone object",signature:"( string $timezone ): DateTimeZone"},timezone_location_get:{description:"Returns location information for a timezone",signature:"( DateTimeZone $object ): array"},timezone_name_get:{description:"Returns the name of the timezone",signature:"( DateTimeZone $object ): string"},timezone_offset_get:{description:"Returns the timezone offset from GMT",signature:"( DateTimeInterface $datetime , DateTimeZone $object ): int"},timezone_transitions_get:{description:"Returns all transitions for the timezone",signature:"([ int $timestamp_begin [, int $timestamp_end , DateTimeZone $object ]]): array"},timezone_abbreviations_list:{description:"Returns associative array containing dst, offset and the timezone name",signa