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
Dmitry Stogov
fb3c73daef
Fixed bug #48004 (Error handler prevents creation of default object)
2009-04-21 08:12:07 +00:00
Hannes Magnusson
0829cb89ee
MFH: Fixed bug#47981 (error handler not called regardless)
2009-04-16 13:48:01 +00:00
Felipe Pena
9472026f12
- Added test
2009-04-08 00:28:39 +00:00
Dmitry Stogov
82b86c1c38
Bug #47880 (crashes in call_user_func_array())
2009-04-06 11:10:32 +00:00
Arnaud Le Blanc
13061cf0a0
Removed deprecation warning for ticks
2009-03-27 02:32:57 +00:00
Dmitry Stogov
f2b7adffb5
Fixed bug #47596 (Bus error on parsing file)
2009-03-26 17:28:49 +00:00
Dmitry Stogov
7ef3db0e4e
Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote)
2009-03-26 12:37:54 +00:00
Dmitry Stogov
da9405de72
Fixed bug #47714 (autoloading classes inside exception_handler leads to crashes)
2009-03-26 10:56:45 +00:00
Dmitry Stogov
ab7f6d88e0
Fixed bug #47771 (Exception during object construction from arg call calls object's destructor)
2009-03-26 10:17:30 +00:00
Dmitry Stogov
4a4d739e49
Fixed bug #47699 (autoload and late static binding)
2009-03-25 10:39:26 +00:00
Matt Wilmas
56ee50ac62
MFH: Fixed test on 64-bit
2009-03-18 16:30:21 +00:00
Dmitry Stogov
ff5620524c
Fixed bug #47704 (crashes on some "bad" operations with string offsets)
...
Removed unnecessary checks
2009-03-18 12:53:17 +00:00
Matt Wilmas
6bb0ac9712
MFH: Fixed bug #45877 (Array key '2147483647' left as string)
2009-03-18 01:08:12 +00:00
Pierre Joye
bd1e5696d1
- make it less(er) sensible to bison version
2009-03-17 16:02:00 +00:00
Pierre Joye
ef5c2c83dc
- make it less sensible to bison version
2009-03-17 15:59:24 +00:00
Dmitry Stogov
cc91da1bd7
Fixed bug #47664 (get_class returns NULL instead of FALSE)
2009-03-16 09:51:32 +00:00
Felipe Pena
1c3b44b320
- MFH: Fixed bug #47593 (interface_exists() returns false when using absolute namespace path)
...
patch by Kalle
- BFN #47572
2009-03-08 17:28:39 +00:00
Felipe Pena
c43b935b65
- MFH: Fixed bug #47572 (zval_update_constant_ex: Segmentation fault)
2009-03-05 16:25:43 +00:00
Dmitry Stogov
db63e29ab3
Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
2009-02-18 12:02:53 +00:00
Zoe Slattery
d980c018d4
fix test
2009-02-17 20:23:45 +00:00
Antony Dovgal
76398ae804
add test
2009-02-11 10:02:11 +00:00
Dmitry Stogov
c277ebc6c8
Fixed bug #47320 ($php_errormsg out of scope in functions)
2009-02-09 09:20:35 +00:00
Dmitry Stogov
c13177f182
Better fix for #47341
2009-02-09 08:55:23 +00:00
Derick Rethans
2a1ff72729
- MFH: Fixed bug #47341 : Calling gc_collect_cycles() with zend.enable_gc=0
...
causes segfault.
2009-02-08 19:36:33 +00:00
Christian Seiler
c6d89bd4a8
[DOC] Remove $this support in closures for PHP 5.3 beta 1
...
- Implementation notes here:
http://wiki.php.net/rfc/closures/removal-of-this
2009-01-26 22:54:34 +00:00
Dmitry Stogov
666bf10d1a
Removed wrong warning message
2009-01-20 13:21:52 +00:00
Dmitry Stogov
d1958eeea8
Fixed bug #47165 (Possible memory corruption when passing return value by reference)
2009-01-20 11:22:45 +00:00
Dmitry Stogov
8075f2e4b7
Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
2009-01-15 08:48:58 +00:00
Dmitry Stogov
312176f083
Reverted "Rebind closure when binding to property"
2009-01-14 10:28:22 +00:00
Felipe Pena
5c654e617f
- Fixed test
2009-01-13 20:15:59 +00:00
Andrei Zmievski
440c8c9cb1
Add test
2009-01-13 18:08:25 +00:00
Stanislav Malyshev
e2ad4e0178
fix #46304 : Defining namespaced constant using define() uses case sensitive match for namespace
2009-01-12 21:54:37 +00:00
Felipe Pena
23f7fa57fe
- MFH: Fixed bug #47054 (BC break in static functions called as dynamic)
2009-01-10 19:15:42 +00:00
Felipe Pena
06aa1da0cd
- MFH: Fixed test (patch by Timm Friebe [thekid@php])
2009-01-10 17:07:09 +00:00
Andrei Zmievski
93adc26ed7
Add test for last commit.
2009-01-07 22:35:51 +00:00
Felipe Pena
f8689552a4
MFH:
...
- Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-05 20:31:54 +00:00
Marcus Boerger
8e741674af
- MFH - Set scope when copying a closure with a new this pointer.
2009-01-04 14:23:29 +00:00
Marcus Boerger
4651b7f635
- MFH Overlooked one instance number
2009-01-03 18:50:56 +00:00
Marcus Boerger
b7bb8034b5
- MFH Fix refcounting
2009-01-03 18:22:20 +00:00
Marcus Boerger
0e131653c1
- MFH Rebind closure when binding to property
2009-01-03 17:48:40 +00:00
Marcus Boerger
480fccce37
- MFH Add var_dump support for closures
2009-01-01 16:22:44 +00:00
Zoe Slattery
455b551314
removing xfail sections as test passes
2008-12-31 20:45:04 +00:00
Zoe Slattery
380214bedb
removing xfail sections as test passes
2008-12-31 20:21:00 +00:00
Johannes Schlüter
e23b2b3fa5
MFH (Use the same test fiel as in HEAD)
2008-12-13 22:23:29 +00:00
Antony Dovgal
f090e83eaf
fix test
2008-12-12 12:14:00 +00:00
Antony Dovgal
4df574285a
MFH
2008-12-11 10:58:56 +00:00
Johannes Schlüter
d828b8acc0
MFH: Fix #46813 (class_exists doesn`t work with fully qualified namespace)
2008-12-09 19:17:11 +00:00
Hannes Magnusson
a2f63f583b
Fixed bug#46811 ini_set() doesn't return false on failure
2008-12-09 10:11:21 +00:00
Christian Seiler
04c528609a
- MFH: Changed floating point behaviour to consistently use double precision
...
on all platforms and with all compilers.
2008-12-02 16:19:10 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Felipe Pena
1f89cd329f
- New test
2008-11-26 10:17:01 +00:00
Dmitry Stogov
ea45b713c8
Added support for namespaces with brackets. (Greg)
2008-11-25 09:56:32 +00:00
Arnaud Le Blanc
a23d168531
MFH: Fixed bug #46649 (Setting array element with that same array produces
...
inconsistent results)
2008-11-23 20:35:16 +00:00
Etienne Kneuss
3919b16f04
MFH: Fix #46241 (stacked error_handlers, error_handling in general)
2008-11-19 02:00:53 +00:00
Stanislav Malyshev
4cb8b8ba40
Improve use syntax
...
[DOC] use \foo\bar is the same as use foo\bar
2008-11-17 18:00:44 +00:00
Stanislav Malyshev
1b4134c07b
Namespace resolution streamlining patch
...
[DOC] new resolution rules should be documented soon
2008-11-11 19:45:29 +00:00
Stanislav Malyshev
caa133b3d3
some new tests
2008-11-11 19:44:16 +00:00
Felipe Pena
9b894e6e62
- Fixed bug #46546 (Segmentation fault when using declare statement with non-string value)
...
# This issue only happens in this branch
2008-11-11 16:15:53 +00:00
Felipe Pena
4680f6ab3d
- Fixed tests (thanks Timm)
2008-11-10 15:07:26 +00:00
Felipe Pena
7368bfce56
- New tests
2008-11-10 11:39:57 +00:00
Felipe Pena
358ecee529
- Fixed tests
2008-11-04 17:50:30 +00:00
Marcus Boerger
7126de4912
- Next step in namespaces, using / as namespace separator.
2008-11-04 15:58:55 +00:00
Marcus Boerger
4f04fdc735
- MFH Fix test
2008-11-04 11:12:23 +00:00
Johannes Schlüter
850f9567b8
MFH: Use a better function name for closure related errors and debug_backtrace()
2008-11-03 19:28:32 +00:00
Felix De Vliegher
d90dfe7dbf
MFH: XFAIL test for bug #46196 on restore_error_handler().
2008-11-02 20:15:46 +00:00