Commit Graph

5691 Commits

Author SHA1 Message Date
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
Stanislav Malyshev
16dc391f1f cleanup from ::->\ change 2008-11-26 00:57:05 +00:00
Stanislav Malyshev
2016a84cae cleanup 2008-11-25 22:15:22 +00:00
Felipe Pena
8f32490ca3 - Fixed bug #46665 (Triggering autoload with a variable classname causes truncated autoload param) 2008-11-25 21:14:23 +00:00
Dmitry Stogov
ea45b713c8 Added support for namespaces with brackets. (Greg) 2008-11-25 09:56:32 +00:00
Stanislav Malyshev
fce39ed9f7 add object-compatible array modes 2008-11-24 18:10:36 +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
Felipe Pena
d41c3506f6 - MFH: Added ZEND_FETCH_RESOURCE_NO_RETURN 2008-11-20 14:47:55 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Felipe Pena
34742e3f13 MFH:
- Changed 'strlen' to use ZEND_FUNCTION(strlen)
- Removed duplicated arginfo structs
2008-11-17 22:21:55 +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
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
96ab6ace7c - MFH: Fixed strlen function entry (missing arginfo struct size, thanks Philip!) 2008-11-16 00:45:03 +00:00
Antony Dovgal
512b812761 make sure the slash is actually thre before reading past it 2008-11-12 09:05:48 +00:00
Stanislav Malyshev
a51bbb2754 fix potential crash in zend_do_assign due to opcodes realloc 2008-11-12 00:44:56 +00:00
Stanislav Malyshev
6ebc2b21f1 fix crash - using old opline after realloc 2008-11-12 00:23:21 +00:00
Ilia Alshanetsky
681515b3df Removed unused vars 2008-11-12 00:10:24 +00:00
Stanislav Malyshev
3cd19b8ecb fix memleak 2008-11-11 21:11:24 +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
9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Felipe Pena
4680f6ab3d - Fixed tests (thanks Timm) 2008-11-10 15:07:26 +00:00
Derick Rethans
cb448dca05 - Make it work with bison 2.4. 2008-11-10 12:05:28 +00:00
Felipe Pena
7368bfce56 - New tests 2008-11-10 11:39:57 +00:00
Antony Dovgal
f26f2c0961 fix more invalid reads 2008-11-08 11:00:23 +00:00
Antony Dovgal
57b9a6449a fix typo causing invalid reads 2008-11-07 10:51:26 +00:00
Arnaud Le Blanc
bc569c56a6 sync zend_ini_scanner.c 2008-11-05 21:36:11 +00:00
Arnaud Le Blanc
2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Felipe Pena
2f26deb0e0 - Fixed Windows build 2008-11-05 11:00:38 +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
Arnaud Le Blanc
e47e0828f6 sync zend_ini_scanner.c 2008-11-02 23:36:53 +00:00
Arnaud Le Blanc
b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felix De Vliegher
d90dfe7dbf MFH: XFAIL test for bug #46196 on restore_error_handler(). 2008-11-02 20:15:46 +00:00
Dmitry Stogov
8107a8f121 Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:20 +00:00
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