Commit Graph

406 Commits

Author SHA1 Message Date
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Arnaud Le Blanc
4399c7670f Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:18:57 +00:00
Felipe Pena
5c09594daa - Missing zend_exceptions.h (Kalle) 2009-05-15 17:04:30 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Felipe Pena
d795d49751 - Fixed bug #47593 (interface_exists() returns false when using absolute namespace path)
Patch by Kalle.
2009-03-08 17:23:44 +00:00
Ilia Alshanetsky
d81acb4403 Removed bogus code 2009-03-05 13:45:32 +00:00
Ilia Alshanetsky
788c8bbada MFB: Fixed bug #47549 (get_defined_constants() return array with broken
array categories)
2009-03-03 23:43:06 +00:00
Felipe Pena
1e5aff9522 - Fixed bug #47054 (BC break in static functions called as dynamic) 2009-01-10 19:14:27 +00:00
Marcus Boerger
d5244ef11e - Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:05 +00:00
Marcus Boerger
4f30873ef1 - Move stdClass registering where it should be 2008-12-31 12:24:56 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
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
Johannes Schlüter
35de188ad3 Fix #46813 (class_exists doesn`t work with fully qualified namespace) 2008-12-09 19:16:22 +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
Felipe Pena
983eab9565 - Fixed strlen function entry (missing arginfo struct size, thanks Philip!) 2008-11-16 00:44:01 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +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
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
Marcus Boerger
aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Moriyoshi Koizumi
6e18e49861 - Suppress signedness warnings. 2008-07-24 20:44:10 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Hannes Magnusson
5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Felipe Pena
5e7ddbdeef MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-06 05:03:46 +00:00
Antony Dovgal
a96cf2b175 fix crash in define() 2008-07-01 09:17:43 +00:00
Antony Dovgal
5389a44a05 int -> long 2008-07-01 07:21:24 +00:00
Stanislav Malyshev
ab8e8b75f1 convert all built-in functions to new API 2008-06-30 21:05:06 +00:00
Felipe Pena
8f7f5c7d57 - MFB: Removed E_DEPRECATED on is_a()
(http://marc.info/?l=php-internals&m=121390431523970&w=2)
2008-06-25 22:37:14 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Dmitry Stogov
1e2676070d Added API to use namesapces in internal extensions 2008-05-12 07:13:47 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Felipe Pena
0fde623f16 New way for check void parameters 2008-03-04 23:09:02 +00:00
Felipe Pena
8e08965be6 Added new macro for check void parameters.
(deprecating ZEND_WRONG_PARAM_COUNT for this cases)
2008-02-28 13:30:43 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Dmitry Stogov
97cecfbabe Fixed bug #43483 (get_class_methods() does not list all visible methods) 2008-02-21 15:14:38 +00:00
Dmitry Stogov
58da2d5d1e Fixed memory leaks 2008-02-19 16:39:34 +00:00
Dmitry Stogov
5aad816721 Unicode support 2008-01-29 12:08:42 +00:00
Dmitry Stogov
306369985b Fixed compilation warnings 2008-01-24 18:08:06 +00:00
Sara Golemon
8219ca044f Flag unicode safe functions 2008-01-24 09:44:28 +00:00
Dmitry Stogov
2971e13836 Changed EG(argument_stack) implementation. 2008-01-24 09:41:48 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Sara Golemon
4be8bc52bd Flag safe func 2008-01-21 06:36:58 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00