HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/ENV/assoc-c.ri
U:RDoc::AnyMethod[iI"
assoc:ETI"ENV::assoc;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"YReturns a 2-element Array containing the name and value of the environment variable ;TI"for +name+ if it exists:;To:RDoc::Markup::Verbatim;	[I"-ENV.replace('foo' => '0', 'bar' => '1')
;TI"(ENV.assoc('foo') # => ['foo', '0']
;T:@format0o;
;	[I"YReturns +nil+ if +name+ is a valid String and there is no such environment variable.;To:RDoc::Markup::BlankLineo;
;	[I"fReturns +nil+ if +name+ is the empty String or is a String containing character <code>'='</code>.;T@o;
;	[I"^Raises an exception if +name+ is a String containing the NUL character <code>"\0"</code>:;To;;	[I"`ENV.assoc("\0") # Raises ArgumentError (bad environment variable name: contains null byte)
;T;0o;
;	[I"PRaises an exception if +name+ has an encoding that is not ASCII-compatible:;To;;	[I">ENV.assoc("\xa1\xa1".force_encoding(Encoding::UTF_16LE))
;TI"c# Raises ArgumentError (bad environment variable name: ASCII incompatible encoding: UTF-16LE)
;T;0o;
;	[I"3Raises an exception if +name+ is not a String:;To;;	[I"UENV.assoc(Object.new) # TypeError (no implicit conversion of Object into String);T;0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"-ENV.assoc(name) -> [name, value] or nil
;T0[I"	(p1);T@-FI"ENV;TcRDoc::NormalClass00