Dmitry Stogov
cbe4fa444f
Removed unused EG(orig_error_reporting)
2014-10-09 23:38:39 +04:00
Nikita Popov
df79b9b27a
Update get_class_name semantics
...
* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get_class() etc.
* As it is no longer used in get_parent_class() the parent
argument is now gone. This also fixes incorrect parent classes
being reported in COM.
* get_class_name is now always required (previously some places
made it optional and some required it) and is also required
to return a non-NULL value.
* Remove zend_get_object_classname. This also fixes a number of
potential leaks due to incorrect usage of this function.
2014-10-09 20:48:27 +02:00
Nikita Popov
c061c82945
Remove Z_OBJ_CLASS_NAME_P
...
Doesn't make much sense anymore, now that get_class_entry is
gone.
2014-10-09 20:48:27 +02:00
Dmitry Stogov
0390cde428
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.
2014-10-09 20:29:02 +04:00
Tjerk Meesters
0a50b250b2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Refactored DOMNodeList array dereferencing implementation
Conflicts:
ext/dom/nodelist.c
ext/dom/php_dom.c
2014-10-09 23:32:19 +08:00
Tjerk Meesters
59f39dea66
Refactored DOMNodeList array dereferencing implementation
2014-10-09 23:07:12 +08:00
Dmitry Stogov
2f099478a3
zval must not be converted in place without duplication
2014-10-09 18:34:19 +04:00
Nikita Popov
b09acffc04
Remove PDORow get_class_entry handler
2014-10-09 15:23:14 +02:00
Nikita Popov
9903f16e5c
Remove get_class_entry handlers in COM
2014-10-09 14:42:56 +02:00
Nikita Popov
e5e9d8346f
Remove zend_get_class_entry function
2014-10-09 14:17:30 +02:00
Nikita Popov
b3a779de68
Remove get_class_entry object handler
2014-10-09 14:08:10 +02:00
Nikita Popov
116c5ecda1
Remove proxy object implementation
2014-10-09 14:01:08 +02:00
Nikita Popov
ee5b30fa19
Remove support for classes without class entries
...
get_class_entry must be non-NULL and return non-NULL.
2014-10-09 13:58:14 +02:00
Nikita Popov
43f1c94dda
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages
2014-10-09 12:51:05 +02:00
Nikita Popov
e919caca86
Fix bug #68191 : Broken reference across objects
2014-10-09 12:05:56 +02:00
Nikita Popov
a3b880364f
Directly use zend_string for php_implode/php_explode
...
Also drop some unnecessary zval separations and copies
2014-10-09 12:05:56 +02:00
Dmitry Stogov
9b0b30272f
Copy all the arena allocated data from SHM to process memory at once
2014-10-09 14:01:19 +04:00
Tjerk Meesters
49078a6598
Merge branch 'PHP-5.6'
...
Conflicts:
ext/dom/dom_properties.h
ext/dom/nodelist.c
ext/dom/php_dom.c
2014-10-09 16:55:15 +08:00
Tjerk Meesters
72bd28a5da
Updated NEWS for #67949
2014-10-09 16:18:14 +08:00
Tjerk Meesters
8a3b41cd39
Merge branch 'pr/846' into PHP-5.6
...
* pr/846:
DOMNodeList elements are accessible through array notation
2014-10-09 15:55:10 +08:00
Tjerk Meesters
78156520ae
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS for #68129
Updated NEWS for #68129
Fixed bug #68129
2014-10-09 08:24:58 +08:00
Tjerk Meesters
cac55bad1a
Updated NEWS for #68129
2014-10-09 08:24:30 +08:00
Tjerk Meesters
f92c9b3ced
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS for #68129
Fixed bug #68129
2014-10-09 08:24:05 +08:00
Tjerk Meesters
061cb9b807
Updated NEWS for #68129
2014-10-09 08:23:42 +08:00
Tjerk Meesters
d0e51f5ce9
Fixed bug #68129
...
Empty usernames and passwords are now treated differently from no username or password
For example, empty password:
ftp://user:@example.org
Empty username:
ftp://:password@example.org
Empty username and empty password
ftp://:@example.org
2014-10-09 08:21:30 +08:00
Dmitry Stogov
320b9ef44b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added info about ext/opcache
Conflicts:
EXTENSIONS
2014-10-08 21:54:05 +04:00
Dmitry Stogov
aec519199b
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Added info about ext/opcache
2014-10-08 21:49:53 +04:00
Dmitry Stogov
09f9403a6e
Added info about ext/opcache
2014-10-08 21:48:44 +04:00
Dmitry Stogov
7fd3375fb5
Exposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()
2014-10-08 16:08:26 +04:00
Anatol Belski
db6cc049ad
let phpize profit from /mp as well
2014-10-08 11:14:23 +02:00
Anatol Belski
9a3af83ee2
fix phpize for /mp and more
2014-10-08 11:01:15 +02:00
Anatol Belski
892efcfc3d
fix /mp usage for VC++
2014-10-08 10:59:15 +02:00
Anatol Belski
b129fecef2
fix wording
2014-10-08 09:01:46 +02:00
Keyur Govande
9ca16fd809
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
2014-10-07 21:23:04 +00:00
Keyur Govande
3bd8ac6710
Add to NEWS
2014-10-07 21:22:54 +00:00
Keyur Govande
92f108801e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
2014-10-07 21:22:07 +00:00
Keyur Govande
d319a0c1d8
Add to NEWS
2014-10-07 21:21:23 +00:00
Keyur Govande
df9078ea55
Fix for bug #68087 (ODBC not reading DATE columns correctly)
...
Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.
2014-10-07 21:17:36 +00:00
Keyur Govande
f17bf04440
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
2014-10-07 21:09:57 +00:00
Keyur Govande
6f634ebb8c
Add to NEWS
2014-10-07 21:09:47 +00:00
Keyur Govande
07e285d880
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
2014-10-07 21:08:33 +00:00
Keyur Govande
bcda6c9392
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
2014-10-07 21:08:18 +00:00
Keyur Govande
d21602c072
Add to NEWS
2014-10-07 21:07:19 +00:00
Keyur Govande
648673bffe
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
...
gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.
2014-10-07 20:58:43 +00:00
Dmitry Stogov
fe501914f0
Micro optimization
2014-10-07 23:48:55 +04:00
Dmitry Stogov
2ea97c6f5a
Improved return by reference handling
2014-10-07 22:38:37 +04:00
Dmitry Stogov
75b5dc6369
Reorder fields for better alignment on both 32-bit and 64-bit systems
2014-10-07 18:12:09 +04:00
Dmitry Stogov
67be34ec95
Remove useless parts of EX(old_error_reporting)
2014-10-07 17:54:24 +04:00
Dmitry Stogov
33e137d409
Merged EX(frame_kind) and EX(flags) into single word
2014-10-07 17:12:12 +04:00
Nikita Popov
e24c24c108
Fix bug #68162 : isset($$varname) always true
2014-10-06 20:39:00 +02:00