Jon Parise
033224784b
@ - Added getopt() for parsing command line options and arguments. (Jon)
24 years ago
Wez Furlong
c74b9faca5
Implement a default_socket_timeout and auto_detect_line_endings ini options.
Also move user_agent from BG to FG.
24 years ago
Sterling Hughes
91df221ab7
@ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling)
The stream context is untested, but it should/could work :) Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)
24 years ago
Derick Rethans
1f9b519c55
- Remove read_uploaded_file
24 years ago
Derick Rethans
e2f110d982
- Added read_uploaded_file (patch by Andrew Sitnikov <sitnikov@infonet.ee>)
24 years ago
Andrei Zmievski
513e598d1e
Adding object aggregation capability along with tests.
24 years ago
jim winstead
e68095972e
Move type-handling functions into ext/standard/type.c (which had
a few otherwise unused functions in it).
24 years ago
Derick Rethans
57f3c395b8
- Removed is_array_multidimensional
24 years ago
Derick Rethans
cef0a461f9
- Added extra parameter to count() that recursively counts elements in an
array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
<glipy@fx.ro>)
24 years ago
Sebastian Bergmann
38933514e1
Update headers.
25 years ago
Hartmut Holzgraefe
49cc65cdae
renamed rot13 to str_rot13()
25 years ago
Hartmut Holzgraefe
71028d46cf
ported rot13() from php3
25 years ago
Sterling Hughes
3a50a0322f
@ Have rand() and mt_rand() seed automatically if srand() or mt_srand() has
@ not been called. (Sterling)
25 years ago
Hartmut Holzgraefe
2c275bf793
renamed doubleval to floatval and made doubleval an alias to floatval
made is_float the function entry and is_double the alias
25 years ago
Sterling Hughes
97fea0931c
Make rand thread safe when ZTS is defined.
25 years ago
foobar
42b5521af5
revert bad commit.
25 years ago
Jeroen van Wolffelaar
f7306ce010
Merge RAND_REDESIGN into MAIN
25 years ago
foobar
d340c5b2bf
@- Added ini_get_all() function which returns all registered ini entries
or the entries for the specified extension. (Jani)
25 years ago
Zeev Suraski
7b73aee40f
Make the session module more independent
25 years ago
Zeev Suraski
b8763a6f8c
Get rid of TRANS_SID - it's always possible to use it now.
25 years ago
Zeev Suraski
f47962c7c0
Implement import_request_variables()
25 years ago
Thies C. Arntzen
3884b15b95
fix possible crash - we should never keep the zval** as they might point
somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
25 years ago
Sascha Schumann
f6ed403fde
Don't copy the strtok parameter
25 years ago
Sascha Schumann
7471943c06
Replace our strtok implementation with a binary-safe one which code
does not cause headaches when reading it. Also happens to be a bit quicker.
25 years ago
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
25 years ago
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
Sascha Schumann
e8fe8f9d99
Provide typedefs for php_int32
25 years ago
Rasmus Lerdorf
934e10c7dc
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)
25 years ago
Andi Gutmans
177934732b
- Start nuking not needed GINIT
25 years ago
Andrei Zmievski
4d78270b4e
Moving some functions into Zend.
25 years ago
Sean Bright
0b716d18b1
Added get_defined_constants() function. Returns an associative array of
constants mapped to their values.
@- Added get_defined_constants() function to return an associative array of
@ constants mapped to their values. (Sean)
# If anyone sees a problem let me know.
25 years ago
Sascha Schumann
d5cfb03ac9
munmap() file in RSHUTDOWN, if PHPWRITE fails.
25 years ago
Andrei Zmievski
8112d1beba
@- Added is_callable() function that can be used to find out whether
25 years ago
Zeev Suraski
0117c7848e
this function will never return true...
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
Rui Hirokawa
0afcb03de3
added iconv extension.
25 years ago
Rui Hirokawa
517b81ad43
added a output handler function ob_iconv_handler which tranforms output encoding using iconv().
25 years ago
Zak Greant
e4ca57bb57
Added is_scalar() function.
26 years ago
Sterling Hughes
fe13e4b05d
@ Added the call_user_method_array function which allows you to call a method with an
@ arbitrary number of parameters. (Sterling)
26 years ago
Sterling Hughes
2cc8e2f8c7
@ Added the is_null() function that will return true if a variable is of
@ type null. (Sterling)
26 years ago
Sterling Hughes
0d1bcd480c
@ Added the call_user_func_array() function which gives you the ability to
@ call a user function by passing an array of parameters as the second
@ argument.
@ Added the constant() function which returns the value of a constant given
@ the constant's name.
26 years ago
Zeev Suraski
f52a59062d
parse_ini_file() supports a new optional 2nd argument that instructs it
to divide the directives to arrays according to the sections in which they
reside
26 years ago
Sascha Schumann
4b3fb7b05e
Add new URL scanner. This version is up to 20% faster. It will be
enabled by default once I'm sure that it works in every case.
To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c
26 years ago
Zeev Suraski
6c4cb4c079
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
26 years ago
Zeev Suraski
fa6bb59773
Fix build
26 years ago
Zeev Suraski
75086e3088
- Implemented is_upload_file()
26 years ago
Sterling Hughes
9f86ff884f
@Add a php.ini option session.use_trans_sid to enable/disable trans-sid. (Sterling)
26 years ago
Andrei Zmievski
cd8af6aa44
@- Added support for user defined 'tick' callback functions. This helps
@ emulate background processing. (Andrei)
26 years ago
Zeev Suraski
c542f9a3f4
- Fix IMAP build problem
- Allow external DLLs to use warn_not_available
26 years ago
Sascha Schumann
8e0ae5d152
Cleaning up some mess
26 years ago