Commit Graph

5239 Commits

Author SHA1 Message Date
Dmitry Stogov
b7d87bebc9 T_IMPORT -> T_USE 2007-11-07 09:13:50 +00:00
Dmitry Stogov
52f25f6132 Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault) 2007-11-06 14:56:14 +00:00
Dmitry Stogov
22db451fdd Fixed bug #43201 (Crash on using unitialized vals and __get/__set) 2007-11-06 14:11:59 +00:00
Dmitry Stogov
c3c5d27fbc Fixed windows build (Rob) 2007-11-06 12:06:05 +00:00
Dmitry Stogov
609aa052b3 Allow user defined malloc/realloc/free 2007-11-06 07:22:13 +00:00
Jani Taskinen
129c125f7f - Fix confusing logic (sync with HEAD) 2007-11-05 11:43:31 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Jani Taskinen
b489251177 - MFH from HEAD:
. Folding tags
  . Parameter parsing
  . SPL debug info
  . array function improvements (not all yet)
  . Improvements to function calling with call_user_* functions
  . Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Antony Dovgal
0d74798914 fix bug37251.phpt failure (two error messages instead of one)
should I merge this to 5_2?
2007-11-02 18:05:55 +00:00
Jani Taskinen
77bc1f8b76 - Missing test. (NOTE: Fails due to unexpected double output for me, OKOK) 2007-11-02 17:47:39 +00:00
Dmitry Stogov
f10766f1fb Reimplemented support for namespaces in indexes id constant arrays (removed zval.idx_type) 2007-11-02 10:11:42 +00:00
Dmitry Stogov
acd9a96010 Fixed bug #43027 (Declare cause fatal error) 2007-11-01 11:58:58 +00:00
Antony Dovgal
7cef86c246 backport zero args checks from HEAD
(fixes error message when passing parameters to a function accepting none)
2007-10-30 10:17:41 +00:00
Sara Golemon
b38282c3fd Backport +/* vararg specifiers from PHP6 2007-10-29 17:09:57 +00:00
Dmitry Stogov
19bf724c48 optimization 2007-10-29 14:36:55 +00:00
Dmitry Stogov
46dc96f3e0 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable 2007-10-25 07:32:40 +00:00
Dmitry Stogov
1530fe99c8 Fixed variations of bug #35163 2007-10-23 12:52:40 +00:00
Dmitry Stogov
b599e434ad Fixed bug #35163 (Array elements can lose references) 2007-10-23 09:55:11 +00:00
Stanislav Malyshev
988d28cc13 ws 2007-10-18 20:44:41 +00:00
Dmitry Stogov
1087e6b1e6 Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry) 2007-10-17 10:01:22 +00:00
Hannes Magnusson
7c5c2147c6 MFH: Add skipif 2007-10-13 11:37:42 +00:00
Marcus Boerger
8ce1211a62 - MFH debug object helper 2007-10-11 01:03:19 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Ilia Alshanetsky
0604cb8d48 Generated files that are part of the previous patch 2007-10-04 23:22:37 +00:00
Ilia Alshanetsky
4c619a3f5f Fixed bug #42817 (clone() on a non-object does not result in a fatal error) 2007-10-04 23:19:20 +00:00
Jani Taskinen
108dddcac0 MFH:- Removed the %destructor declaration (requires bison 1.875 or above) 2007-10-03 13:03:18 +00:00
Dmitry Stogov
eb0c56ada1 Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class). 2007-10-03 10:33:02 +00:00
Dmitry Stogov
68055015eb Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:45 +00:00
Dmitry Stogov
1491992f76 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:36 +00:00
Dmitry Stogov
69edb0131a ws 2007-10-03 06:49:15 +00:00
Dmitry Stogov
9aee9e0417 Fixed access to freed memory in tests/classes/__call_001.phpt 2007-10-02 08:47:22 +00:00
Dmitry Stogov
220641af70 Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:26:50 +00:00
Ilia Alshanetsky
bb8b632dc1 Fixed typo in the previous patch 2007-10-01 14:59:55 +00:00
Ilia Alshanetsky
086289983e Refactor code to make fixes for coverity issues #385 and #386 a bit more
obvious
2007-10-01 14:51:11 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Dmitry Stogov
0625e266cd Late Static Binding make no sense in compile-time constants. 2007-10-01 11:25:14 +00:00
Dmitry Stogov
41e9b6b61c Fixed bug #42802 (Namespace not supported in typehints) 2007-10-01 10:37:14 +00:00
Dmitry Stogov
3a3a7e7441 Fixed bug #42798 (__autoload() not triggered for classes used in method signature). 2007-10-01 09:32:48 +00:00
Ilia Alshanetsky
b6817f82b1 Nuke unused vars 2007-09-30 16:53:10 +00:00
Dmitry Stogov
fedf2eddfd Updated API version numbers 2007-09-29 11:25:16 +00:00
Dmitry Stogov
ae14f6ba78 Added "compact" handler for Zend MM storage. 2007-09-29 10:37:29 +00:00
Dmitry Stogov
72d0454bf6 Added support for __callstatic() magic method (missing part). (Sara) 2007-09-29 09:34:24 +00:00
Dmitry Stogov
b20ed0d2e0 Added support for __callstatic() magic method. (Sara) 2007-09-29 08:52:40 +00:00
Dmitry Stogov
c560a96848 Removed commented code 2007-09-29 08:29:56 +00:00
Dmitry Stogov
166266df68 Added support for Late Static Binding. (Dmitry, Etienne Kneuss) 2007-09-29 07:28:34 +00:00
Dmitry Stogov
f32ffe9b43 Namespaces 2007-09-28 19:52:53 +00:00
Jani Taskinen
09b6f37f20 MFH:
- Added ".htaccess" style user-defined php.ini files support for
  CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)
2007-09-28 02:05:10 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
f6d9901873 Fixed coverity issue #470 Unitialized integer value used inside
zend_ini_boolean_displayer_cb
2007-09-27 17:26:47 +00:00
Jani Taskinen
fc0e59073e MFH:- Fixed bug #42657 (ini_get() returns incorrect value when default is NULL) 2007-09-27 17:05:23 +00:00