Commit Graph

823 Commits

Author SHA1 Message Date
Andrei Zmievski
e6284e9cbc Unicode support in highlight_string(). 2006-11-21 18:40:58 +00:00
Dmitry Stogov
768185e58f Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:40 +00:00
Dmitry Stogov
dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00
Andrei Zmievski
30f624003d *** empty log message *** 2006-10-25 20:30:51 +00:00
Andrei Zmievski
66c5317278 Unicode support for get(server|proto)by(name|number) family of funcs. 2006-10-25 20:09:21 +00:00
Andrei Zmievski
205bade673 Unicode support for is_uploaded_file()/move_uploaded_file(). 2006-10-25 18:03:45 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Ilia Alshanetsky
f3eee9d980 MFB: Fixed bug #38934 (move_uploaded_file() cannot read uploaded file
outside of open_basedir).
2006-10-13 01:44:42 +00:00
Michael Wallner
4aa7a28e5a - missing part of zend_fcall_info API patch 2006-10-12 12:40:26 +00:00
Andrei Zmievski
0a73c305d8 Typos! 2006-10-09 20:17:36 +00:00
Andrei Zmievski
76eb73a4b7 print_r(), error_log() and sys_getloadavg() are Unicode-safe. 2006-10-09 20:17:12 +00:00
Andrei Zmievski
cc0323b95d Unicode support for call_user_* functions. 2006-10-09 19:48:32 +00:00
Sara Golemon
1caed2fa18 Add stream_resolve_include_path() 2006-10-09 02:48:06 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
e531458f89 Remove double "wrong param count" warnings 2006-10-07 22:55:18 +00:00
Antony Dovgal
ea11c9b8e8 nuke unused variables 2006-10-03 18:40:14 +00:00
Hannes Magnusson
9c669ecf1f Protos 2006-10-02 07:54:37 +00:00
Ilia Alshanetsky
30885c8d99 MFB: Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
session.save_path, allowing them to account for extra parameters).
2006-10-01 21:00:00 +00:00
Sara Golemon
a9404e9283 PHP6 Updates 2006-09-22 01:55:47 +00:00
Ilia Alshanetsky
c1891a9bdf MFB: array_key_exists() should not work by by-ref 2006-09-19 23:45:12 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
c912fa4a90 fix leak when call to shutdown function fails 2006-09-15 09:11:31 +00:00
Antony Dovgal
d08f2e8897 more z/Z fixes 2006-08-31 14:41:15 +00:00
Antony Dovgal
8149e6251e make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:56:06 +00:00
Antony Dovgal
efb89cfbe1 set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:22 +00:00
Hannes Magnusson
089b2ab93f Register missing math constants (been missing since 4.0.2!)
Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 18:20:39 +00:00
Antony Dovgal
9f8046454b fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there 2006-07-26 08:57:11 +00:00
Hannes Magnusson
0ba734cb6e Update protos & arginfo for memory_get_usage() & memory_get_peak_usage() 2006-07-25 16:40:11 +00:00
Andrei Zmievski
54528ce322 Remove references to BG(user_compare_fnnc_name).
# Less bickering, more coding!
2006-07-21 23:29:25 +00:00
Andrei Zmievski
40b4c60b9a Make array_walk(_recursive) use params API with FCI cache and mark them
with U.
2006-07-20 23:21:32 +00:00
Michael Wallner
73ba3e2592 - added error_get_last() function 2006-07-19 12:25:02 +00:00
Andrei Zmievski
fdf280b41b - Upgrade usort() to support Unicode (including valid Unicode callbacks).
- Make usort() use 'f' specifier for function call info/cache.
2006-07-17 20:52:12 +00:00
Andrei Zmievski
0bb270d352 - Use zend_uchar for param type
- %v is for UG() - dependent strings, which is not the case here
- 'T' is only useful for multiple parameters, so use 't' instead
2006-07-17 19:32:10 +00:00
Antony Dovgal
a3952b7495 tweak constant() to use the brand new unicode parameters API 2006-07-17 07:11:06 +00:00
Antony Dovgal
8177adf8fb make use of new param parsing API
use convert_to_text(), which makes constant() unicode aware
finally nuke invalid reads
2006-07-17 07:02:26 +00:00
Marcus Boerger
da5c076100 - Add array_fill_keys() (Matt W, php_lists at realplain com) 2006-07-15 10:10:47 +00:00
Hannes Magnusson
12fbcb6344 nuke types in arginfo 2006-07-02 00:10:36 +00:00
Hannes Magnusson
226fa23b51 Do not force pass by-ref, these functions only prefer by-ref 2006-06-30 18:16:50 +00:00
Hannes Magnusson
ba0175365c arginfo fixes 2006-06-27 22:14:07 +00:00
Hannes Magnusson
29ca8007ee Add arginfo for sys_getloadavg()
iUpdate arginfo for base64_decode()
2006-06-26 22:19:04 +00:00
Hannes Magnusson
e9c59b98ac MFB: sys_getloadavg() 2006-06-26 20:28:30 +00:00
Rasmus Lerdorf
157ce4f35e Cleaner fix 2006-06-26 13:10:31 +00:00
Rasmus Lerdorf
eef9835bb1 sapi_getenv() estrdups the returned string now, so we need to free it 2006-06-26 13:03:41 +00:00
Hannes Magnusson
731c3e4db0 Removed custom deprecate error messages
Use the fancy ZEND_ACC_DEPRECATED flag.
2006-06-26 11:31:19 +00:00
Hannes Magnusson
3f2f258517 Enabled image_type_to_extension() which has been in cvs for 2,5 years now..
Added test
2006-06-25 20:52:34 +00:00
Hannes Magnusson
9f96f0340b Argument info 2006-06-25 19:17:20 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Ilia Alshanetsky
1aadb29d51 MFB: Added memory_get_peak_usage() function for retrieving peak memory
usage of a PHP script.
2006-05-30 14:51:54 +00:00
Ilia Alshanetsky
940ed4a426 MFB: Fixed bug #37563 (array_key_exists performance is poor for &$array). 2006-05-24 23:14:36 +00:00