Antony Dovgal
500e17c5c1
add zend_atol() and use it instead of zend_atoi() where applicable
2008-03-19 12:40:20 +00:00
eee826d115
ChangeLog update
2008-03-19 01:31:36 +00:00
Dmitry Stogov
d390956ccb
Removed hack (we don't need to modify class name).
...
(the problem is covered by Zend/tests/ns_056.phpt)
2008-03-18 11:37:15 +00:00
Dmitry Stogov
ea9305c543
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
...
The following pseudo-code explains how it should be used in opcode cache.
function cache_compile_file($filename) {
if (!is_cached($filename)) {
...
orig_compiler_options = CG(compiler_optins);
CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
ZEND_COMPILE_DELAYED_BINDING;
$op_array = orig_compile_file($filename);
CG(compiler_options) = orig_copiler_options;
...
} else {
$op_array = restore_from_cache($filename);
}
zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
Dmitry Stogov
a0378d3514
Fixed test
2008-03-18 06:44:54 +00:00
99e6fc1463
ChangeLog update
2008-03-18 01:31:32 +00:00
Felipe Pena
2c7b9a55cb
Fix build
2008-03-18 00:37:35 +00:00
Antony Dovgal
be6f9c2bb5
return empty string of correct type if __toString() returned invalid value
2008-03-17 15:05:28 +00:00
Antony Dovgal
abbd1e8ece
fix #39127i (Old-style constructor fallbacks produce strange results)
2008-03-17 14:53:43 +00:00
5e613d51c4
ChangeLog update
2008-03-17 01:31:43 +00:00
27aa725005
ChangeLog update
2008-03-15 01:33:00 +00:00
Dmitry Stogov
90e570be3b
Improve GC to support garbage created in destructors during objects utilization
2008-03-14 18:37:17 +00:00
Dmitry Stogov
3fe5fcaabc
Removed commented code and unnecessary inline function
2008-03-14 13:35:54 +00:00
Dmitry Stogov
2b82e0d78a
Fixed GC bug
2008-03-14 13:21:21 +00:00
7ae78a86c6
ChangeLog update
2008-03-14 01:31:35 +00:00
Ilia Alshanetsky
12c56d0764
MFB: MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
...
php_value).
2008-03-13 16:01:46 +00:00
a606979932
ChangeLog update
2008-03-13 01:31:32 +00:00
Felipe Pena
45524adf9b
Fix test
2008-03-12 16:24:13 +00:00
Dmitry Stogov
6d50e73072
Fixed test
2008-03-12 15:20:41 +00:00
Felipe Pena
2cebb3c7a5
New test
2008-03-12 13:32:27 +00:00
Felipe Pena
863cd369b9
New tests
2008-03-12 13:01:59 +00:00
Dmitry Stogov
32073866e9
Code simplification
2008-03-12 10:40:13 +00:00
Dmitry Stogov
b8debfd876
Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode
2008-03-12 10:32:39 +00:00
Dmitry Stogov
6fae346fb4
Fixed bug #44414 (Incomplete reporting about abstract methods)
2008-03-12 09:46:57 +00:00
Dmitry Stogov
a8c6814840
Fixed warning
2008-03-12 08:53:10 +00:00
a6628d645a
ChangeLog update
2008-03-12 01:31:36 +00:00
Felipe Pena
6c9acc4aa7
Add new test (bug reported in internals list by Robin)
2008-03-11 16:55:33 +00:00
Felipe Pena
7720de7339
Add new test (bug reported in internals list by Robin)
2008-03-11 16:48:40 +00:00
Felipe Pena
9f959c2630
Missing a line
2008-03-11 15:26:46 +00:00
Felipe Pena
62c41d3f1a
New tests
2008-03-11 15:21:38 +00:00
Felipe Pena
9fb3c509e1
Fix test
2008-03-11 11:06:10 +00:00
Antony Dovgal
7d020470bb
some more tests
2008-03-11 10:40:23 +00:00
f03d0cbf33
ChangeLog update
2008-03-11 01:31:34 +00:00
Felipe Pena
1f46cab626
MFB: Improve the Darwin 9 hack considerably and switch to using dl*() instead of NS*() on Darwin 8+. (Patch by Gwynne)
2008-03-10 15:09:20 +00:00
c1e0fb5ad3
ChangeLog update
2008-03-10 01:31:34 +00:00
142d7e9742
ChangeLog update
2008-03-09 01:31:31 +00:00
Felipe Pena
3a3ebace1c
MFB: User error handlers no longer catch supressed errors (patch by Etienne Kneuss)
2008-03-08 22:03:21 +00:00
Felipe Pena
40af7d8db4
Fix tests (removed space on error message "Undefined index: ...")
2008-03-08 13:01:41 +00:00
Felipe Pena
038849e071
Cosmetics (removed space on error message)
2008-03-08 11:49:24 +00:00
Felipe Pena
634bcfac43
MFB: Fixed bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset")
2008-03-08 11:41:35 +00:00
2a8b0adc89
ChangeLog update
2008-03-08 01:31:34 +00:00
5d81a83860
ChangeLog update
2008-03-07 01:31:36 +00:00
Felipe Pena
3cbc824eb7
Better readability (USTR_BYTES)
2008-03-07 00:51:02 +00:00
8e03ac0524
ChangeLog update
2008-03-06 01:31:36 +00:00
Felipe Pena
d6aacd5eb6
Fixed error message on unicode mode
2008-03-05 14:39:05 +00:00
Dmitry Stogov
c8b1dbff23
Optimized require_once() and include_once() by eliminationg open() syscall on se
...
cond usage.
2008-03-05 13:35:02 +00:00
4c3c14b001
ChangeLog update
2008-03-05 01:31:37 +00:00
Felipe Pena
0fde623f16
New way for check void parameters
2008-03-04 23:09:02 +00:00
Dmitry Stogov
d5e54a7f27
Fixed shared memory corruption of opcode caches
2008-03-04 11:44:15 +00:00
Dmitry Stogov
30bd877237
Fixed wrong result of cascading assignment to string offset
...
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST into string offset
2008-03-04 10:06:22 +00:00
5a9393f2d9
ChangeLog update
2008-03-04 01:31:37 +00:00
Robin Fernandes
0188a097cc
Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ).
2008-03-03 14:24:11 +00:00
22d3bd71b6
ChangeLog update
2008-03-02 01:31:32 +00:00
Johannes Schlüter
e3c4c2496c
- Allow implementation of abstract methods with optional parameters (Christian
...
Schneider)
2008-03-01 13:53:10 +00:00
0aadbbf12d
ChangeLog update
2008-02-29 01:31:31 +00:00
Felipe Pena
ff8e13dd86
Add "Strict error" when assigning value to property of inexistent object
2008-02-28 19:33:40 +00:00
Felipe Pena
6f2edcd3f8
Fixed tests (new error message)
2008-02-28 15:38:40 +00:00
Felipe Pena
8e08965be6
Added new macro for check void parameters.
...
(deprecating ZEND_WRONG_PARAM_COUNT for this cases)
2008-02-28 13:30:43 +00:00
9535ad5dfc
ChangeLog update
2008-02-25 01:31:41 +00:00
Felipe Pena
2e893877af
Fixed tests
2008-02-24 12:42:16 +00:00
76888958ec
ChangeLog update
2008-02-24 01:31:35 +00:00
Marcus Boerger
93b6edcf06
- Felipe just told me we forgot this one
2008-02-23 21:24:18 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
62dc0c0993
ChangeLog update
2008-02-22 01:31:30 +00:00
Dmitry Stogov
97cecfbabe
Fixed bug #43483 (get_class_methods() does not list all visible methods)
2008-02-21 15:14:38 +00:00
Dmitry Stogov
9181650764
Fixed bug #44141 (private parent constructor callable through static function)
2008-02-21 13:55:55 +00:00
Dmitry Stogov
8cd3e937e6
Prevented recursive collector invocation
2008-02-21 10:42:22 +00:00
6ceb2c5766
ChangeLog update
2008-02-21 01:31:39 +00:00
Dmitry Stogov
478cbe5892
Fixed bug #44184 (Double free of loop-variable on exception)
2008-02-20 12:06:29 +00:00
Dmitry Stogov
41fc9ece97
Added checks for destoied objects
2008-02-20 09:46:05 +00:00
d5f35f163e
ChangeLog update
2008-02-20 01:31:31 +00:00
Dmitry Stogov
58da2d5d1e
Fixed memory leaks
2008-02-19 16:39:34 +00:00
Dmitry Stogov
91a0a95281
Fixed GC bug
2008-02-19 15:56:09 +00:00
Dmitry Stogov
41d91d2529
Fixed memory leak
2008-02-19 12:01:14 +00:00
Sebastian Bergmann
b1d4185f7f
Fugbix typo.
2008-02-19 06:52:17 +00:00
b620dac95d
ChangeLog update
2008-02-19 01:31:33 +00:00
Dmitry Stogov
429b9e5d24
Removed redundant refcount manipulations
2008-02-18 12:11:57 +00:00
7dda4616b5
ChangeLog update
2008-02-16 01:31:36 +00:00
791f8e5c14
ChangeLog update
2008-02-15 01:31:30 +00:00
Dmitry Stogov
5ce9577662
Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=)
2008-02-14 14:42:16 +00:00
Dmitry Stogov
b377ab8a18
Reverted memrchr() patch, because it is broken on linux 64-bit
2008-02-14 10:25:10 +00:00
196af88af8
ChangeLog update
2008-02-14 01:31:28 +00:00
Dmitry Stogov
0df9f4852f
Use memrchr() instead of zend_memrchr() if available. (Nuno)
2008-02-13 16:22:12 +00:00
73b14d380c
ChangeLog update
2008-02-13 01:31:29 +00:00
Dmitry Stogov
87a8f72f49
Added NOWDOC
2008-02-12 09:28:30 +00:00
Dmitry Stogov
70252556cc
Fixed comilation warnings
2008-02-12 09:00:07 +00:00
Dmitry Stogov
6458555d76
Fixed ext/tokenizer test failures because of token renumbering
2008-02-12 08:49:19 +00:00
9964dd97fd
ChangeLog update
2008-02-12 01:31:25 +00:00
Stanislav Malyshev
c38d56e371
MFB __DIR_ constant support
2008-02-12 01:02:06 +00:00
Stanislav Malyshev
8596cc0273
MFB tests for __DIR__
2008-02-12 00:46:32 +00:00
Hannes Magnusson
276a9f0cae
MFB: Fix segfaults when calling ctors statically
2008-02-11 15:54:46 +00:00
d5a6647d4b
ChangeLog update
2008-02-10 01:31:36 +00:00
Marcus Boerger
43b623f2a2
- Windows build fix
2008-02-09 21:22:22 +00:00
a846273359
ChangeLog update
2008-02-08 01:31:29 +00:00
Marcus Boerger
7329e71eb5
- Simplify
2008-02-07 18:40:44 +00:00
aa32ad6d9d
ChangeLog update
2008-02-07 01:31:41 +00:00
Marcus Boerger
cbf04002c4
- Is there an easier way to figure out something is a string?
2008-02-06 22:00:21 +00:00
Marcus Boerger
812d203003
- Fix unicode
...
# I hate unicode, it is getting tooo complex
2008-02-06 21:53:17 +00:00
Marcus Boerger
4ad89748c3
- Fix missing check and tests
2008-02-06 20:39:54 +00:00
35a5b0abe7
ChangeLog update
2008-02-06 01:31:30 +00:00