Commit Graph

666 Commits

Author SHA1 Message Date
Felipe Pena
c302509726 - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register) 2010-03-03 00:15:34 +00:00
Felipe Pena
79f618833f - Fixed bug #51176 (Static calling in non-static method behaves like $this->) 2010-03-02 00:16:40 +00:00
Etienne Kneuss
18f8fa7ba3 Fix tests 2010-02-02 13:08:11 +00:00
Etienne Kneuss
cca05f1403 Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted in both orders) 2010-02-01 13:45:57 +00:00
Ilia Alshanetsky
db8a6974fb Added test case for bug #44827 2010-01-25 13:08:43 +00:00
Felipe Pena
e83e52eba1 - New tests 2009-12-20 22:04:55 +00:00
Stanislav Malyshev
fc1e17ee76 fix regression bug #50394: Reference argument converted to value in __call 2009-12-18 19:12:11 +00:00
Dmitry Stogov
6ab5f53d52 Fixed bug #49866 (Making reference on string offsets crashes PHP) 2009-12-07 08:47:18 +00:00
Felipe Pena
7914d298b4 - Fixed bug #49472 (Constants defined in Interfaces can be overridden) 2009-12-03 12:34:50 +00:00
Jani Taskinen
50a24392e9 - Fix tests assuming wrong ini options and extensions that might not be there 2009-11-30 20:31:52 +00:00
Felipe Pena
bb179ad150 - Fixed bug #50255 (isset() and empty() silently casts array to object) 2009-11-24 21:54:12 +00:00
Felipe Pena
a83156d5c1 - Added test for bug #50261 2009-11-23 23:07:07 +00:00
Felipe Pena
fa2bb07a47 - Fixed bug #50174 (Incorrectly matched docComment) 2009-11-14 19:17:22 +00:00
Felipe Pena
8f0a451747 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Felipe Pena
dcf91e6266 - Fixed bug #50146 (property_exists: Closure object cannot have properties) 2009-11-11 18:59:37 +00:00
Rasmus Lerdorf
95a522a72c Fix bug #50124 2009-11-09 15:13:07 +00:00
Felipe Pena
779ce8fd00 - Fixed bug #49908 (throwing exception in __autoload crashes when interface is not defined) 2009-11-01 21:26:03 +00:00
Dmitry Stogov
acc71e71bc Fixed tests 2009-09-21 08:28:53 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Stanislav Malyshev
d6ba6c69fb fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Dmitry Stogov
f694c09a35 Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:40:43 +00:00
Etienne Kneuss
4881a9cff4 Fix endless recursion of var_dump() over self-referencing closures 2009-08-10 15:18:13 +00:00
Dmitry Stogov
ff766c1de2 Fixed bug #48912 (Namespace causes unexpected strict behaviour with extract()) 2009-07-28 12:35:27 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Felipe Pena
0c9a16ffb7 - New tests 2009-07-19 16:31:43 +00:00
Felipe Pena
91841e0987 - New test 2009-07-19 03:36:46 +00:00
Felipe Pena
d49b4fa597 - Tests related to bug #48770 2009-07-19 03:25:49 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Zoe Slattery
29b557ae61 fix tests 2009-07-17 08:18:27 +00:00
Felipe Pena
bffd08072c - MFH: Fixed bug #48899 (is_callable returns true even if method does not exist in parent class) 2009-07-15 01:11:24 +00:00
David Soria Parra
8af2635eab MFH: Adjust tests. The order in which notices appear is platform dependend as the function call ordering in parameter lists is not defined in C. 2009-07-07 12:11:53 +00:00
andy wharmby
6e96ae79a3 Fix test 2009-07-06 19:35:01 +00:00
Felipe Pena
aafaa9c019 - New test 2009-06-30 11:37:42 +00:00
Scott MacVicar
d976be4bda Make the check case sensitive, and since we can only have a constructor that matches the class name or is __construct
its probably safe to just check for __. This means we can skip lowering the function_name, which is hard to be binary
safe sine we don't store the length.

If we just did a zend_hash_exists lookup we'd be fine since its stored lowercased already :)
2009-06-19 03:29:47 +00:00
Scott MacVicar
8e3aebd550 Fix bug #48215 - Calling a method with the same name as the parent class calls the constructor instead. 2009-06-18 13:46:16 +00:00
andy wharmby
ceca4f3615 Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:16 +00:00
Felipe Pena
5f8ca6da95 MFH: Fixed bug #48533 (__callStatic is not invoked for private/protected methods) 2009-06-12 01:05:25 +00:00
Matt Wilmas
dca18b68d1 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Matt Wilmas
2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Matt Wilmas
26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Jani Taskinen
c7172ee172 fix test 2009-06-02 08:03:07 +00:00
Arnaud Le Blanc
a197c0b751 MFH: New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.
2009-06-01 16:10:35 +00:00
Pierre Joye
469d4938fc - MF52: #42143, the constant NAN is reported as 0 on Windows 2009-05-29 08:11:36 +00:00
Arnaud Le Blanc
b33c51693b MFH: Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:19:30 +00:00
Zoe Slattery
e5348b9152 Removing redundant UEXPECT 2009-05-18 19:16:30 +00:00
Felipe Pena
db1eafa8d0 - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get) 2009-05-12 22:55:05 +00:00
Felipe Pena
4f068cc23b - MFH: Fix code && new test 2009-05-11 15:03:47 +00:00
Felipe Pena
a2516cd273 - Missing title 2009-05-07 12:15:40 +00:00
Felipe Pena
dcfe5d7140 - MFH: Parameter parsing changes for get_defined_constants() (Kalle) 2009-05-07 12:08:09 +00:00
Zoe Slattery
56e61fb2a5 Fixed tests - thanks mgdm 2009-05-05 13:53:11 +00:00