summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5SVN Migration2003-02-27302-62792/+0
|
* Another big commit (tm).Wez Furlong2003-02-276-238/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Main Changes: - Implement a socket transport layer for use by all code that needs to open some kind of "special" socket for network or IPC. - Extensions can register (and override) transports. - Implement ftruncate() on streams via the ioctl-alike option interface. - Implement mmap() on streams via the ioctl-alike option interface. - Implement generic crypto API via the ioctl-alike option interface. (currently only supports OpenSSL, but could support other SSL toolkits, and other crypto transport protocols). Impact: - tcp sockets can be overloaded by the openssl capable sockets at runtime, removing the link-time requirement for ssl:// and https:// sockets and streams. - checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since there are now a range of possible socket-type streams. Working towards: - socket servers using the new transport layer - mmap support under win32 - Cleaner code. # I will be updating the win32 build to add the new files shortly # after this commit.
* Fixed bug #21410 (fixed handling of NULL or "" files on Win32)Ilia Alshanetsky2003-02-271-0/+4
|
* 1) Make the output of system() binary safeIlia Alshanetsky2003-02-262-198/+120
| | | | | | | | | | | | | 2) Solved a memory leak when the return_value variable passed by reference is not an integer in system()/exec()/passthru(). 3) Solved a bug in exec(), which would make it append to the 2nd parameter (passed by reference) if the parameter is an array instead of overwriting it. 4) Changed the code to use the streams code, resulting in a smaller code base. 5) Various cleanups resulting in reduction of overall code base inside the file by ~ 1/3. 6) Speed improvements of ~2.5 times compared to previous performance (based on attached PHP script).
* - Added an extra ini setting with which extra commands can be forced toDerick Rethans2003-02-261-1/+4
| | | | | | | | | | | the sendmail deamon on a per-vhost base. The value in this ini setting will override all extra commands passed as the 5th parameter to mail() and will work in Safe Mode. @- Added an extra ini setting (mail_force_extra_paramaters) which forces @ the addition of the specified parameters to be passed as extra @ parameters to the sendmail binary. These parameters will always replace @ the value of the 5th parameter to mail(), even in safe mode. (Derick)
* - Fix protoDerick Rethans2003-02-261-1/+1
|
* - WhitespaceDerick Rethans2003-02-261-4/+4
|
* Made shell_exec() use streams, this simplifies the code and in some casesIlia Alshanetsky2003-02-251-15/+11
| | | | | makes it a little faster too.
* MFH (forgot to put this fix into the 5.X tree).Ilia Alshanetsky2003-02-251-0/+3
|
* Set fgetss() free from the length parameterMoriyoshi Koizumi2003-02-251-18/+26
|
* Fixed test.Ilia Alshanetsky2003-02-251-2/+3
|
* Fixed bug #22414 and added a test case for it.Ilia Alshanetsky2003-02-252-1/+38
|
* Fixed bug #22402 (opening of ftp for read/write could fail due to invalidIlia Alshanetsky2003-02-251-1/+1
| | | | | | return code handling). Solution suggested by jan@jancm.org
* Added locking to streams.Ilia Alshanetsky2003-02-251-9/+8
| | | | | | | Allow PHP to automatically release locks on files when terminating the stream. Fixed bugs in the handling of the 3rd optional parameter to flock().
* Fixed string.strip_tags filter so it reflects the change on php_strip_tagsMoriyoshi Koizumi2003-02-241-2/+3
|
* Made fgetss() binary safe tooMoriyoshi Koizumi2003-02-241-3/+4
|
* Fixed possible buffer overflow of php_strip_tagsMoriyoshi Koizumi2003-02-241-1/+3
|
* Made strip_tags() binary safeMoriyoshi Koizumi2003-02-242-4/+7
|
* Initial re-implementation of userfilters after filterchain redesign by wez. ↵Sara Golemon2003-02-243-17/+198
| | | | More userspace API to come.
* MFB: Bunch of streams related fixes.Wez Furlong2003-02-241-1/+1
|
* Fixed bug #22355 (PHP would remove folding from Subject & To fields).Ilia Alshanetsky2003-02-241-0/+16
|
* Forgot to fix this partMoriyoshi Koizumi2003-02-241-1/+1
|
* Fixed a signed / unsigned issue.Moriyoshi Koizumi2003-02-241-1/+1
| | | | | | # imagine the case like "\\\xfe" where walk[1] takes a value that is greater # than 127 in integer...
* Style fixMoriyoshi Koizumi2003-02-241-7/+11
|
* Fixed bug #22382 (fgetcsv did not handle \" correctly).Ilia Alshanetsky2003-02-243-0/+44
|
* Extra paranoia checks if dn_skipname/dn_expand exist or notfoobar2003-02-243-0/+6
|
* Revent previous patch, adding of file_write_content() was premature.Ilia Alshanetsky2003-02-223-63/+0
|
* int/long change.Ilia Alshanetsky2003-02-224-3/+66
|
* additional speedup for array_shift(). No need to rehash if the removed element'sAndrey Hristov2003-02-221-2/+8
| | | | | | | key is not scalar and elements with scalar keys are already well numbered (sequentially from 0) for some reason. This is the case if the leading elements have no scalar indexes.
* rehash only in case something is changed.Andrey Hristov2003-02-221-1/+3
| | | | | | #lowers the execution time in half on my machine on array with 1000 elements #with nonscalar keys. Maybe it can be optimized further.
* - Fixed bug: #22339foobar2003-02-213-4/+4
| | | | | | # No NEWS, this was bug introduced by Marcus a while ago.. # Not present in php4.3.x branch
* Reduce unnecessary filter applications when stream is (read|write) onlySara Golemon2003-02-201-1/+9
|
* - Fixed testcase... you can never trust on RFCs it seemsDerick Rethans2003-02-202-4/+4
|
* - Fixed copy and paste bugDerick Rethans2003-02-201-1/+1
|
* - Also add the optional raw output parameter to md5_file and sha1_file.Derick Rethans2003-02-202-24/+30
|
* - No need to add the \0 ourselves, the estrndup in STRINGL takes care ofDerick Rethans2003-02-202-4/+2
| | | | | that for us.
* - Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX)foobar2003-02-201-1/+1
|
* Revert accidental commit.Ilia Alshanetsky2003-02-201-1/+1
|
* Fixed bug #22308 (optimized passthru, code is now ~40 times faster).Ilia Alshanetsky2003-02-202-5/+6
|
* scandir -> php_scandir, alphasort -> php_alphasortfoobar2003-02-191-6/+4
|
* Fixed bug #22283 (possible crash when opening relative URLs).Ilia Alshanetsky2003-02-191-2/+7
|
* Added string.strip_tags filter.Moriyoshi Koizumi2003-02-191-0/+94
|
* Fixed memory leaks on conversion failure.Moriyoshi Koizumi2003-02-181-8/+17
|
* Revived convert filter codesMoriyoshi Koizumi2003-02-181-246/+141
|
* - Added new parameter to sha1() and md5() which return the digest asDerick Rethans2003-02-186-19/+101
| | | | | | | | | binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>) - Added test cases for sha1() and md5() based on the testvectors in RFC 1321 and RFC 3174. @- Added new parameter to sha1() and md5() which return the digest as @ binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)
* Fixed bug #21708 (ucfirst() trouble again)Moriyoshi Koizumi2003-02-181-1/+1
| | | | | # this bug is related to bug #21689
* Fixed bug #21689 (fgetcsv suppresses some characters before a separator)Moriyoshi Koizumi2003-02-181-4/+4
| | | | | | | The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp> # is* functions expect their argument to be an integer in range of 0-255
* Implement simple stream support in the ZE scanners.Wez Furlong2003-02-181-14/+3
|
* Introduce //filter target to php: wrapper to allow inline application of ↵Sara Golemon2003-02-181-0/+56
| | | | filters during fopen() style opperations
* nice() is part of libc, use AC_CHECK_FUNCS insteadfoobar2003-02-181-6/+1
|