Commit Graph

6818 Commits

Author SHA1 Message Date
Marcus Boerger
16e60294d8 - Provide a core module that contains all Zend and php/main stuff but stdClass 2008-12-30 20:14:58 +00:00
Hannes Magnusson
3d0ac70f18 MFB5.3: Fix error_reporting arginfo and proto 2008-12-30 19:00:37 +00:00
Marcus Boerger
6e29350fb8 Use a module struct for the built-in functions 2008-12-30 18:17:28 +00:00
0ad3511ce4 ChangeLog update 2008-12-25 01:32:48 +00:00
Scott MacVicar
b80786d066 Fix bug #45991 - UTF-8 BOM breaks ini parser 2008-12-24 13:46:59 +00:00
037743fc3e ChangeLog update 2008-12-23 01:32:35 +00:00
Etienne Kneuss
4e5c7990ce Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 13:50:43 +00:00
391de29f70 ChangeLog update 2008-12-16 01:32:18 +00:00
Stanislav Malyshev
579209d731 initialize op2 2008-12-15 11:31:56 +00:00
a99fc291e4 ChangeLog update 2008-12-14 01:32:39 +00:00
Johannes Schlüter
3c58e71e74 Fix test 2008-12-13 22:22:40 +00:00
fa4d1caf50 ChangeLog update 2008-12-13 01:34:10 +00:00
20909366f9 ChangeLog update 2008-12-12 01:32:56 +00:00
Antony Dovgal
2cadc421ae rename .php to .inc
all .php files are deleted on `make clean`
2008-12-11 10:58:14 +00:00
89ba681ba3 ChangeLog update 2008-12-10 01:33:21 +00:00
Johannes Schlüter
35de188ad3 Fix #46813 (class_exists doesn`t work with fully qualified namespace) 2008-12-09 19:16:22 +00:00
Hannes Magnusson
6eb36e683f Fixed bug#46811 ini_set() doesn't return false on failure 2008-12-09 10:08:15 +00:00
a6f8a2428e ChangeLog update 2008-12-05 01:32:37 +00:00
Stanislav Malyshev
636b2c9a6f MF5: Merge namespaces changes 2008-12-04 20:12:30 +00:00
Felipe Pena
1b893ea4bc - Fixed bug #46749 (Crash when repeatedly attempting to assign to property of non-object) 2008-12-04 15:50:48 +00:00
e185e23390 ChangeLog update 2008-12-03 01:32:38 +00:00
Christian Seiler
8ac82de068 - Fixed autoconf 2.13 issues with FP checks. 2008-12-02 21:06:33 +00:00
Christian Seiler
694771f14c - Fixed comment style. 2008-12-02 16:17:44 +00:00
Christian Seiler
2230e803d2 - Changed floating point behaviour to consistently use double precision on
all platforms and with all compilers.
2008-12-02 16:03:30 +00:00
18237ba8e3 ChangeLog update 2008-11-28 01:32:28 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
add52dbc38 ChangeLog update 2008-11-27 01:32:24 +00:00
Felipe Pena
36e7442c2f - New test 2008-11-26 10:16:30 +00:00
eadaffad27 ChangeLog update 2008-11-26 01:32:21 +00:00
Stanislav Malyshev
3a54f031e4 cleanup 2008-11-25 22:23:28 +00:00
20e2c0b8fe ChangeLog update 2008-11-25 01:32:38 +00:00
Stanislav Malyshev
04c165274a add object-compatible array parameters 2008-11-24 19:17:24 +00:00
6487a1b0ce ChangeLog update 2008-11-24 01:32:23 +00:00
Arnaud Le Blanc
9e3d2e3655 Fixed bug #46649 (Setting array element with that same array produces
inconsistent results)
2008-11-23 20:34:40 +00:00
b2438596aa ChangeLog update 2008-11-21 01:32:11 +00:00
Felipe Pena
85d06e4585 - Added ZEND_FETCH_RESOURCE_NO_RETURN 2008-11-20 14:47:04 +00:00
91d70cce20 ChangeLog update 2008-11-20 01:32:19 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
c937eca3dd ChangeLog update 2008-11-18 01:32:11 +00:00
Felipe Pena
1acef6ff72 - Changed 'strlen' to use ZEND_FUNCTION(strlen)
- Removed duplicated arginfo structs
2008-11-17 22:15:13 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
cbfbdabbff ChangeLog update 2008-11-17 01:32:31 +00:00
Felipe Pena
983eab9565 - Fixed strlen function entry (missing arginfo struct size, thanks Philip!) 2008-11-16 00:44:01 +00:00
3d7986ce1d ChangeLog update 2008-11-13 01:32:14 +00:00
294d51d7a9 ChangeLog update 2008-11-12 01:32:32 +00:00
Felipe Pena
539536fb3c - New test 2008-11-11 16:12:18 +00:00
Felipe Pena
08aad5f7f7 - 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:26:26 +00:00
3358613c4b ChangeLog update 2008-11-11 01:32:21 +00:00
Felipe Pena
cd092a8287 - Fixed tests (thanks Timm) 2008-11-10 15:07:09 +00:00
Derick Rethans
304749881e - Make it work with bison 2.4. 2008-11-10 12:05:49 +00:00
Felipe Pena
004f58e252 - New tests 2008-11-10 11:39:35 +00:00
2177a39bdf ChangeLog update 2008-11-09 01:32:26 +00:00
7c4e2154c9 ChangeLog update 2008-11-08 01:33:12 +00:00
174ffefaf4 ChangeLog update 2008-11-06 01:32:19 +00:00
Arnaud Le Blanc
fbe5ef781e sync zend_ini_scanner.c 2008-11-05 21:35:38 +00:00
Arnaud Le Blanc
c0039b30be 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:33:19 +00:00
adc045c4cf ChangeLog update 2008-11-05 01:32:06 +00:00
Marcus Boerger
9cb71e98b7 - Fix test 2008-11-04 11:12:04 +00:00
64414b2168 ChangeLog update 2008-11-04 01:32:22 +00:00
Johannes Schlüter
23e04b542c Use a better function name for closure related errors and debug_backtrace() 2008-11-03 19:27:48 +00:00
780e30d0cc ChangeLog update 2008-11-03 01:32:13 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felix De Vliegher
96ebf1280f XFAIL test for bug #46196 on restore_error_handler(). 2008-11-02 20:15:15 +00:00
13a66a812c ChangeLog update 2008-11-01 01:32:27 +00:00
75e175180c ChangeLog update 2008-10-31 01:32:27 +00:00
Dmitry Stogov
29f9a49f1c Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:31 +00:00
1db60254f8 ChangeLog update 2008-10-28 01:33:45 +00:00
Arnaud Le Blanc
1ee42ce545 Fix compile error 2008-10-27 14:58:28 +00:00
a02510a5e0 ChangeLog update 2008-10-25 01:32:20 +00:00
Antony Dovgal
5e8f3f5b6f add test 2008-10-24 20:17:50 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
c4effa74dc ChangeLog update 2008-10-23 01:32:42 +00:00
045181f57c ChangeLog update 2008-10-20 01:32:02 +00:00
2d07569c92 ChangeLog update 2008-10-18 01:32:10 +00:00
Dmitry Stogov
f870cd8589 Fixed bug #46308 (Invalid write when changing property from inside getter) 2008-10-17 10:26:16 +00:00
ffe9c50bf5 ChangeLog update 2008-10-11 01:32:12 +00:00
Dmitry Stogov
a54d8e5d08 Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method()) 2008-10-10 15:19:22 +00:00
959a00b4c7 ChangeLog update 2008-10-07 01:32:15 +00:00
Felipe Pena
0d4b0f20f9 - Fixed bug #46238 (Segmentation fault on static call with empty string method) 2008-10-06 00:35:20 +00:00
4543e8fecf ChangeLog update 2008-10-03 01:31:55 +00:00
Etienne Kneuss
ee9cbc9fed Use enum alternative instead of explicit value 2008-10-02 19:53:48 +00:00
977ba3986e ChangeLog update 2008-10-02 01:32:08 +00:00
Antony Dovgal
e632946e9b initialize variable 2008-10-01 14:30:50 +00:00
c2d0e7bdb2 ChangeLog update 2008-09-24 01:31:56 +00:00
Nuno Lopes
2c49010756 MFB: clean some dead code 2008-09-23 15:22:05 +00:00
2bab9d8018 ChangeLog update 2008-09-18 01:31:59 +00:00
Dmitry Stogov
a28485ccf5 Fixed bug #46106 (Memory leaks when using global statement) 2008-09-17 15:11:40 +00:00
Dmitry Stogov
d083b068ce Fixed possible crash because of overriden error handler 2008-09-17 13:10:08 +00:00
cee1c9d831 ChangeLog update 2008-09-16 01:32:06 +00:00
Dmitry Stogov
f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Etienne Kneuss
4396e6ec11 Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:15 +00:00
2b03cd7320 ChangeLog update 2008-09-15 01:32:02 +00:00
Arnaud Le Blanc
374723d056 MFB "Disabled $GLOBALS' refcount modification" 2008-09-14 15:20:16 +00:00
c414bdd2e6 ChangeLog update 2008-09-12 01:32:09 +00:00
5ecafdc83b ChangeLog update 2008-09-11 01:32:13 +00:00
Stanislav Malyshev
8f5fd5db1e update scanner files 2008-09-11 00:49:31 +00:00
Stanislav Malyshev
0eafa6b080 MF5: Fix BC issue with ini scanner.
# Now in "": \LETTER is literal, \" is escaped ", value ending with \" is literal
2008-09-11 00:49:18 +00:00
Arnaud Le Blanc
470a396f65 Fixed #45928 (large scripts from stdin are stripped at 16K border) 2008-09-10 10:15:58 +00:00
afe10cb3ea ChangeLog update 2008-09-07 01:32:04 +00:00
Arnaud Le Blanc
08ec0b3146 Ported rfc1867 hooks to HEAD 2008-09-06 08:27:38 +00:00
d839777672 ChangeLog update 2008-08-30 01:31:58 +00:00
Matt Wilmas
f41d6dba1d - Updated unary_op_type typedef with TSRMLS_DC
- Added binary_op_type typedef
- Added missing ZEND_BOOL_XOR to get_binary_op()
2008-08-29 18:12:15 +00:00
Matt Wilmas
58b494d845 - Saved opcode when unary +/- is applied to IS_CONST op (e.g. for negative numbers)
- Made '+' in static_scalar context behave as '-' by calling add_function(), so:
    static $a = +'abc'; // 0 instead of abc
    static $b = +array(); // "Invalid operand types," like -array(), instead of array()
