summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* - Mark Apache2, overload and aggregation as experimentalDerick Rethans2002-04-111-0/+6
|
* move_uploaded_files checks open_basedir nowStefan Esser2002-03-171-0/+4
|
* Added ob_get_status() to get array of buffers and it's status.Yasuo Ohgaki2002-03-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | (DO NOT document this function yet) Fixed crash bug with ob_end_*() function. ob_end_*() will not delete buffers that may not be deleted. php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for if the buffer created may be deleted or not. Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be deleted until script finshes. Changed ob_*() function that have void return type to bool. All ob_*() functions return TRUE for success, FALSE for failure. @ - Added ob_get_status() to get array of buffers and it's status. (Yasuo) @ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete @ buffers that may not be deleted. (Yasuo) @ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be @ deleted until script finshes. (Yasuo) @ - Changed ob_*() function that have void return type to bool. All ob_*() @ functions return TRUE for success, FALSE for failure. (Yasuo)
* - Make it a booleanDerick Rethans2002-02-281-6/+6
|
* - Fix protoDerick Rethans2002-02-271-1/+1
|
* Added fmod() functionYasuo Ohgaki2002-02-211-0/+1
| | | | | # Is there any reason that math.c does not use errno?
* Adding object aggregation capability along with tests.Andrei Zmievski2002-02-211-1/+20
|
* Renamed zval_debug_dump() to debug_zval_dump()Jason Greene2002-02-101-1/+1
|
* @Added zval_debug_dump which works similar to var_dump yet displays extraJason Greene2002-02-101-0/+1
| | | | | internal information such as refcounts, and the true type names (Jason)
* - Fixed highlight_* (make it more robust)Derick Rethans2002-01-251-0/+2
| | | | | #- Thx Mr S for noticing this.
* - Added optional parameter to highlight_string and highlight_file whichDerick Rethans2002-01-251-14/+33
| | | | | | | | | makes these functions return a highlighted string instead of dumping to standard output. (Derick) @- Added optional parameter to highlight_string and highlight_file which @ makes these functions return a highlighted string instead of dumping @ to standard output. (Derick)
* Rename finite/isinf/isnan to more standard is_*() names.jim winstead2002-01-091-3/+3
|
* Move type-handling functions into ext/standard/type.c (which hadjim winstead2002-01-091-362/+23
| | | | | a few otherwise unused functions in it).
* Fixed some protos.Egon Schmid2002-01-051-3/+4
|
* Fixed pow(), and added finite(), isinf(), and isnan(). Also fixedjim winstead2002-01-051-0/+3
| | | | | | | | | | | | pow() tests. @- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim) # Jeroen was on crack, and apparently flunked arithmetic. Names of new # functions subject to change if people get persnickety about them. # (They're currently the same as the underlying C library function # names. Hope nobody forgets to update the tests if they change the # names.) # Oh, and pow() uses the new parameter-passing API now.
* Adding key_exists alias for array_key_exists, at the request of ↵Zak Greant2002-01-021-0/+1
| | | | One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation
* Converted getenv to use zend_parse_parametersZak Greant2001-12-301-12/+6
|
* - Removed is_array_multidimensionalDerick Rethans2001-12-291-26/+0
|
* - Added extra parameter to count() that recursively counts elements in anDerick Rethans2001-12-291-0/+26
| | | | | | array and added is_array_multidimensional(). (patch by Vlad Bosinceanu <glipy@fx.ro>)
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Added var_export, which shows a representation of a variable, much likeDerick Rethans2001-12-081-0/+1
| | | | | | | var_dump, but in such a way you can use it as PHP code. @- Added var_export, which shows a representation of a variable, much like @ var_dump, but in such a way you can use it as PHP code. (Derick)
* Fix long2ip's handling of unsigned longs, by accepting a string argument andSterling Hughes2001-12-071-5/+7
| | | | | then manually converting the string to an unsigned long using strtoul()
* Fixed some protos.Egon Schmid2001-12-071-5/+5
|
* renamed rot13 to str_rot13()Hartmut Holzgraefe2001-12-061-1/+1
|
* ported rot13() from php3Hartmut Holzgraefe2001-12-061-0/+1
|
* - Added ob_get_level, which returns the nesting level of the output bufferingDerick Rethans2001-12-031-0/+1
| | | | | | | mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>) @- Added ob_get_level, which returns the nesting level of the output buffering @ mechanism. (Yasuo, Derick)
* - Added ob_flush and ob_clean functions, which do not end the buffer likeDerick Rethans2001-11-301-0/+2
| | | | | | | ob_end_flush and ob_end_clean do. @- Added ob_flush and ob_clean functions, which flush and clean an @ output buffer without destroying the buffer. (Derick)
* - Added md5_file(), which calculaties the MD5 sum of a file.Derick Rethans2001-11-181-0/+1
| | | | | | | (patch by: Alessandro Astarita <aleast@capri.it>) (Derick) @- Added md5_file(), which calculaties the MD5 sum of a file. @ (patch by: Alessandro Astarita <aleast@capri.it>) (Derick)
* Check in ftok() function by Andrew Sitnikov <sitnikov@infonet.ee>Stanislav Malyshev2001-11-151-0/+7
|
* Fixed the wrong logic in ini_get_all() function.foobar2001-11-131-3/+5
| | | | | | | | Now it behaves same as how phpinfo() outputs the ini entries. If there is a local value, then the global one is the 'original one' if there is such. Otherwise global value is same as local. :)
* - Renaming key_exists to array_key_existsDerick Rethans2001-11-111-1/+1
| | | | | | | | @- Renamed key_exists tp array_key_exists. (Derick) #- Not sure if this belongs in NEWS, but it was already in a released # version. And yes, I know I'm breaking BC here, but as it was not documented # yet, that doesn't matter.
* Fix crash bug on malformed .ini fileStanislav Malyshev2001-11-111-0/+9
|
* - Fixing this bad ideaDerick Rethans2001-11-101-3/+0
|
* Fix apache win32 dso build.James Moore2001-11-101-1/+1
| | | | | (This is untested on linux but shouldnt break anything)
* more wsZeev Suraski2001-10-291-3/+3
|
* Whitespace fixesZeev Suraski2001-10-281-21/+18
| | | | | Don't Adafy the code, Jani :)
* @- Added array_chunk() function that splits an array into chunks of specifiedAndrei Zmievski2001-10-271-0/+1
| | | | | @ size. (Andrei)
* As suggested on php-dev, array_fill() is probably a better name for thisRasmus Lerdorf2001-10-231-1/+1
| | | | | function.
* Check that realpath is available. Bug: #9469foobar2001-10-231-1/+1
| | | | | # TSRM still uses it without checking. I can't fix that.
* Motivated by bug #13607 I wrote up a simple array_init() function thatRasmus Lerdorf2001-10-211-0/+1
| | | | | | | lets you quickly create an array and initialize each element to a certain value. @ Add array_init() function (Rasmus)
* fixed protofoobar2001-10-161-1/+1
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-0/+2
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* * remove version_{lt,le,gt,ge,eq} functions, added a third optionalStig Bakken2001-10-111-5/+0
| | | | | parameter to version_compare doing the same thing
* * added function entries for version_{lt,le,gt,ge,eq}Stig Bakken2001-10-101-0/+5
|
* @- Added mmapfile(), read a file into a variabele with mmap (Ilia A, Derick)Derick Rethans2001-10-071-0/+3
| | | | | | - Added mmapfile(), read a file into a variabele with mmap (Patch by: Ilia A. <ilia@prohost.org>)
* * prototype of version_compare, doesn't work yetStig Bakken2001-10-051-0/+3
|
* Added array_change_key_case() function that returns array withEdin Kadribasic2001-10-051-0/+1
| | | | | | | with all string keys lowercased or uppercased @- Added array_change_key_case() function that returns array with @ with all string keys lowercased or uppercased (EdinK)
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-2/+2
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* Make chop the alias and rtrim the main function, in order to get automagicallyJeroen van Wolffelaar2001-09-231-2/+2
| | | | | generated alias-listings correct.
* Let settype also accept 'int', 'bool', 'float' and 'null'Jeroen van Wolffelaar2001-09-221-1/+9
| | | | | @Let settype also accept 'int', 'bool', 'float' and 'null' (Jeroen)