Felipe Pena
86ed2eeb5d
- Avoid zend_do_ticks() call for each statement in parsing
2011-06-12 01:43:10 +00:00
Stanislav Malyshev
e18618905c
scalar types cleanup
2011-06-03 01:09:32 +00:00
Stanislav Malyshev
d7c9c5af92
scalar types cleanup
2011-06-03 01:09:32 +00:00
Felipe Pena
6f3c7a8b70
- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)
2011-05-19 23:20:47 +00:00
Felipe Pena
1101293b3f
- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)
2011-05-19 23:20:47 +00:00
Felipe Pena
180146d49b
- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)
2011-05-19 23:20:47 +00:00
Pierre Joye
e6368659a7
- WS
2011-05-17 10:39:18 +00:00
Pierre Joye
7ee407eb37
- WS
2011-05-17 10:39:18 +00:00
Stefan Marr
8ba00176f1
Fixed a inconsitent condition for aliasing traits.
...
- missed a failing Traits test, but is now fixed, and the bug covered by a dedicated test
# Should always comment conditions that go over more than two lines :-/
2011-05-13 20:28:34 +00:00
Moriyoshi Koizumi
cdb9ee0d1a
Fix zend.multibyte oddities. Hope this will address all the known problems.
2011-03-06 07:00:30 +00:00
Felipe Pena
5bef6665f9
- Fixed bug #43512 (same parameter name can be used multiple times in method/function definition)
2011-02-17 23:24:50 +00:00
Felipe Pena
f6a3cd6f57
- Fixed bug #53748 (Using traits lead to a segmentation fault)
2011-01-28 21:19:09 +00:00
Pierre Joye
9885f30873
- fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_again, why are they not in zend_multibyte.h btw?
2011-01-19 21:40:15 +00:00
Pierre Joye
230177d73c
- WS
2011-01-19 17:17:52 +00:00
Pierre Joye
a27baa7161
- WS
2011-01-19 17:17:52 +00:00
Pierre Joye
44e2fa1025
- avoid local redeclaration
2011-01-19 17:06:50 +00:00
Pierre Joye
3584bbee3b
- avoid local redeclaration
2011-01-19 17:06:50 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Stefan Marr
d6ac811e5d
Removed dead code.
...
# should not have been commited in the first place.
2010-12-20 08:49:59 +00:00
Felipe Pena
3e3d7c52f0
- Fix build
2010-12-20 01:42:25 +00:00
Stefan Marr
7357867bac
Added strict handling of properties in traits.
...
# This is the first attempt to implement the properties as discussed on the mailinglist.
# RFC is not updated to reflect this changes, yet.
2010-12-20 00:52:40 +00:00
Moriyoshi Koizumi
bbf3d43c1e
* Refactor zend_multibyte facility.
...
Now mbstring.script_encoding is superseded by zend.script_encoding.
2010-12-19 16:36:37 +00:00
Stefan Marr
d7c3c627e8
Changed E_ERROR to E_COMPILE_ERROR for Trait compilation errors.
...
#Thanks for catching this Kalle.
2010-12-12 17:12:29 +00:00
Stefan Marr
1d2a63da5f
Changed collision warning for Traits to fatal error.
...
#This change is made to have all possible cases of collisions consistently handled as fatal errors.
#The reason to have it fatal is that most likely something changed unexpectedly and needs urgent attention by the developer, since it will fail eventually anyway for instance because the expected method is missing in the class.
#Discussed in this thread: http://marc.info/?l=php-internals&m=129155790226876
2010-12-12 16:48:02 +00:00
Felipe Pena
215917d711
- Fixed ZTS build
2010-12-10 11:33:35 +00:00
Scott MacVicar
d9187596c9
MFH: Fix indirect reference of $this
2010-12-10 06:34:03 +00:00
Dmitry Stogov
755c2cd0d8
Removed compile time dependency from ext/mbstring
2010-12-08 11:27:34 +00:00
Pierre Joye
e72e27eecc
- fix ts build
2010-12-01 16:48:53 +00:00
Dmitry Stogov
a45631d966
Allowed indirect $this access (Scott)
2010-12-01 13:33:49 +00:00
Dmitry Stogov
7628da98c4
Removed support for break/continue $var syntax
2010-11-24 12:19:56 +00:00
Dmitry Stogov
ab93d8c621
Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
2010-11-24 05:41:23 +00:00
Felipe Pena
7c541356f3
- Fixed compile warnings
2010-11-23 21:49:18 +00:00
Dmitry Stogov
d72ac0771d
Fixed bug #35547 (Segfault accessing static method)
2010-11-23 10:22:34 +00:00
Stefan Marr
4cc45507da
Fixed problem reported by Patrick ALLAERT. Trait method was not applied properly when fully qualified.
2010-11-18 17:59:04 +00:00
Etienne Kneuss
105db96e78
Fixed covariance of return-by-ref constraints
2010-11-03 15:40:24 +00:00
Etienne Kneuss
9d25e7ee7b
Fixed covariance of return-by-ref constraints
2010-11-03 15:40:24 +00:00
Dmitry Stogov
fa3f0bb63f
Fixed bug #51008 (Zend/tests/bug45877.phpt fails)
2010-10-05 11:28:56 +00:00
Dmitry Stogov
f2df6a4a3e
- Improved memory usage
...
. zend_function.pass_rest_by_reference is replaced by
ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags
. zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE
in zend_function.fn_flags
. zend_arg_info.required_num_args removed. it was needed only for internal
functions. Now the first arg_info for internal function (which has special
meaning) is represented by zend_internal_function_info structure.
. zend_op_array.size, size_var, size_literal, current_brk_cont,
backpatch_count moved into CG(context), because they are used only during
compilation.
. zend_op_array.start_op is moved into EG(start_op), because it's used
only for 'interactive' execution of single top-level op-array.
. zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in
zend_op_array.fn_flags.
. op_array.vars array is trimmed (reallocated) during pass_two.
. zend_class_entry.constants_updated is replaced by
ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags
. the size of zend_class_entry is reduced by sharing the same memory space
by different information for internal and user classes.
See zend_class_inttry.info union.
2010-09-15 07:38:52 +00:00
Dmitry Stogov
2188f26c45
Fixed bug #52614 (Memory leak when writing on uninitialized variable returned from method call)
2010-08-25 09:14:36 +00:00
Felipe Pena
2fb2f81538
- Improved fix for bug #52573
2010-08-18 01:59:37 +00:00
Felipe Pena
f3028b9226
- Improved fix for bug #52573
2010-08-18 01:59:37 +00:00
Sascha Schumann
50a0ea7b8c
separate properties of internal classes in ZTS mode fully,
...
otherwise multiple threads will modify the zvals' contents
without any synchronisation.
2010-08-12 07:58:14 +00:00
Dmitry Stogov
7d55780ca0
In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated
2010-08-11 09:38:41 +00:00
Dmitry Stogov
931c2d104d
In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated
2010-08-11 09:38:41 +00:00
Dmitry Stogov
3cf5ab9e56
Use interned strings for class names
2010-08-05 13:10:15 +00:00
Dmitry Stogov
6443445f25
ZEND_UNSET_* don't have results
2010-07-29 09:46:59 +00:00
Dmitry Stogov
ca4de03eed
ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED flag any more. Thit is very rare and useless case. ZEND_FREE might be required after them instead.
2010-07-16 13:38:09 +00:00
Felipe Pena
b458b1a4c1
- Fix ZTS build
2010-07-08 15:22:11 +00:00
Dmitry Stogov
f0c8366a9e
- use interned strings for auto globals
...
- $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
2010-07-08 14:05:11 +00:00