2008-08-29 17:50:15 +00:00
Dmitry Stogov
a61fe7d8d4 Imporoved compile-time constant substitution (Matt) 2008-08-29 10:17:23 +00:00
3a412d36da ChangeLog update 2008-08-27 01:32:47 +00:00
Dmitry Stogov
1c683b2f0a Fixed bug #45910 (Cannot declare self-referencing constant) 2008-08-26 08:38:15 +00:00
a7e211af25 ChangeLog update 2008-08-26 01:32:49 +00:00
Felipe Pena
558f8cda51 - New test 2008-08-25 19:55:36 +00:00
Felipe Pena
5fb9a8e794 - New tests 2008-08-25 19:35:10 +00:00
136078c50f ChangeLog update 2008-08-25 01:34:25 +00:00
Etienne Kneuss
b48e65f5bf - Fix the order, and avoid overwriting when implementing Serializable 2008-08-24 18:20:03 +00:00
Etienne Kneuss
74afa13d16 - Export zend_user_(un)serialize functions to be used by custom callbacks
- Transfer custom (un)serialize callbacks through inheritance
2008-08-24 17:01:22 +00:00
Marcus Boerger
3110bffd16 - Fix issue with destruction of overloaded objects
# The issue is that we assume default object handlers when calling method
# __destruct(). Now the default handlers might not be compatible with the
# correct handlers which would result in crashes or they simply do cannot
# support everything the object was supposed to do. The latter case will be
# demonstrated in ext/spl/tests/iterator_068.phpt.
2008-08-24 16:45:50 +00:00
ccd6b32583 ChangeLog update 2008-08-23 01:32:18 +00:00
Felipe Pena
7de23da81e - Removed unused arguments 2008-08-22 15:51:50 +00:00
Dmitry Stogov
cc3bcae90b Removed redundant code 2008-08-22 15:27:37 +00:00
Antony Dovgal
dcb76bf143 fix zend_register_functions() not displaying duplicate functions (reported by Gopal) 2008-08-22 14:51:19 +00:00
Felipe Pena
1819b9dbea - New tests 2008-08-22 13:38:57 +00:00
dd3bb67bdc ChangeLog update 2008-08-22 01:32:33 +00:00
Felipe Pena
65cc4f2e86 - Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 00:54:00 +00:00
Dmitry Stogov
f616e11881 Fixed destruction of dl() loaded extensions 2008-08-21 16:21:27 +00:00
9da7016d17 ChangeLog update 2008-08-21 01:32:31 +00:00
Antony Dovgal
b2b4b308b1 initialize variable and fix WS 2008-08-20 13:46:29 +00:00
7b3cd48426 ChangeLog update 2008-08-19 01:32:14 +00:00
Felipe Pena
c013b39009 - New tests 2008-08-18 17:45:19 +00:00
Felipe Pena
3efdd8b69b - Fixed bug #45743 (property_exists fails to find static protected member in child class)
In general, now property_exists() behave like method_exists() (ie. independs of context/visibibility)
2008-08-18 17:40:14 +00:00
c25934075e ChangeLog update 2008-08-18 01:33:07 +00:00
Arnaud Le Blanc
91fbaab374 generated zend_ini_scanner.c 2008-08-17 21:54:27 +00:00
Arnaud Le Blanc
c9789b9eb3 Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:51:36 +00:00
Arnaud Le Blanc
f093167ece Fixed #45384 (parse_ini_file will result in parse error with no trailing
newline)
2008-08-17 20:57:34 +00:00
9e4719cdc6 ChangeLog update 2008-08-16 01:32:32 +00:00
Felipe Pena
2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
9d76bd22da ChangeLog update 2008-08-15 01:32:36 +00:00
Jani Taskinen
9f2e4ea6f7 add skipif (yes, reflection CAN be disabled still..) 2008-08-14 22:51:15 +00:00
Etienne Kneuss
6423606a63 Handlerify get_closure 2008-08-14 21:26:05 +00:00
Felipe Pena
7670379aec - Fixed crash (reported by Lupus Michaelis) 2008-08-14 19:11:42 +00:00
Marcus Boerger
75b08f4adf - Improved exception linking 2008-08-14 10:06:39 +00:00
7e0b568fab ChangeLog update 2008-08-14 01:32:26 +00:00
Felipe Pena
66dab83834 - Fix build 2008-08-13 16:19:28 +00:00
Dmitry Stogov
bb735ab305 Regenerate scanner 2008-08-13 07:33:19 +00:00
Dmitry Stogov
f83076cf4b Fixed bug #45805 (Crach on throwing exception from error handler) 2008-08-13 07:22:40 +00:00
Dmitry Stogov
bb15ca0a56 Fixed bug #45779 (regression with shebang lines processing) 2008-08-13 06:17:15 +00:00
a269179112 ChangeLog update 2008-08-13 01:32:19 +00:00
Nuno Lopes
a99fad3b16 MFB: move empty_fcall_info* to const table 2008-08-12 21:52:54 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Marcus Boerger
5506e024d4 - Add new test 2008-08-12 11:51:34 +00:00
Marcus Boerger
aa87beaded - Add new test 2008-08-12 11:23:40 +00:00
Marcus Boerger
548076ad1c - Add missing ';'s 2008-08-12 10:22:57 +00:00
Marcus Boerger
d83d6588f4 - Update .c after .l change 2008-08-12 09:56:42 +00:00
Marcus Boerger
e37b9e7b6d - Fix warning 2008-08-12 09:39:39 +00:00