Dmitry Stogov
f7f74367df
Fixed bug #45434 (circular reference causes segfault in gc_collect_cycles())
2008-07-08 08:16:09 +00:00
Rui Hirokawa
0686ad4313
improved zend-multibyte detection.
2008-07-06 15:36:19 +00:00
Rui Hirokawa
07ce850026
added test script for zend-multibyte
...
(moved/modified from ext/mbstring/tests/)
2008-07-06 02:01:39 +00:00
Felipe Pena
d2faad9820
- Fixed test
2008-06-25 22:54:11 +00:00
Dmitry Stogov
298087c74b
Allowed to override internal classaes with "use"
2008-06-20 17:17:05 +00:00
Stanislav Malyshev
58a673a909
Use new parameter parsing API for builtin functions
2008-06-18 23:38:37 +00:00
Felipe Pena
cda2b20ae9
- New test
2008-06-11 22:40:13 +00:00
Felipe Pena
dc697bcea4
- Change E_COMPILE_ERROR to E_WARNING (for wrong visibility on magic methods)
2008-06-10 23:09:09 +00:00
Stanislav Malyshev
4f522eb576
allow aggregating use statements
2008-06-08 09:38:47 +00:00
Felipe Pena
7ba0803964
- New tests
2008-06-05 18:33:00 +00:00
Felipe Pena
a1bbc5698c
- New test
2008-06-04 18:32:56 +00:00
Felipe Pena
cc23d3bade
- Fixed bug #45089 (__callStatic $name case sensitivity)
2008-06-03 18:11:12 +00:00
Felipe Pena
44b91c8b61
- Removed unnecessary XFAIL section
2008-06-03 17:10:21 +00:00
Felipe Pena
426a4cc2e6
- Fixed tests
2008-06-03 15:34:47 +00:00
Felipe Pena
6ff90104aa
- New tests
2008-06-03 15:30:04 +00:00
Felipe Pena
402fb5285d
- MFH: Fixed bug #44769 (declaring private magic methods should throw error)
2008-06-03 14:07:15 +00:00
Matt Wilmas
fc6fa44097
Fixed tests on Windows
2008-05-29 07:32:03 +00:00
Felipe Pena
125e897348
- Added XFAIL section in tests to issue under discussion
2008-05-28 11:54:36 +00:00
Antony Dovgal
ba4a9de042
fix tests (say hello to disk C:\)
2008-05-20 14:53:58 +00:00
Antony Dovgal
b3b5126954
fix test names
2008-05-14 13:04:05 +00:00
Felipe Pena
e35c457913
- New tests
2008-05-12 17:57:21 +00:00
Felipe Pena
d9d47f3718
- New tests
2008-05-12 14:58:31 +00:00
Felipe Pena
5c2ff40433
- MFH: New tests
2008-05-12 13:31:36 +00:00
Felipe Pena
c5e80819ba
- Fixed test
2008-05-12 11:15:32 +00:00
Felipe Pena
f6c57d1f6f
- MFH: New tests
2008-05-11 22:44:56 +00:00
Felipe Pena
e4c7664158
- MFH: New tests
2008-05-11 03:50:28 +00:00
Felipe Pena
bcccfa6bf1
- New tests
2008-05-09 14:16:24 +00:00
Matt Wilmas
29cbfbd1e7
MFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)
2008-05-09 11:06:29 +00:00
Felipe Pena
1e650ca32d
- MFH: Fixed detection of invalid class name
2008-05-08 18:51:28 +00:00
Felipe Pena
fd4e87c5d4
- New tests
2008-05-07 14:10:03 +00:00
Dmitry Stogov
1b317f1526
- 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:03:35 +00:00
Dmitry Stogov
5a0253c14c
Support for old-style constructors in namespaces
2008-05-05 09:44:39 +00:00
Felipe Pena
a578b0cbcc
- MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss)
2008-05-03 00:38:55 +00:00
Felipe Pena
3d2a5940a2
- New tests
2008-04-18 14:05:47 +00:00
Felipe Pena
8f2c31a171
- New test
2008-04-17 18:16:17 +00:00
Ilia Alshanetsky
4534cd6807
WS
2008-04-09 23:35:19 +00:00
Dmitry Stogov
dfacfae34a
Bug #44653 (Invalid namespace name resolution)
2008-04-09 08:55:45 +00:00
Marcus Boerger
8f670912a3
- MFH add new tests
2008-04-06 17:53:31 +00:00
Felipe Pena
b9d13d8f17
- Allow HEREDOC syntax with double quotes
...
(http://wiki.php.net/rfc/heredoc-with-double-quotes )
2008-04-05 22:29:08 +00:00
Felipe Pena
f66f55edc5
MFH: Implemented "jump label" operator (limited "goto")
...
[DOC]
2008-03-28 14:35:01 +00:00
Marcus Boerger
3a74a6bec4
- MFH Add tests
2008-03-23 13:38:41 +00:00
Antony Dovgal
40a7a6005b
remove ze1_compat tests
2008-03-18 14:50:14 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00
Antony Dovgal
7dd943ac5c
MFH: fix #39127 (Old-style constructor fallbacks produce strange results)
2008-03-17 14:54:42 +00:00
Scott MacVicar
e6960e3ded
Fix test
2008-03-17 10:29:17 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Dmitry Stogov
7158425387
Improve GC to support garbage created in destructors during objects utilization
2008-03-14 18:36:34 +00:00
Dmitry Stogov
e1a28ee945
Fixed GC bug
2008-03-14 13:21:04 +00:00
Dmitry Stogov
a564b2a939
Fixed test
2008-03-12 15:20:23 +00:00
Felipe Pena
ae0a15b7cf
New test
2008-03-12 13:31:38 +00:00
Felipe Pena
5fa8f63a01
New tests
2008-03-12 12:58:12 +00:00
Dmitry Stogov
0f2247ae94
Fixed bug #44414 (Incomplete reporting about abstract methods)
2008-03-12 09:46:42 +00:00
Felipe Pena
fec00fd374
Add new test (bug reported in internals list by Robin)
2008-03-11 16:56:06 +00:00
Felipe Pena
7a9bfa9055
Add new test (bug reported in internals list by Robin)
2008-03-11 16:48:14 +00:00
Felipe Pena
4aebf04353
Missing a line
2008-03-11 15:26:24 +00:00
Felipe Pena
999d2e2294
New tests
2008-03-11 15:18:58 +00:00
Felipe Pena
f37f8d85d6
Fix test
2008-03-11 11:04:53 +00:00
Antony Dovgal
6204a10e79
some more tests
2008-03-11 10:40:37 +00:00
Felipe Pena
1db52c1c5f
Fix tests (new error message for void parameters)
2008-03-10 23:14:11 +00:00
Felipe Pena
9324869ef5
Fix tests (new error message for void parameters)
2008-03-10 22:17:59 +00:00
Felipe Pena
c7cb8551fe
Fix tests (removed space on error message "Undefined index: ...")
2008-03-08 12:01:53 +00:00
Felipe Pena
ddc8a63168
Fixed bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset")
2008-03-08 11:35:12 +00:00
Antony Dovgal
cbdc4b9af8
fix segfault when trying to clone uncloneable object because of zend.ze1_compatibility_mode which we should have got rid of years ago
2008-03-06 17:28:26 +00:00
Robin Fernandes
0455ccb805
Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ).
2008-03-03 15:07:04 +00:00
Johannes Schlüter
68de75f0b5
MFH: Allow implementation of abstract methods with optional parameters (Christian
...
Schneider)
2008-03-01 13:53:32 +00:00
Marcus Boerger
d3e5026564
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
...
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Dmitry Stogov
18cc21c662
Fixed bug #43483 (get_class_methods() does not list all visible methods)
2008-02-21 15:14:27 +00:00
Dmitry Stogov
3e7e9d4af6
Fixed bug #44141 (private parent constructor callable through static function)
2008-02-21 13:55:45 +00:00
Dmitry Stogov
8c32f99c25
Fixed bug #44184 (Double free of loop-variable on exception)
2008-02-20 12:05:57 +00:00
Dmitry Stogov
e563a6d979
Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=)
2008-02-14 14:42:00 +00:00
Dmitry Stogov
ddcf7a2f49
Added NEWDOC
2008-02-12 09:27:45 +00:00
Stanislav Malyshev
27d4a3f6c3
add tests for __DIR__
2008-02-12 00:26:51 +00:00
Hannes Magnusson
ed1bafe5d7
Fix test
2008-02-05 08:41:04 +00:00
Marcus Boerger
ac8e76c714
- Fix remaining issue (should be last one)
2008-02-02 15:18:30 +00:00
Rasmus Lerdorf
f48bd05482
Fix more tests (some of these were not broken by the recent changes)
2008-02-02 00:55:35 +00:00
Dmitry Stogov
9770b3cb00
Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry)
2008-01-29 11:12:57 +00:00
Dmitry Stogov
58433c9b11
Fixed bug #43918 (Segmentation fault in garbage collector)
2008-01-29 09:59:42 +00:00
Antony Dovgal
4252942abd
MFH: fix typo and bug #43646
2008-01-29 00:07:26 +00:00
Dmitry Stogov
03c018d34e
Fixed GC bug
2008-01-24 10:49:26 +00:00
Dmitry Stogov
f8297f6e37
Fixed bug #43426 (crash on nested call_user_func() calls)
2008-01-24 09:47:00 +00:00
Dmitry Stogov
0b6825102d
Changed EG(argument_stack) implementation.
2008-01-24 09:41:39 +00:00
Dmitry Stogov
07000cc2ba
Fixed error message
2008-01-24 08:51:38 +00:00
Dmitry Stogov
71592cec06
Added garbage collector
2008-01-22 09:27:48 +00:00
Dmitry Stogov
e6588b6620
Fixed bug #43851 (Memory corrution on reuse of assigned value)
2008-01-15 11:52:45 +00:00
Dmitry Stogov
ab5bddd976
Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
2008-01-11 08:42:06 +00:00
Dmitry Stogov
b5c4244069
Fixed bug #43703 (Signature compatibility check broken)
2008-01-09 07:57:42 +00:00
Dmitry Stogov
5a3eb53723
Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory)
2007-12-28 13:22:00 +00:00
Dmitry Stogov
43f6392e90
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
2007-12-25 10:58:30 +00:00
Dmitry Stogov
ed5a424b4f
Additional fix for bug #42868
2007-12-24 18:09:50 +00:00
Johannes Schlüter
1b6100f4c1
- MFH: Fix #43450 (Memory leak on some functions with implicit object
...
__toString() call) (Davic C.)
2007-12-21 20:56:33 +00:00
Robert Nicholson
d0bfef7f94
New test - Indexing - various special cases
2007-12-20 11:42:00 +00:00
Dmitry Stogov
f7f6de4dc2
Fixed test
2007-12-17 10:05:13 +00:00
Antony Dovgal
2569b593f1
MFH: add new tests written by Felipe Pena
2007-12-13 13:51:15 +00:00
Dmitry Stogov
64e8f22355
Allowed import of global classes "use ::GlobalClassName;"
2007-12-13 10:02:03 +00:00
Dmitry Stogov
80e77c1366
Allowed multiple namespaces per file (Gregory)
2007-12-13 08:57:52 +00:00
Dmitry Stogov
6484b3c458
Fixed bug #43344 (Wrong error message for undefined namespace constant)
2007-12-07 17:11:24 +00:00
Dmitry Stogov
0f59a01e4a
Fixed bug #43332 (self and parent as type hint in namespace)
2007-12-03 14:15:43 +00:00
Marcus Boerger
0846676471
# My editor somehow likes to convert to UTF-8
2007-11-23 13:27:41 +00:00
Marcus Boerger
c0802ee667
- Add another LSB test
2007-11-23 13:25:21 +00:00
Dmitry Stogov
4e0a8a0914
Fixed test
2007-11-22 13:33:36 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00
Dmitry Stogov
1836daf7f9
Fixed bug #43318
...
The "const" statement is still allowed outside of namespaces but arrays are disabled.
2007-11-22 10:46:26 +00:00
Johannes Schlüter
45f6b4ce2f
- MFH Improved version of ternary shortcut (Marcus)
2007-11-21 09:41:35 +00:00
Johannes Schlüter
4a8ed7ab68
- MFH ?: operator (Marcus)
...
[DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as
exists in gcc and discussed some time back. Note that this is not
an implementation ifsetor($var, default). While ifsetor would not
generate any message for non existing variables or array indices
the ternary shortcut does. Also the ternary shortcut does a boolean
evaluation rather then checking for isset(). That way ther ternary
shortcut can work on any expression while ifsetor can only work on
variables. Also to be silent one has do do: "@$expr1 ?: $expr2".
2007-11-21 00:03:16 +00:00
Dmitry Stogov
9f230a0d79
Added support for "namespace::" prefix that is resolved to current namespace name.
2007-11-20 08:53:02 +00:00
Dmitry Stogov
969dda1b51
Fixed tests
2007-11-19 08:19:31 +00:00
Antony Dovgal
714aad97e7
MFH: disallow multiple access modifiers and 'abstract abstract' methods (patch by Etienne Kneuss)
...
add tests
2007-11-13 16:52:14 +00:00
Dmitry Stogov
6d64218bc5
better error messages
2007-11-12 17:52:15 +00:00
Antony Dovgal
52e773740c
MFH: fix error message (reported by Felipe Nascimento)
2007-11-12 16:55:44 +00:00
Dmitry Stogov
a90a0305b0
Fixed bug #43183 ("use" of the same class in difference scripts results in a fatal error)
2007-11-12 15:52:22 +00:00
Dmitry Stogov
dd3c04cea1
Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class).
2007-11-12 09:12:06 +00:00
Johannes Schlüter
18a656de6f
- MFH: static can't be used as type hint, fixes #43126 (Etienne Kneuss)
2007-11-11 22:11:25 +00:00
Dmitry Stogov
4d681d5660
new test
2007-11-09 13:34:58 +00:00
Dmitry Stogov
8646d9afce
Fixed type-hint compatibility check in namespaces
2007-11-09 13:34:39 +00:00
Dmitry Stogov
98b3c247a8
Fixed implementation of internal interfaces in namesapces
2007-11-09 12:15:41 +00:00
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
Jani Taskinen
a541bb8078
- Fix tests
...
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +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
acd9a96010
Fixed bug #43027 (Declare cause fatal error)
2007-11-01 11:58:58 +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
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
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
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
220641af70
Fixed bug #42819 (namespaces in indexes of constant arrays)
2007-10-02 08:26:50 +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
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
Dmitry Stogov
b20ed0d2e0
Added support for __callstatic() magic method. (Sara)
2007-09-29 08:52:40 +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
Ilia Alshanetsky
b26d5f6077
Fixed bug #42767 (highlight_string() truncates trailing comment)
2007-09-26 15:43:58 +00:00
Jani Taskinen
ba144fd417
- Fix test and tuned error message
2007-09-20 14:11:32 +00:00
Antony Dovgal
77951494b7
MFH
2007-09-19 11:25:57 +00:00
Antony Dovgal
90d58d4668
MFH: prohibit arguments by ref in magic methods
2007-08-31 12:36:14 +00:00
Dmitry Stogov
1aab36e3f2
Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the same way as "instanceof" operator).
2007-08-22 13:19:48 +00:00
Dmitry Stogov
ef71664817
Fixed bug #42211 (property_exists() fails to find protected properties from a parent class)
2007-08-08 13:32:46 +00:00
Dmitry Stogov
6aa06fc7fb
Fixed test
2007-08-08 06:42:10 +00:00
Antony Dovgal
fd088beb06
fix test names
2007-08-03 13:50:20 +00:00
Antony Dovgal
00b3df2ad3
fix test
2007-08-02 22:28:06 +00:00
Johannes Schlüter
c0667eeaff
- MFH: Respect value of the parameter for get_loaded_extensions() and only
...
print zend extensions if set to true
2007-08-02 16:54:44 +00:00
Dmitry Stogov
a382ede3e8
Fixed bug #42119 (array_push($arr,&$obj) doesn't work with zend.ze1_compatibility_mode On)
2007-08-01 10:56:45 +00:00
Johannes Schlüter
ebaba40774
- MFH: Add additional param to get_loaded_extensions() for returning Zend
...
extensions (Fixes #41278 ) [DOC]
2007-07-31 22:47:25 +00:00
Dmitry Stogov
786621893e
Improved fix for bug #41633 (self:: doesn't work for constants) to support function define()
2007-07-27 16:29:12 +00:00
Dmitry Stogov
e13b4c2c4e
Fixed bug #40705 (Iterating within function moves original array pointer)
...
Fixed bug #40509 (key() function changed behaviour if global array is used within function)
2007-07-24 19:24:40 +00:00