Dmitry Stogov
a3d8718b9a
Fixed bug #45742 (Wrong class array inpretetion using constant indexes)
2008-08-07 11:45:00 +00:00
Dmitry Stogov
d93a86b4d2
Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys).
2008-08-01 14:21:46 +00:00
Dmitry Stogov
bc8defa547
Removed Closure::__toString()
2008-07-31 07:10:43 +00:00
Felipe Pena
0ce37b0584
- New test
2008-07-30 12:26:37 +00:00
Dmitry Stogov
ebbd4f094f
Fixed constant substitution (Matt)
2008-07-28 14:13:12 +00:00
Felipe Pena
de758769d3
- New tests
2008-07-28 14:09:00 +00:00
Felipe Pena
fa71adbbb1
- Fixed tests
2008-07-27 17:37:07 +00:00
Dmitry Stogov
1e355b4173
Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning)
2008-07-26 18:00:18 +00:00
Dmitry Stogov
ef5f3cfdf2
. 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:31:38 +00:00
Dmitry Stogov
2d49dc63e6
Fixed bug #45608 (closures don't work in static methods)
2008-07-26 14:15:44 +00:00
Dmitry Stogov
bdf7981e28
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:56 +00:00
Dmitry Stogov
fd2c7c2105
Fixed bug #45178 (memory corruption on assignment result of "new" by reference)
2008-07-24 11:48:30 +00:00
Dmitry Stogov
72dfe66661
LSB parent/self forwarding
2008-07-24 10:14:01 +00:00
Dmitry Stogov
0255d8d5f4
Closure object cannot have properties
2008-07-22 07:29:14 +00:00
Derick Rethans
b9dd7dc722
- This test works fine (patch by Lars Strojny)
2008-07-22 07:21:40 +00:00
Felipe Pena
52d1de927a
- Fixed tests (patch by Lars Strojny)
2008-07-21 23:55:27 +00:00
Hannes Magnusson
5919165375
Add E_USER_DEPRECATED (patch by Lars Strojny)
2008-07-21 09:36:21 +00:00
Felipe Pena
8e4029512a
- New tests
2008-07-14 13:39:32 +00:00
Felipe Pena
ae22f8a5d9
- Fixed test titles
2008-07-14 12:35:51 +00:00
Dmitry Stogov
84625f5e7e
Fixed is_callable() to support closures and return appropriate function name
2008-07-14 12:17:16 +00:00
Marcus Boerger
33adcdf0cc
- Fix/add tests
2008-07-13 21:37:27 +00:00
Antony Dovgal
102ab5c862
fix test
2008-07-13 09:37:19 +00:00
Dmitry Stogov
e3b14a49bb
Removed SKIPIF sections
2008-07-10 07:57:34 +00:00
Dmitry Stogov
4d58b64a89
Fixed unicode support
2008-07-10 07:55:48 +00:00
Dmitry Stogov
36ec3480cf
Closure::__invoke() is fixed to support references
2008-07-08 16:15:08 +00:00
Dmitry Stogov
0ab4c933e7
Fixed bug #45434 (circular reference causes segfault in gc_collect_cycles())
2008-07-08 08:16:18 +00:00
Dmitry Stogov
8d2e0a7e0f
Added closures support
2008-07-08 07:05:04 +00:00
Felipe Pena
23a350b7a5
- Fixed tests
2008-06-25 22:51:53 +00:00
Dmitry Stogov
ecf108e681
Allowed to override internal classaes with "use"
2008-06-20 17:17:19 +00:00
Felipe Pena
61f82b7b2f
- New test
2008-06-11 22:40:56 +00:00
Stanislav Malyshev
15b74d008a
MF5: allow aggregating use statements
2008-06-08 09:51:42 +00:00
Felipe Pena
14b1567a6f
- New tests
2008-06-05 18:35:48 +00:00
Felipe Pena
750c42aecb
- New test
2008-06-04 18:34:12 +00:00
Felipe Pena
737dd4ef6e
- MFB: Fixed bug #45089 (__callStatic $name case sensitivity)
2008-06-03 19:01:26 +00:00
Felipe Pena
ad4e5332d9
- Removed unnecessary XFAIL section
2008-06-03 17:09:29 +00:00
Felipe Pena
cde37a23b0
- New tests
2008-06-03 15:36:59 +00:00
Felipe Pena
15ec44e0bd
- Fixed bug #44769 (declaring private magic methods should throw error)
2008-06-03 13:55:47 +00:00
Felipe Pena
94181a6920
- Added XFAIL section in tests to issue under discussion
2008-05-28 11:50:02 +00:00
Steph Fox
6d8760677d
- killed off UEXPECT
...
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00
Antony Dovgal
7de1c81af0
fix tests
2008-05-20 14:54:06 +00:00
Antony Dovgal
9b028e77b3
fix test names
2008-05-14 13:05:55 +00:00
Felipe Pena
5790b80c53
- New tests
2008-05-12 17:55:21 +00:00
Felipe Pena
c3d4d21afc
- New tests
2008-05-12 14:58:41 +00:00
Felipe Pena
c065d7e7e7
- New tests
2008-05-12 13:30:50 +00:00
Felipe Pena
249ada6930
- Fixed test
2008-05-12 11:16:32 +00:00
Felipe Pena
d6a777349b
- New tests
2008-05-11 22:44:10 +00:00
Felipe Pena
3d7013045b
- New tests
2008-05-11 03:15:13 +00:00
Matt Wilmas
2ff54e368f
Fix Windows newlines (missed that detail when adding :-/)
2008-05-09 14:40:31 +00:00
Felipe Pena
55978d86c1
- New tests
2008-05-09 14:11:51 +00:00
Matt Wilmas
77a0bed0d8
Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)
2008-05-09 11:05:34 +00:00
Felipe Pena
496099274b
- Fixed detection of invalid class name
2008-05-08 16:58:43 +00:00
Felipe Pena
3264ac20bf
- New tests
2008-05-07 14:08:41 +00:00
Dmitry Stogov
c1b01f7318
- Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
...
- Fixed bug #44913 (Segfault when using return in combination with nested loops and continue 2)
2008-05-05 11:02:46 +00:00
Dmitry Stogov
a0f5a72a8a
Support for old-style constructors in namespaces
2008-05-05 09:44:07 +00:00
Felipe Pena
c23bf369ec
- Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss)
2008-05-03 00:36:54 +00:00
Felipe Pena
18fad25a77
- Fixed tests
2008-04-19 23:11:26 +00:00
Felipe Pena
d4245df7d6
- New tests
2008-04-18 13:54:46 +00:00
Felipe Pena
b2b47a525f
- New test
2008-04-17 18:16:34 +00:00
Dmitry Stogov
3e7fc16078
Bug #44653 (Invalid namespace name resolution)
2008-04-09 08:55:31 +00:00
Marcus Boerger
3ed985b582
- add new tests
2008-04-06 17:52:40 +00:00
Felipe Pena
cdf42e7638
MFB:
...
- Allow HEREDOC syntax with double quotes [DOC]
(http://wiki.php.net/rfc/heredoc-with-double-quotes )
2008-04-05 23:13:21 +00:00
Scott MacVicar
e55a0de496
MFB 5.3: Rewrite scanner to be based on re2c instead of flex
...
There are still changes in regards to parsing of Unicode encoded scripts to come.
2008-03-26 14:23:02 +00:00
Antony Dovgal
f2ca4aaf6a
allow NULL argument to be passed where binary string expected
2008-03-26 09:09:08 +00:00
Marcus Boerger
e8ef82bc6f
- MFH Add tests
2008-03-23 13:38:20 +00:00
Antony Dovgal
dd862bb3e3
fix #43477 (Error mode ignored in unicode_decode())
...
patch by Stephen Bach
2008-03-21 12:09:28 +00:00
Dmitry Stogov
a0378d3514
Fixed test
2008-03-18 06:44:54 +00:00
Antony Dovgal
abbd1e8ece
fix #39127i (Old-style constructor fallbacks produce strange results)
2008-03-17 14:53:43 +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
2b82e0d78a
Fixed GC bug
2008-03-14 13:21:21 +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
6fae346fb4
Fixed bug #44414 (Incomplete reporting about abstract methods)
2008-03-12 09:46:57 +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
Felipe Pena
40af7d8db4
Fix tests (removed space on error message "Undefined index: ...")
2008-03-08 13:01:41 +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
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
Johannes Schlüter
e3c4c2496c
- Allow implementation of abstract methods with optional parameters (Christian
...
Schneider)
2008-03-01 13:53:10 +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
2e893877af
Fixed tests
2008-02-24 12:42:16 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +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
478cbe5892
Fixed bug #44184 (Double free of loop-variable on exception)
2008-02-20 12:06:29 +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
87a8f72f49
Added NOWDOC
2008-02-12 09:28:30 +00:00
Stanislav Malyshev
8596cc0273
MFB tests for __DIR__
2008-02-12 00:46:32 +00:00
Felipe Pena
b612b6d44b
Fix tests (new error message)
2008-02-04 14:29:51 +00:00
Dmitry Stogov
e8ecba4872
Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry)
2008-01-29 11:13:52 +00:00
Dmitry Stogov
a2b707fcd7
Fixed bug #43918 (Segmentation fault in garbage collector)
2008-01-29 09:59:53 +00:00
Antony Dovgal
392d250c32
fix typo and bug #43646
2008-01-29 00:06:42 +00:00
Dmitry Stogov
9b21430ee6
Fixed bug #43426 (crash on nested call_user_func() calls)
2008-01-24 09:47:10 +00:00
Dmitry Stogov
2971e13836
Changed EG(argument_stack) implementation.
2008-01-24 09:41:48 +00:00
Dmitry Stogov
6847c18150
Added garbage collector
2008-01-22 09:29:29 +00:00
Dmitry Stogov
2d8f3f9b72
Fixed bug #43851 (Memory corrution on reuse of assigned value)
2008-01-15 11:53:13 +00:00
Dmitry Stogov
350a3daee4
Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
2008-01-11 08:42:19 +00:00
Dmitry Stogov
9da3b7cf8e
Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory)
2007-12-28 13:22:17 +00:00
Dmitry Stogov
1ccc6a4f10
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
2007-12-25 10:58:49 +00:00
Dmitry Stogov
0c75772f68
Additional fix for bug #42868
2007-12-24 18:10:20 +00:00
Johannes Schlüter
e40c4fc243
- Fix #43450 (Memory leak on some functions with implicit object
...
__toString() call) (Davic C.)
2007-12-21 20:56:10 +00:00
Robert Nicholson
7eecbc021a
New test - Indexing - various special cases
2007-12-20 11:42:23 +00:00
Antony Dovgal
63c9380328
add new tests written by Felipe Pena
2007-12-13 13:51:02 +00:00
Dmitry Stogov
d47c88feb2
Allowed multiple namespaces per file (Gregory)
2007-12-13 08:58:28 +00:00
Dmitry Stogov
31f6f1583e
Fixed bug #43344 (Wrong error message for undefined namespace constant)
2007-12-07 17:12:22 +00:00
Dmitry Stogov
4de1707062
Fixed bug #43332 (self and parent as type hint in namespace)
2007-12-03 14:15:55 +00:00
Marcus Boerger
fa51d6497e
# My editor somehow likes to convert to UTF-8
2007-11-23 13:27:18 +00:00
Marcus Boerger
46b8084748
- Add another LSB test
2007-11-23 13:25:35 +00:00
Dmitry Stogov
47dc82ecb9
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:33:53 +00:00
Dmitry Stogov
975a66da79
Fixed bug #43318
...
The "const" statement is still allowed outside of namespaces but arrays are disabled.
2007-11-22 10:46:44 +00:00
Johannes Schlüter
c1c404efc0
- Improve test
2007-11-21 09:38:32 +00:00
Johannes Schlüter
0f9d8bc066
- Add test
2007-11-20 23:56:45 +00:00
Dmitry Stogov
2a84434ea3
Added support for "namespace::" prefix that is resolved to current namespace name.
2007-11-20 08:53:17 +00:00
Dmitry Stogov
0ab5a2c203
Fixed tests
2007-11-19 08:21:58 +00:00
Antony Dovgal
9c7296f165
disallow multiple access modifiers and 'abstract abstract' methods
...
add tests
2007-11-13 16:51:22 +00:00
Dmitry Stogov
b6963efdda
better error messages
2007-11-12 17:53:36 +00:00
Antony Dovgal
0c07db4420
fix error message (reported by Felipe Nascimento)
2007-11-12 16:55:28 +00:00
Dmitry Stogov
c74918f5d5
Fixed bug #43183 ("use" of the same class in difference scripts results in a fatal error)
2007-11-12 15:52:11 +00:00
Dmitry Stogov
0dd6af6afd
Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class).
2007-11-12 09:12:20 +00:00
Johannes Schlüter
a8e26830fe
- static can't be used as type hint, fixes #43126 (Etienne Kneuss)
2007-11-11 22:10:57 +00:00
Dmitry Stogov
cdbeea7e2e
Fixed type-hint compatibility check in namespaces
2007-11-09 13:35:22 +00:00
Dmitry Stogov
aea2368bda
Fixed implementation of internal interfaces in namespaces
2007-11-09 12:16:55 +00:00
Dmitry Stogov
c882ba8e69
Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault)
2007-11-06 14:56:32 +00:00
Dmitry Stogov
d945aea891
Fixed bug #43201 (Crash on using unitialized vals and __get/__set)
2007-11-06 14:12:14 +00:00
Dmitry Stogov
e860d95d24
T_IMPORT -> T_USE
2007-11-06 07:29:41 +00:00
Jani Taskinen
9cc90f23b3
ws + cs + fix test
2007-11-02 00:15:13 +00:00
Dmitry Stogov
a069a415e5
Fixed bug #43027 (Declare cause fatal error)
2007-11-01 11:59:15 +00:00
Dmitry Stogov
a53eb396b3
Fixed variations of bug #35163
2007-10-23 12:52:51 +00:00
Dmitry Stogov
d892fd3da4
Fixed bug #35163 (Array elements can lose references)
2007-10-23 09:55:25 +00:00
Dmitry Stogov
8cae2e56e4
Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry)
2007-10-17 10:01:37 +00:00
Hannes Magnusson
165c695f44
Add skipif
2007-10-13 11:36:59 +00:00
Ilia Alshanetsky
42ec1edea4
MFB: Fixed bug #42817 (clone() on a non-object does not result in a fatal
...
error)
2007-10-04 23:25:53 +00:00
Dmitry Stogov
ce5c38af25
Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class).
2007-10-03 10:33:45 +00:00
Dmitry Stogov
daf1121292
Fixed bug #42818 ($foo = clone(array()); leaks memory)
2007-10-03 09:47:59 +00:00
Dmitry Stogov
ca4c533843
Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string)
2007-10-03 08:02:57 +00:00
Dmitry Stogov
19d7fed62d
Fixed bug #42819 (namespaces in indexes of constant arrays)
2007-10-02 08:27:19 +00:00
Dmitry Stogov
8d8d86eb7a
Fixed bug #42802 (Namespace not supported in typehints)
2007-10-01 10:37:36 +00:00
Dmitry Stogov
f30167922a
Fixed bug #42798 (__autoload() not triggered for classes used in method signature).
2007-10-01 09:33:02 +00:00
Ilia Alshanetsky
43f492c872
MFB: Fixed bug #42767 (highlight_string() truncates trailing comment).
2007-09-26 15:46:28 +00:00
Dmitry Stogov
189ac4f201
Late Static Binding (Dmitry, Etienne Kneuss)
2007-09-26 07:16:33 +00:00
Antony Dovgal
9af6ca011e
fix test names
2007-09-19 11:25:22 +00:00
Antony Dovgal
e8a72ac5e1
prohibit arguments by ref in magic methods
2007-08-31 12:36:00 +00:00
Antony Dovgal
4525473c9d
fix tests
2007-08-25 16:02:11 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00