summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* jouni was added as an author of the docsjim winstead2001-01-231-1/+1
|
* @- Improved str_replace() to accept an array for any parameter - similarAndrei Zmievski2001-01-221-30/+142
| | | | | @ to preg_replace(). (Andrei)
* @- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL isAndrei Zmievski2001-01-221-61/+86
| | | | | | | @ used. (Andrei) @- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix @ string keys that do not constitute valid variable names. (Andrei)
* @BeOS patch from svanegmond@bang.dhs.org modified somewhat by RasmusRasmus Lerdorf2001-01-219-6/+45
| | | | | BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
* @- Added URL support for getimagesize() function (Jani)foobar2001-01-191-88/+107
| | | | | # tested with all imagetypes. Also the iptc works.
* - Fix for bug #8367 (wordwrap not cutting correctly)Derick Rethans2001-01-181-4/+3
|
* @- Fixed 'O' and 'r' flags of date() to have correct sign for timezoneAndrei Zmievski2001-01-181-2/+2
| | | | | @ offset. (Andrei)
* @- Changed 'Z' flag to date() to always return timezone offset withAndrei Zmievski2001-01-171-1/+1
| | | | | @ negative sign if it's west of UTC. (Andrei)
* Put these back where they belong. They weren't necessary unless ZTS andSean Bright2001-01-172-3/+3
| | | | | HAVE_LOCALECONV were both defined.
* Added string comparison function strcoll(). It uses the current locale toSean Bright2001-01-173-1/+27
| | | | | | do the comparisons. @- Added localeconv() and strcoll() functions for localization. (Sean)
* Nuke a couple of warningsZeev Suraski2001-01-151-0/+6
|
* Name this php_Exec insteadRasmus Lerdorf2001-01-141-8/+8
|
* Added localeconv() function. Operates similarly to localeconv() defined inSean Bright2001-01-143-0/+158
| | | | | locale.h. Should work well under non-ZTS as well as ZTS.
* Export _Exec for extensions to useRasmus Lerdorf2001-01-141-1/+1
|
* fixed readfile() fd-leak.Thies C. Arntzen2001-01-141-5/+13
| | | | | | | | | | guys, always remember that every function that *generates output* could cause a bailout if ignore_user_abort is set to false (and the user _aborts_ the connection). in this case a longjump will be performed and our function (in this case readfile) will have no chance to clean-up. having said that it's a good idea to register all opened files using REGISTER_RESOURCE - that way the engine will make sure they get closed on request end.
* reserve space for quoted charactersDavid Croft2001-01-141-0/+1
| | | | | fixes buffer overrun bug #8694
* Both thread-safe and thread-unsafe builds should be ok nowZeev Suraski2001-01-135-20/+19
|
* - Removed a stale var that broke the buildDerick Rethans2001-01-131-1/+0
|
* - There was one ret left, changed it to FG(pclose_ret), this fixes theDerick Rethans2001-01-131-1/+1
| | | | | build
* - Fix exec() bugZeev Suraski2001-01-135-80/+73
| | | | | - Merge fsock and file globals
* Fix Windows & thread-safe buildZeev Suraski2001-01-131-1/+1
|
* Follows redirects again, and $http_response_header now contains all headersStig Venaas2001-01-121-10/+24
| | | | | | | with an empty string as delimiter @- Made fopen() of HTTP URL follow redirects, $http_response_header will @ contain all headers with empty string as delimiter (Stig Venaas)
* exec'd processes now get cleaned up even if the browser connections wasThies C. Arntzen2001-01-101-1/+12
| | | | | | aborted. fixes: #8143
* fixed swatch internet time (bugs#8242,7106)David Croft2001-01-101-1/+4
|
* Allocate buffer in date() for the actual length of the timezone (bug#8292)David Croft2001-01-101-1/+7
|
* Avoid possible memory leak in the URL scanner, if the connection isSascha Schumann2001-01-093-17/+3
| | | | | interrupted during writing the output.
* moved to ext/iconv.Rui Hirokawa2001-01-091-13/+0
|
* added iconv extension.Rui Hirokawa2001-01-095-181/+0
|
* If TZ environment variable is changed call tzset().foobar2001-01-091-0/+3
| | | | | | | # Although man page for tzset() says it should be called automaticly # by some of the time related functions, IRL this doesn't happen. # PR: 3977, 4732, 5510, 6972, 7203, 8502, 8609
* php_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implyingSascha Schumann2001-01-091-2/+2
| | | | | | | | | | | | that all bytes in the character array have been set (they are used to compute the hash value using hashpjw). The function assumes that sprintf's %p modifier would always prefix the output with "0x". On HPUX, this is not the case. Hence, not all bytes may be properly initialized before being read. This has been addressed by using only initialized bytes as the key.
* WS fixSascha Schumann2001-01-081-7/+7
|
* Fix ZTS build (broken by iconv-related changes).Sascha Schumann2001-01-081-0/+2
|
* @- Changed extract() to check that prefixed name is a valid one. (Andrei)Andrei Zmievski2001-01-081-36/+35
| | | | | | | | Changed extract() to check that prefixed name is a valid one. Optimized extract() a bit too. # It'd be nice if someone made regression tests for extract().
* - Fix for bug #8535 - floating point exception on FreeBSD while initializingDerick Rethans2001-01-081-1/+1
| | | | | crypt random numbers
* @- Changed extract() to return the number of variables extracted. (Andrei)Andrei Zmievski2001-01-081-2/+6
|
* Optimize it a bit - no need to dup empty string (which can be pretty common ↵Stanislav Malyshev2001-01-081-1/+1
| | | | for .ini)
* Duplicate property value, otherwise parser would free it and we're in bad shape.Stanislav Malyshev2001-01-081-1/+1
|
* Fix undefind filehandle type on INI parsing.Stanislav Malyshev2001-01-081-0/+1
|
* Use platform's dir separatorStanislav Malyshev2001-01-081-1/+1
|
* added iconv_set_encoding() to change the encoding setting.Rui Hirokawa2001-01-083-1/+29
|
* added a output handler function ob_iconv_handler which tranforms output ↵Rui Hirokawa2001-01-084-25/+108
| | | | encoding using iconv().
* Added OpenSSLStig Venaas2001-01-071-0/+1
|
* Fix possible startup crashZeev Suraski2001-01-071-1/+1
|
* - Fix for bug 7035, regarding PHP_MAX_SALT_LENGTH for OpenBsdDerick Rethans2001-01-071-1/+1
|
* fixed date not allocating enough buffer, bug 7963Daniel Beulshausen2001-01-051-1/+1
|
* Many patches. I hope I remember them all:Zeev Suraski2001-01-021-2/+2
| | | | | | | | | - Make sapi_module available to external modules (PHPAPI) - Make the php.ini path reported in phpinfo() always point to real full path of the php.ini file - Optimized the ISAPI module not to read unnecessary server variables and read necessary variables at most once.
* Make the generated <input> lower case and terminated with a /,Chuck Hagenbuch2001-01-022-6/+6
| | | | | to be xhtml-compliant.
* Fix date('r') overflowRasmus Lerdorf2001-01-021-1/+1
| | | | | @Fix date('r') overflow
* Hopefully solves some bad behavior in array_unique(), array_intersect()Stig Venaas2000-12-281-69/+21
| | | | | | | and array_diff(). Now using SORT_STRING instead of SORT_REGULAR @- Fixed misbehavior of array_unique(), array_intersect() and array_diff(); @ could in certain cases give wrong result or segfault (Stig Venaas)
* Make nl2br() output <br /> instead of <br> to be XHTML compliant.Jon Parise2000-12-281-1/+1
| | | | | Bug: 8390