Arnaud Le Blanc
877d5f8fed
MFH: Fix compile error
2008-10-27 14:59:03 +00:00
Antony Dovgal
73f81e9df6
add test
2008-10-24 20:17:01 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Ilia Alshanetsky
8a106deb24
Revert define() fix, it needs further review
2008-10-22 23:28:34 +00:00
Ilia Alshanetsky
e2bee4923b
Fixed bug #46341 (Added missing validation checks into define() for class
...
constants)
2008-10-19 18:07:37 +00:00
Dmitry Stogov
41ad9b4d1f
Fixed bug #46308 (Invalid write when changing property from inside getter)
2008-10-17 10:26:07 +00:00
Dmitry Stogov
3c5ff0f8f4
Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method())
2008-10-10 15:19:35 +00:00
Felipe Pena
e68106988a
- MFH: Fixed bug #46238 (Segmentation fault on static call with empty string method)
2008-10-06 00:40:02 +00:00
Etienne Kneuss
b879459973
MFH: Use enum alternative instead of explicit value
2008-10-02 19:54:03 +00:00
Antony Dovgal
f5b09f1907
MFH: initialize variable
2008-10-01 14:31:01 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Dmitry Stogov
e46d328934
Fixed bug #46106 (Memory leaks when using global statement)
2008-09-17 15:11:28 +00:00
Dmitry Stogov
df9b7a1fe0
Fixed possible crash because of overriden error handler
2008-09-17 13:08:54 +00:00
Dmitry Stogov
1474d9dfad
Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
...
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Etienne Kneuss
6ebc3a8b9b
MFH: Fix #45656 (new Class silenting exceptions in autoloaders)
2008-09-15 10:19:53 +00:00
Stanislav Malyshev
a873cfc134
update scanner files
2008-09-11 00:34:10 +00:00
Stanislav Malyshev
193dd31a22
Fix BC issue with ini scanner.
...
# Now in "": \LETTER is literal, \" is escaped ", value ending with \" is literal
2008-09-11 00:33:38 +00:00
Arnaud Le Blanc
ffb76017d5
MFH: Fixed #45928 (large scripts from stdin are stripped at 16K border)
2008-09-10 10:28:39 +00:00
Matt Wilmas
22a5aea161
MFH: - Updated unary_op_type typedef with TSRMLS_DC
...
- Added binary_op_type typedef
- Added missing ZEND_BOOL_XOR to get_binary_op()
2008-08-29 18:12:47 +00:00
Matt Wilmas
2e6d655efd
MFH: - Saved opcode when unary +/- is applied to IS_CONST op (e.g. for negative numbers)
...
- Made '+' in static_scalar context behave as '-' by calling add_function()
2008-08-29 17:54:29 +00:00
Dmitry Stogov
8bf32f28f2
Imporoved compile-time constant substitution (Matt)
2008-08-29 10:17:08 +00:00
Dmitry Stogov
03f4121452
Fixed bug #45910 (Cannot declare self-referencing constant)
2008-08-26 08:38:26 +00:00
Felipe Pena
1152c18e2a
- New test
2008-08-25 19:55:54 +00:00
Felipe Pena
77e7f1c191
- New tests
2008-08-25 19:36:01 +00:00
Etienne Kneuss
cc9a8ee528
MFH:
...
- Copy custom callback to the child class if any
- Prevent overwriting valid parent callbacks when implementing Serializable
- Export zend_user_(un)serialize to be available for custom callbacks
2008-08-24 18:22:33 +00:00
Marcus Boerger
ce2f9bb0cf
- MFH Fix issue with destruction of overloaded objects
2008-08-24 16:49:19 +00:00
Felipe Pena
9d5ab6e54f
- MFH: Removed unused arguments
2008-08-22 15:54:21 +00:00
Dmitry Stogov
8ed8b011ef
Removed redundant code
2008-08-22 15:28:29 +00:00
Antony Dovgal
b6a2c27232
MFH: fix zend_register_functions() not displaying duplicate functions (reported by Gopal)
2008-08-22 14:51:30 +00:00
Felipe Pena
611ef9534f
- New tests
2008-08-22 13:40:09 +00:00
Felipe Pena
317b48f3af
MFH:
...
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 00:59:39 +00:00
Dmitry Stogov
653e523a97
Fixed destruction of dl() loaded extensions
2008-08-21 16:21:43 +00:00
Felipe Pena
e597dde580
- New tests
2008-08-18 17:46:54 +00:00
Felipe Pena
9c787d8c97
- MFH: Fixed bug #45743 (property_exists fails to find static protected member in child class)
2008-08-18 17:44:02 +00:00
Arnaud Le Blanc
c481ac1e41
generated zend_ini_scanner.c
2008-08-17 21:57:52 +00:00
Arnaud Le Blanc
dee3bb2371
MFH: Allow underscore at start of labels as underscore has no meaning here
...
(fixes #44842 )
2008-08-17 21:55:26 +00:00
Arnaud Le Blanc
1defd7a9e2
MFH: Fixed #45384 (parse_ini_file will result in parse error with no trailing
...
newline)
2008-08-17 21:00:22 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Jani Taskinen
a3e7c1a318
MFH
2008-08-14 22:51:31 +00:00
Etienne Kneuss
f90255c66b
MFH: Handlerify get_closure
2008-08-14 21:36:56 +00:00
Jani Taskinen
f8c748af56
fix test
2008-08-14 20:51:55 +00:00
Felipe Pena
6b91caeba1
- Fixed test
2008-08-14 19:17:59 +00:00
Felipe Pena
542483cbe4
- New test
2008-08-14 19:14:56 +00:00
Marcus Boerger
32f9d0e180
- MFH Improve exception linking
2008-08-14 10:24:52 +00:00
Felipe Pena
3a9f17dfb8
- Fix build
2008-08-13 16:16:57 +00:00
Dmitry Stogov
1ff61ab8a4
Fixed bug #45805 (Crach on throwing exception from error handler)
2008-08-13 07:21:30 +00:00
Nuno Lopes
f87d4530c2
mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P
2008-08-12 21:45:52 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Dmitry Stogov
05376077b3
Fixed bug #45779 (regression with shebang lines processing)
2008-08-12 16:43:53 +00:00
Marcus Boerger
4ff965ee6c
- MFH Add new test
2008-08-12 11:52:16 +00:00
Marcus Boerger
d8530cc8a9
- MFH Add new test
2008-08-12 11:24:24 +00:00
Marcus Boerger
4344e2ec9e
- MFH Add missing ';'s
2008-08-12 10:23:02 +00:00
Marcus Boerger
3053a62621
- MFH Fix shutdown order
2008-08-11 17:44:15 +00:00
Marcus Boerger
106864bcbb
- MFH Fix memleak with new error handling stack'ing
2008-08-11 17:19:20 +00:00
Marcus Boerger
1b7e862444
- WS (actually my falut)
2008-08-11 10:30:21 +00:00
Dmitry Stogov
a4a3ed44bb
- Made closures implementation reflection friendly (Christian)
...
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:00 +00:00
Antony Dovgal
18547585bf
new test
2008-08-10 21:24:08 +00:00
Felipe Pena
5f68027d58
- Fixed tests (Pierre)
2008-08-10 00:35:40 +00:00
Marcus Boerger
3f7a4b7e90
- MFH error handling, now with save, replace, restore
2008-08-08 17:47:31 +00:00
Marcus Boerger
5a59d41305
- MFH store error handling mode on stack when executing internal
...
or overloaded functions and methods. [...]
2008-08-08 13:21:52 +00:00
Dmitry Stogov
ba15f6809d
Disable closures serialization/unserialization
2008-08-07 13:35:51 +00:00
Nuno Lopes
106a417378
regenerate
2008-08-07 12:23:03 +00:00
Nuno Lopes
42eed0b5cf
fix crash: yytext can't be modified because it is mmaped(). strndup() will take care of last zero char
2008-08-07 12:22:00 +00:00
Dmitry Stogov
43f278ccaf
Fixed bug #45744 (Case sensitive callback behaviour)
2008-08-07 12:04:14 +00:00
Antony Dovgal
3c018ceb75
fix WS
2008-08-07 11:51:54 +00:00
Dmitry Stogov
c1e5b1345d
Fixed bug #45742 (Wrong class array inpretetion using constant indexes)
2008-08-07 11:45:35 +00:00
Antony Dovgal
53a957e5f8
MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
2008-08-07 08:36:24 +00:00
Stanislav Malyshev
4bd1aec2f9
fix memnstr bug, by Laurent Gaffie
2008-08-05 20:14:27 +00:00
Jani Taskinen
47a2bad767
- No C++ comments in C files!
2008-08-03 11:48:20 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Felipe Pena
11bc1de770
- MFH: Removed unnecessary TSRMLS_FETCH()
2008-08-02 02:50:18 +00:00
Stanislav Malyshev
c123d7fea0
remove unneeded define
2008-08-01 22:43:16 +00:00
Dmitry Stogov
37a769353f
Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys).
2008-08-01 14:22:03 +00:00
Dmitry Stogov
1f09a6b359
Fixed constant substitution in constant expression context
2008-07-31 14:27:43 +00:00
Dmitry Stogov
f02f9b0545
Removed Closure::__toString()
2008-07-31 07:10:33 +00:00
Felipe Pena
0afc07b26a
- New test
2008-07-30 12:14:30 +00:00
Felipe Pena
555a9b0768
- MFH: Fixed BC break: The magic constants must be case-insensitive.
2008-07-30 01:25:49 +00:00
Dmitry Stogov
b6cca30211
Fixed memory leak
2008-07-29 14:28:11 +00:00
Dmitry Stogov
44caafc62e
Fixed constant substitution (Matt)
2008-07-28 14:12:19 +00:00
Felipe Pena
e062594215
- MFH: New tests
2008-07-28 14:10:00 +00:00
Moriyoshi Koizumi
ba84cd7359
- Touch.
2008-07-28 07:02:05 +00:00
Moriyoshi Koizumi
b9eaa80150
- SCNG(input_filter) can be null if the script encoding is idential to
...
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
4857586ec2
- Touch
2008-07-28 06:05:36 +00:00
Moriyoshi Koizumi
1782511e72
- WS
2008-07-28 06:05:14 +00:00
Moriyoshi Koizumi
fa8f78d96c
- touch
2008-07-28 06:00:15 +00:00
Moriyoshi Koizumi
a28497d6e5
- Fix __halt_compiler() weirdness with zend-mulibyte enabled
2008-07-28 05:59:17 +00:00
Dmitry Stogov
b2eba97d8b
Fix for bug #43487 (Wrong conversion of float to string)
2008-07-27 11:29:10 +00:00
Dmitry Stogov
64c721e04e
*** empty log message ***
2008-07-26 19:14:38 +00:00
Dmitry Stogov
8ee5b58bbe
Added checks for destroied objects
2008-07-26 18:32:20 +00:00
Dmitry Stogov
f5f8cba8e9
Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning)
2008-07-26 17:59:54 +00:00
Dmitry Stogov
b25f9f6a6a
Added support for overloaded functions (e.g. COM) in call_user_func().
2008-07-26 17:01:40 +00:00
Dmitry Stogov
478acfd8b4
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
...
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Dmitry Stogov
8b14236557
Fixed bug #45608 (closures don't work in static methods)
2008-07-26 14:15:19 +00:00
Dmitry Stogov
4f81a0c358
Fixed crashes and memory leak for objects with NULL write_property/has_property/unset_property handlers
2008-07-26 14:08:11 +00:00
Dmitry Stogov
af05ce0af6
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:04 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Dmitry Stogov
ed2d3e4c7e
Substitute persistent constants by their values at compile time. (Matt)
2008-07-25 04:54:08 +00:00
Moriyoshi Koizumi
20bca30d04
- No need to advance the cursor
2008-07-24 23:53:42 +00:00
Moriyoshi Koizumi
4f42ed39c0
- Revived zend multibyte
2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi
1f845199f7
- MFH: Suppress signedness warnings
2008-07-24 20:44:15 +00:00