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
Etienne Kneuss
cc9a8ee528
MFH:
...
- Copy custom callback to the child class if any
- Prevent overwriting valid parent callbacks when implementing Serializable
- Export zend_user_(un)serialize to be available for custom callbacks
2008-08-24 18:22:33 +00:00
Marcus Boerger
ce2f9bb0cf
- MFH Fix issue with destruction of overloaded objects
2008-08-24 16:49:19 +00:00
Felipe Pena
9d5ab6e54f
- MFH: Removed unused arguments
2008-08-22 15:54:21 +00:00
Dmitry Stogov
8ed8b011ef
Removed redundant code
2008-08-22 15:28:29 +00:00
Antony Dovgal
b6a2c27232
MFH: fix zend_register_functions() not displaying duplicate functions (reported by Gopal)
2008-08-22 14:51:30 +00:00
Felipe Pena
611ef9534f
- New tests
2008-08-22 13:40:09 +00:00
Felipe Pena
317b48f3af
MFH:
...
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 00:59:39 +00:00
Dmitry Stogov
653e523a97
Fixed destruction of dl() loaded extensions
2008-08-21 16:21:43 +00:00
Felipe Pena
e597dde580
- New tests
2008-08-18 17:46:54 +00:00
Felipe Pena
9c787d8c97
- MFH: Fixed bug #45743 (property_exists fails to find static protected member in child class)
2008-08-18 17:44:02 +00:00
Arnaud Le Blanc
c481ac1e41
generated zend_ini_scanner.c
2008-08-17 21:57:52 +00:00
Arnaud Le Blanc
dee3bb2371
MFH: Allow underscore at start of labels as underscore has no meaning here
...
(fixes #44842 )
2008-08-17 21:55:26 +00:00
Arnaud Le Blanc
1defd7a9e2
MFH: Fixed #45384 (parse_ini_file will result in parse error with no trailing
...
newline)
2008-08-17 21:00:22 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Jani Taskinen
a3e7c1a318
MFH
2008-08-14 22:51:31 +00:00
Etienne Kneuss
f90255c66b
MFH: Handlerify get_closure
2008-08-14 21:36:56 +00:00
Jani Taskinen
f8c748af56
fix test
2008-08-14 20:51:55 +00:00
Felipe Pena
6b91caeba1
- Fixed test
2008-08-14 19:17:59 +00:00
Felipe Pena
542483cbe4
- New test
2008-08-14 19:14:56 +00:00
Marcus Boerger
32f9d0e180
- MFH Improve exception linking
2008-08-14 10:24:52 +00:00
Felipe Pena
3a9f17dfb8
- Fix build
2008-08-13 16:16:57 +00:00
Dmitry Stogov
1ff61ab8a4
Fixed bug #45805 (Crach on throwing exception from error handler)
2008-08-13 07:21:30 +00:00
Nuno Lopes
f87d4530c2
mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P
2008-08-12 21:45:52 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Dmitry Stogov
05376077b3
Fixed bug #45779 (regression with shebang lines processing)
2008-08-12 16:43:53 +00:00
Marcus Boerger
4ff965ee6c
- MFH Add new test
2008-08-12 11:52:16 +00:00
Marcus Boerger
d8530cc8a9
- MFH Add new test
2008-08-12 11:24:24 +00:00
Marcus Boerger
4344e2ec9e
- MFH Add missing ';'s
2008-08-12 10:23:02 +00:00
Marcus Boerger
3053a62621
- MFH Fix shutdown order
2008-08-11 17:44:15 +00:00
Marcus Boerger
106864bcbb
- MFH Fix memleak with new error handling stack'ing
2008-08-11 17:19:20 +00:00
Marcus Boerger
1b7e862444
- WS (actually my falut)
2008-08-11 10:30:21 +00:00
Dmitry Stogov
a4a3ed44bb
- Made closures implementation reflection friendly (Christian)
...
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:00 +00:00
Antony Dovgal
18547585bf
new test
2008-08-10 21:24:08 +00:00
Felipe Pena
5f68027d58
- Fixed tests (Pierre)
2008-08-10 00:35:40 +00:00
Marcus Boerger
3f7a4b7e90
- MFH error handling, now with save, replace, restore
2008-08-08 17:47:31 +00:00
Marcus Boerger
5a59d41305
- MFH store error handling mode on stack when executing internal
...
or overloaded functions and methods. [...]
2008-08-08 13:21:52 +00:00
Dmitry Stogov
ba15f6809d
Disable closures serialization/unserialization
2008-08-07 13:35:51 +00:00
Nuno Lopes
106a417378
regenerate
2008-08-07 12:23:03 +00:00
Nuno Lopes
42eed0b5cf
fix crash: yytext can't be modified because it is mmaped(). strndup() will take care of last zero char
2008-08-07 12:22:00 +00:00
Dmitry Stogov
43f278ccaf
Fixed bug #45744 (Case sensitive callback behaviour)
2008-08-07 12:04:14 +00:00
Antony Dovgal
3c018ceb75
fix WS
2008-08-07 11:51:54 +00:00
Dmitry Stogov
c1e5b1345d
Fixed bug #45742 (Wrong class array inpretetion using constant indexes)
2008-08-07 11:45:35 +00:00
Antony Dovgal
53a957e5f8
MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
2008-08-07 08:36:24 +00:00
Stanislav Malyshev
4bd1aec2f9
fix memnstr bug, by Laurent Gaffie
2008-08-05 20:14:27 +00:00
Jani Taskinen
47a2bad767
- No C++ comments in C files!
2008-08-03 11:48:20 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Felipe Pena
11bc1de770
- MFH: Removed unnecessary TSRMLS_FETCH()
2008-08-02 02:50:18 +00:00
Stanislav Malyshev
c123d7fea0
remove unneeded define
2008-08-01 22:43:16 +00:00
Dmitry Stogov
37a769353f
Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys).
2008-08-01 14:22:03 +00:00
Dmitry Stogov
1f09a6b359
Fixed constant substitution in constant expression context
2008-07-31 14:27:43 +00:00
Dmitry Stogov
f02f9b0545
Removed Closure::__toString()
2008-07-31 07:10:33 +00:00
Felipe Pena
0afc07b26a
- New test
2008-07-30 12:14:30 +00:00
Felipe Pena
555a9b0768
- MFH: Fixed BC break: The magic constants must be case-insensitive.
2008-07-30 01:25:49 +00:00
Dmitry Stogov
b6cca30211
Fixed memory leak
2008-07-29 14:28:11 +00:00
Dmitry Stogov
44caafc62e
Fixed constant substitution (Matt)
2008-07-28 14:12:19 +00:00
Felipe Pena
e062594215
- MFH: New tests
2008-07-28 14:10:00 +00:00
Moriyoshi Koizumi
ba84cd7359
- Touch.
2008-07-28 07:02:05 +00:00
Moriyoshi Koizumi
b9eaa80150
- SCNG(input_filter) can be null if the script encoding is idential to
...
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
4857586ec2
- Touch
2008-07-28 06:05:36 +00:00
Moriyoshi Koizumi
1782511e72
- WS
2008-07-28 06:05:14 +00:00
Moriyoshi Koizumi
fa8f78d96c
- touch
2008-07-28 06:00:15 +00:00
Moriyoshi Koizumi
a28497d6e5
- Fix __halt_compiler() weirdness with zend-mulibyte enabled
2008-07-28 05:59:17 +00:00
Dmitry Stogov
b2eba97d8b
Fix for bug #43487 (Wrong conversion of float to string)
2008-07-27 11:29:10 +00:00
Dmitry Stogov
64c721e04e
*** empty log message ***
2008-07-26 19:14:38 +00:00
Dmitry Stogov
8ee5b58bbe
Added checks for destroied objects
2008-07-26 18:32:20 +00:00
Dmitry Stogov
f5f8cba8e9
Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning)
2008-07-26 17:59:54 +00:00
Dmitry Stogov
b25f9f6a6a
Added support for overloaded functions (e.g. COM) in call_user_func().
2008-07-26 17:01:40 +00:00
Dmitry Stogov
478acfd8b4
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
...
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Dmitry Stogov
8b14236557
Fixed bug #45608 (closures don't work in static methods)
2008-07-26 14:15:19 +00:00
Dmitry Stogov
4f81a0c358
Fixed crashes and memory leak for objects with NULL write_property/has_property/unset_property handlers
2008-07-26 14:08:11 +00:00
Dmitry Stogov
af05ce0af6
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:04 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Dmitry Stogov
ed2d3e4c7e
Substitute persistent constants by their values at compile time. (Matt)
2008-07-25 04:54:08 +00:00
Moriyoshi Koizumi
20bca30d04
- No need to advance the cursor
2008-07-24 23:53:42 +00:00
Moriyoshi Koizumi
4f42ed39c0
- Revived zend multibyte
2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi
1f845199f7
- MFH: Suppress signedness warnings
2008-07-24 20:44:15 +00:00
Moriyoshi Koizumi
023211d8d2
- MFH: Constify read-only arguments
2008-07-24 20:39:48 +00:00
Felipe Pena
0fbe6a0c14
- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
2008-07-24 19:52:24 +00:00
Dmitry Stogov
2cca3d0dd2
Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt)
2008-07-24 13:46:28 +00:00
Dmitry Stogov
44325e6473
Fixed bug #45178 (memory corruption on assignment result of "new" by reference)
2008-07-24 11:47:51 +00:00
Dmitry Stogov
feb8580166
LSB parent/self forwarding
2008-07-24 09:42:18 +00:00
Jani Taskinen
d10d4e48c3
ws
2008-07-22 07:44:41 +00:00
Dmitry Stogov
4d8bdd9d1b
Closure object cannot have properties
2008-07-22 07:29:31 +00:00
Derick Rethans
05d2ae4c9e
- This test works fine (patch by Lars Strojny)
2008-07-22 07:13:52 +00:00
Scott MacVicar
e19f52047c
Optimisation for zend_memnstr when the needle is only a single character. (Patch by Michal Dziemianko - GSoC08)
2008-07-21 18:47:02 +00:00
Dmitry Stogov
9d4064afc0
Added check for small ZEMD_MM_SEG_SIZE
2008-07-21 17:06:35 +00:00
Hannes Magnusson
ee40f557a7
Fix tests (patch by Lars)
2008-07-21 12:23:38 +00:00
Hannes Magnusson
d619b57efa
MFH: Add E_USER_DEPRECATED (patch by Lars Strojny)
2008-07-21 09:41:00 +00:00
Marcus Boerger
2b5e4d4553
- MFH Little debug hack to allow printing vm function
2008-07-21 08:14:24 +00:00
Moriyoshi Koizumi
579bb2a9dc
- Fix the header (thanks Johannes)
2008-07-20 15:10:24 +00:00
Moriyoshi Koizumi
91fba3893b
- WS fix
2008-07-20 12:47:34 +00:00
Felipe Pena
c3453925c5
- Deprecate ticks
2008-07-17 19:29:34 +00:00
Stanislav Malyshev
10e7231f2a
vc9 build fix
2008-07-17 17:48:50 +00:00
Felipe Pena
a142b6cd86
- New tests
2008-07-14 13:36:40 +00:00
Dmitry Stogov
0fa7fedfde
Fixed is_callable() to support closures and return appropriate function name
2008-07-14 12:18:23 +00:00
Felipe Pena
bc12bc69aa
- Fixed test titles
2008-07-14 11:57:44 +00:00