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
Jani Taskinen
8503b66cb6
CS
2009-07-17 11:49:50 +00:00
Zoe Slattery
29b557ae61
fix tests
2009-07-17 08:18:27 +00:00
Stanislav Malyshev
326cb1bb0f
fix memleak
2009-07-17 00:48:59 +00:00
Jani Taskinen
ecdd8ebbb9
MFH
2009-07-16 12:25:17 +00:00
Stanislav Malyshev
67f846c4c3
fix ini_restore problem
2009-07-16 00:02:19 +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
0391dea5be
MFH: Fix date warning by setting the default timezone to UTC
2009-07-13 23:56:38 +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
Felipe Pena
5a8169902a
- MFH: Fixed bug #48709 (metaphone and 'wh')
2009-06-30 11:34:31 +00:00
Pierre Joye
25c47a2522
- MF52: calloc must actually clear the requested size (Andrei)
2009-06-28 09:48:48 +00:00
Johannes Schlüter
4b4283bdc0
Bump version to 5.3.0 and API Nos. up
2009-06-26 15:44:19 +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
Rasmus Lerdorf
a7cc9e7274
Need the gcc version check here too
2009-06-17 08:55:23 +00:00
Rasmus Lerdorf
f90425316a
Tweak to make this compile with gcc2
2009-06-16 16:10:15 +00:00
Felipe Pena
f9bb99055e
- MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>
2009-06-16 14:33:33 +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
2cb9fe1f89
- Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function()
2009-06-12 21:36:53 +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
Pierre Joye
ba79cd5a23
- fix build (void alarm)
2009-06-09 09:26:02 +00:00
Pierre Joye
c59a4a0173
- typo
2009-06-08 21:27:05 +00:00
Ilia Alshanetsky
5289261baa
Fixed bug #44827 (define() is missing error checks for class constants)
2009-06-08 01:26:03 +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
Brian Shire
cb7a21a42b
MFH: Make pass_two visible to extensions with ZEND_API (required for optimizer).
2009-06-05 23:20:59 +00:00
Rasmus Lerdorf
04f5d7c909
There is no always_inline attribute in gcc2
2009-06-05 22:14:21 +00:00
Matt Wilmas
d55300298e
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
2009-06-05 18:50:32 +00:00
Arnaud Le Blanc
85b9327836
MFH: better fix for #48409 , #48428 , #48228
2009-06-05 11:21:31 +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
Matt Wilmas
b907aa4331
MFH:
...
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
* Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
* See bug #42868 (presumably-rare platform with different results in 5.2)
* On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
otherwise it's the same as 5.2
* Use this conversion method everywhere instead of some plain (long) casts
Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
* Essentially what 5.3's new conversion was doing in most cases
* Functions with "limit" or "length" type params could be updated to use this,
and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
- See bug #47854 , for example; or even #42868 again
# Test updates coming
2009-06-04 18:20:45 +00:00
Jani Taskinen
c7172ee172
fix test
2009-06-02 08:03:07 +00:00
Nuno Lopes
95ef46c034
fix compiler warnings by moving all std includes after include of zend_config.h.
...
this also fixes the build with stricter compilers than gcc (like clang)
2009-06-01 17:51:53 +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
Arnaud Le Blanc
2403a58011
MFH: better fix for #48409 , #48428 , #48228
2009-06-01 15:07:42 +00:00
Arnaud Le Blanc
b4d9c79162
MFH: Take small blocks cache into account in memory_get_usage()
2009-05-30 16:42:13 +00:00
Arnaud Le Blanc
bed00e15d1
MFH: Fix aliasing issue ( fixes #48409 , #48428 , #48228 )
2009-05-30 16:31:12 +00:00
Pierre Joye
469d4938fc
- MF52: #42143 , the constant NAN is reported as 0 on Windows
2009-05-29 08:11:36 +00:00
Sara Golemon
00a554b4a3
MFH(r-1.103) Expand zend_symtable_update_current_key to allow specifying HashPosition
2009-05-25 01:18:00 +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
Brian Shire
c80f0bf769
MFH: Fix bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning, and allow [*_-] chars at start of ini labels
2009-05-19 15:59:36 +00:00
Zoe Slattery
e5348b9152
Removing redundant UEXPECT
2009-05-18 19:16:30 +00:00
Jani Taskinen
1033af1cb3
MFH: Fixed module loading order and made request shutdown functions also to
...
be loaded in reverse like all other shutdowns are.
2009-05-13 18:48:20 +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
85bcfa89ad
- Added missing param checks
2009-05-11 14:14:52 +00:00
Jani Taskinen
2a31dbbadf
MFH:- Removed unnecessary TSRMLS_FETCH() calls
2009-05-11 08:31:15 +00:00
Jani Taskinen
daae8fb6fc
MFH: cs + ws
2009-05-11 07:52:49 +00:00
Jani Taskinen
f3bd837434
MFH: sync
2009-05-10 23:08:52 +00:00
Jani Taskinen
1338aa26be
sync with HEAD
2009-05-10 22:39:33 +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
Matt Wilmas
e7c5f3cfa4
Regenerate
2009-05-05 01:44:52 +00:00
Matt Wilmas
09034cf3f4
MFH: Implemented manual scanning for strings/comments, plus misc. fixes
2009-05-05 01:35:44 +00:00
Jani Taskinen
adb22f71c1
MFH:- Fix compile warning in debug mode
2009-05-01 21:46:53 +00:00
Brian Shire
9e8a9e8bf1
MFH: fix DVAL_TO_LVAL conversion for static array indexes, related to bug #46701
2009-04-22 21:27:19 +00:00
Dmitry Stogov
197a950b49
Fixed bug #48004 (Error handler prevents creation of default object)
2009-04-21 09:40:13 +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
Stanislav Malyshev
e27be1e76c
add utility macro
2009-04-08 23:06:16 +00:00
Matt Wilmas
12805abff7
MFH: Changed spelling from "build" to "built"
2009-04-08 13:26:35 +00:00
Dmitry Stogov
ae2226133a
Improved specialization (IS_CONST can't be IS_OBJECT)
2009-04-08 13:19:34 +00:00
Dmitry Stogov
c8e5bc5988
Calculate hash value once
2009-04-08 13:17:58 +00:00
Dmitry Stogov
0b6065e89a
Removed deprecated code and fixed function name in error message
2009-04-08 13:17:09 +00:00
Dmitry Stogov
7a1cca3f08
Added ability to check build_id by extension
2009-04-08 12:19: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
Dmitry Stogov
0f5c395ba1
Improved GC speed and reduced stack usage
2009-04-03 18:52:21 +00:00
Dmitry Stogov
875a27b7ed
Fixed bug #47851 (is_callable throws fatal error)
2009-04-02 09:56:33 +00:00
Felipe Pena
dc683c85f4
- MFH: Fixed bug #47852 (Compilation failure in zend_alloc.c) (Matteo)
2009-04-01 16:55:47 +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
bcd9099b28
Fixed bug #47038 (Memory leak in include)
2009-03-25 15:23:58 +00:00
Dmitry Stogov
4a4d739e49
Fixed bug #47699 (autoload and late static binding)
2009-03-25 10:39:26 +00:00
Dmitry Stogov
343bcc26ab
Fixed double efree()
2009-03-24 16:35:53 +00:00
Dmitry Stogov
4658d9408b
Fixed "-0" parsing and optimized overflow check (Matt)
2009-03-24 16:02:50 +00:00
Dmitry Stogov
8f14aed31b
Fixed warning
2009-03-20 11:23:00 +00:00
Matt Wilmas
021e5d168f
MFH: Removed extra space from eval string
2009-03-19 18:34:16 +00:00
Dmitry Stogov
9f32cb2d39
Fixed check for long integer overflow
2009-03-19 15:16:10 +00:00
Dmitry Stogov
3a30cfe1e0
Removed unnecassary checks
2009-03-18 18:49:27 +00:00
Moriyoshi Koizumi
8ae17615d7
- Add support for CP850 encoding (patch by Denis Giffeler)
2009-03-18 17:44:25 +00:00
Moriyoshi Koizumi
5f863af8be
- Typo.
2009-03-18 17:06:40 +00:00
Moriyoshi Koizumi
a9a9e75b0b
- Add entries for the encodings that are already supported by mbstring but
...
not listed here.
2009-03-18 17:03:38 +00:00
Moriyoshi Koizumi
f1d24dfcb7
- staticise private symbols.
2009-03-18 16:51:15 +00:00
Matt Wilmas
56ee50ac62
MFH: Fixed test on 64-bit
2009-03-18 16:30:21 +00:00
Dmitry Stogov
daac1a6273
Improved speed of conditional jump instructions by checking for most useful case (conditional expression)
2009-03-18 14:17:15 +00:00
Dmitry Stogov
e66bd02bc6
Inline only the most useful code
2009-03-18 14:15:28 +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
Dmitry Stogov
15de25b228
Forgotten file (sorry)
2009-03-18 11:53:10 +00:00
Dmitry Stogov
69ce7ea442
optimization
2009-03-18 11:25:37 +00:00
Dmitry Stogov
c6e55db534
Forgotten include
2009-03-18 10:41:39 +00:00
Dmitry Stogov
31c0af245e
Fixed floating point mathematic speed degradation (Christian)
2009-03-18 10:18:10 +00:00
Dmitry Stogov
d3b42700a0
Better fix for bug #45877 (smaller and faster)
2009-03-18 09:48:55 +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
Pierre Joye
dec9e1910c
- MFH: disable HAVE__CONTROLFP_S with VC9, 3x times slowdown
2009-03-17 13:34:26 +00:00
Dmitry Stogov
cc91da1bd7
Fixed bug #47664 (get_class returns NULL instead of FALSE)
2009-03-16 09:51:32 +00:00
Brian Shire
dd031eee68
MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content.
2009-03-16 01:40:14 +00:00
Brian Shire
9c16bfa194
MFH: Add proper EOF handling for language scanner. Fixes bug #46817 .
2009-03-11 22:11:53 +00:00
Dmitry Stogov
742d0b6b68
Fixed speed degradation on gcc-4.3 because of less agressive inlining
2009-03-11 12:14:34 +00:00
Dmitry Stogov
e2c3c7aa44
Clenaup deprecated namespace code
2009-03-10 10:01:44 +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
2bc612bc0c
- Fixed typo
2009-03-05 16:49:47 +00:00
Felipe Pena
c43b935b65
- MFH: Fixed bug #47572 (zval_update_constant_ex: Segmentation fault)
2009-03-05 16:25:43 +00:00
Ilia Alshanetsky
e66b91c063
Fixed bug #47549 (get_defined_constants() return array with broken
...
array categories)
2009-03-03 23:42:51 +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
Dmitry Stogov
d3d02fbc83
Fixed zend_print_zval_r_ex() to use the write callback function
2009-02-18 10:55:08 +00:00
Zoe Slattery
d980c018d4
fix test
2009-02-17 20:23:45 +00:00
Matt Wilmas
645e15c2ea
MFH: Overflow comment
2009-02-17 15:15:18 +00:00
Matt Wilmas
a7eb83fef5
MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux)
2009-02-17 14:15:52 +00:00
Rasmus Lerdorf
8eea998406
Unmangle
2009-02-14 21:20:16 +00:00
Rasmus Lerdorf
70ecb3074a
2.4.1 is safe
2009-02-14 21:08:02 +00:00
Antony Dovgal
76398ae804
add test
2009-02-11 10:02:11 +00:00
Antony Dovgal
4e2c0bc905
MFH: fix bug #47353 (crash when creating a lot of objects in object destructor)
2009-02-11 09:58:23 +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
Nuno Lopes
afb19fe0a5
regenerate
2009-02-02 19:23:38 +00:00
Nuno Lopes
7f6ff02f5c
fix bug #46347 : allow * in ini keys
2009-02-02 19:23:13 +00:00
Nuno Lopes
86df0f095d
the offset parameter of mmap() must be aligned to a page boundary (although linux doesnt strictly require it).
...
use 0 as offset as it will be small and increment the ptrs afterwards
2009-01-28 23:18:49 +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
David Soria Parra
72b20010d3
MFH: Fix compiler warning. munmap expects a void pointer.
2009-01-25 14:03:09 +00:00
David Soria Parra
8defc0474a
Fix WS
2009-01-25 13:41:50 +00:00
David Soria Parra
a44511f33c
MFH: Fix WS
2009-01-25 13:39:56 +00:00
Sebastian Bergmann
e115709774
MFH: Patch by David Soria Parra <dsp@php.net>.
2009-01-25 11:07:40 +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
Felipe Pena
27c77c3985
MFH:
...
- Added header
- Fixed compiler warning ("no newline at end of file")
2009-01-17 17:18:00 +00:00
Johannes Schlüter
cf84f2c5f5
MFH Fix Zend extensions
2009-01-17 16:14:59 +00:00
Stanislav Malyshev
5d8c9f8c56
Build IDs
2009-01-17 02:05:13 +00:00
Pierre Joye
f704a50732
- add EG(windows_version_info), set at init time once per instance
...
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
2009-01-16 00:57:43 +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
f7abb84b43
Fixed bug #46755 (warning: use statement with non-compound name)
...
Fixed bug #46979 (use with non-compound name *has* effect)
2009-01-14 13:57:42 +00:00
Dmitry Stogov
5d060ebe05
Fixed __call() to be invoked on private/protected method access through callbacks
2009-01-14 11:56:08 +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
Antony Dovgal
514e633327
MFH: add zend_ts_hash_copy_to_hash()
2009-01-09 19:16:55 +00:00
Ilia Alshanetsky
71ea95354b
MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI
...
opened files.
2009-01-09 17:21:12 +00:00
Antony Dovgal
7670ad31e6
MFH: use correct check for constants and stop segfaulting
...
(5_2 doesn't need this)
2009-01-08 22:36:03 +00:00
Andrei Zmievski
93adc26ed7
Add test for last commit.
2009-01-07 22:35:51 +00:00
Andrei Zmievski
26bb96e218
Changed __call() to be invoked on private/protected method access,
...
similar to properties and __get().
2009-01-07 22:12:39 +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
b5d15b2975
- MFH Prevent instantiation from Reflection
2009-01-03 19:29:55 +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
d9a78a887f
- MFH Add reflection support helpers
2009-01-03 12:25:59 +00:00
Felipe Pena
bfcea7ffa8
- MFH: Year++
2009-01-02 20:45:43 +00:00
Marcus Boerger
2aba368462
- MFH Catch exceptions in cli -a
2009-01-02 13:14:49 +00:00
Pierre Joye
8d62f3dd02
- fix build (declaration first please)
2009-01-02 01:50:13 +00:00
Ilia Alshanetsky
fec58a89ee
Fixed bug #46844 (php scripts or included files with first line starting
...
with # have the 1st line missed from the output).
2009-01-01 20:16:24 +00:00
Marcus Boerger
480fccce37
- MFH Add var_dump support for closures
2009-01-01 16:22:44 +00:00
Marcus Boerger
41cc091141
- MFH Fix SEGV if get_method() returns a non bound function
2009-01-01 15:28:15 +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
Marcus Boerger
2faea53de2
- Sync with HEAD, no ability to not start builtin functions
2008-12-31 14:05:22 +00:00
Marcus Boerger
8797aa99b7
MFH
...
- Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:21 +00:00
Marcus Boerger
63d00f7006
- MFH Move stdClass registering where it should be
2008-12-31 12:26:33 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
06de2c4de2
MFH: Bump copyright year, 1 of 3.
2008-12-31 11:13:47 +00:00
Marcus Boerger
826cc0dc3d
- MFH Provide a core module that contains all Zend and php/main (in 5.3 incl. stdClass)
2008-12-30 20:15:28 +00:00
Hannes Magnusson
7cfc6b9116
Fix arginfo and proto
2008-12-30 18:55:16 +00:00
Marcus Boerger
ff037203c7
MFH Use a module struct for the built-in functions
2008-12-30 18:17:44 +00:00
Scott MacVicar
db73c5ec74
MFH Fix bug #45991 - UTF-8 BOM breaks ini parser
2008-12-24 13:49:31 +00:00
Etienne Kneuss
f48d22afa1
MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes)
2008-12-22 14:11:49 +00:00
Stanislav Malyshev
feb50cd762
initialize op1
2008-12-15 11:29:36 +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
cb98d43a6a
- MFH: Fixed autoconf 2.13 issues with FP checks.
2008-12-02 21:06:50 +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
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
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Dmitry Stogov
e46d328934
Fixed bug #46106 (Memory leaks when using global statement)
2008-09-17 15:11:28 +00:00
Dmitry Stogov
df9b7a1fe0
Fixed possible crash because of overriden error handler
2008-09-17 13:08:54 +00:00
Dmitry Stogov
1474d9dfad
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:16 +00:00
Etienne Kneuss
6ebc3a8b9b
MFH: Fix #45656 (new Class silenting exceptions in autoloaders)
2008-09-15 10:19:53 +00:00
Stanislav Malyshev
a873cfc134
update scanner files
2008-09-11 00:34:10 +00:00
Stanislav Malyshev
193dd31a22
Fix BC issue with ini scanner.
...
# Now in "": \LETTER is literal, \" is escaped ", value ending with \" is literal
2008-09-11 00:33:38 +00:00
Arnaud Le Blanc
ffb76017d5
MFH: Fixed #45928 (large scripts from stdin are stripped at 16K border)
2008-09-10 10:28:39 +00:00
Matt Wilmas
22a5aea161
MFH: - 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:47 +00:00
Matt Wilmas
2e6d655efd
MFH: - 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()
2008-08-29 17:54:29 +00:00
Dmitry Stogov
8bf32f28f2
Imporoved compile-time constant substitution (Matt)
2008-08-29 10:17:08 +00:00
Dmitry Stogov
03f4121452
Fixed bug #45910 (Cannot declare self-referencing constant)
2008-08-26 08:38:26 +00:00
Felipe Pena
1152c18e2a
- New test
2008-08-25 19:55:54 +00:00
Felipe Pena
77e7f1c191
- New tests
2008-08-25 19:36:01 +00:00