Commit Graph

79160 Commits

Author SHA1 Message Date
Xinchen Hui
911d58de37 Fixed tests (object id) 2014-04-25 11:02:19 +08:00
Xinchen Hui
868c2f9c88 Fixed reference handling in bindCloumn 2014-04-25 11:00:35 +08:00
Xinchen Hui
67f27bce55 Fixed register bound parameters in execute 2014-04-25 10:44:21 +08:00
Xinchen Hui
36e214c88b Fixed refcount of dbh (we don't need another refcount anymore) 2014-04-25 10:27:23 +08:00
Dmitry Stogov
e4c59d7f65 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-25 00:57:12 +04:00
Dmitry Stogov
df7ca608ce Optimized constant lookup 2014-04-25 00:56:15 +04:00
Xinchen Hui
fb81d7270e Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-24 23:29:20 +08:00
Dmitry Stogov
0ca57dd1d3 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-24 19:15:30 +04:00
Dmitry Stogov
b1ff152782 Reimplement strtr() 2014-04-24 19:14:29 +04:00
Xinchen Hui
65931501e6 Fixed Aggregate 2014-04-24 22:43:30 +08:00
Xinchen Hui
e86b287c83 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-24 21:14:57 +08:00
Xinchen Hui
9fe8531309 Various bugs fixed 2014-04-24 21:14:36 +08:00
Dmitry Stogov
65e2ed6e50 Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
ntext. They are set during zend_execute_data initialization and never changed.
2014-04-24 15:53:20 +04:00
Xinchen Hui
9824418c61 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-24 10:18:39 +08:00
Nikita Popov
d2e45b05c7 Small zts fix 2014-04-23 22:33:38 +02:00
Nikita Popov
c98d373eb6 Fix strict array comparison
Fixes Symfony test failures
2014-04-23 20:34:45 +02:00
Nikita Popov
58089c5977 Port ext/hash
Unsure what to do about hash_final
2014-04-23 20:34:05 +02:00
Nikita Popov
08ae88157b Allocate zend_strings with correct size
For me (32bit) sizeof(zend_string) is 20, which means that the
char[1] array at the end is padded with three bytes. Thus allocating
based on sizeof(zend_string)-1 overallocates by those 3 padding bytes.

This commit fixes the allocation size, by using XtOffsetOf.
2014-04-23 19:34:51 +02:00
Nikita Popov
20580a511c Fix ZTS build 2014-04-23 18:30:24 +02:00
Xinchen Hui
a30442c1c8 Refactor pdo_sqlite (only compilable) 2014-04-23 11:41:57 +08:00
Xinchen Hui
bd9f575517 Clean up (use zend_string and foreach macros) 2014-04-23 10:58:08 +08:00
Dmitry Stogov
7e424f5a95 Use symbolic names instead of magic constants + optimization 2014-04-23 02:47:41 +04:00
Nikita Popov
9c70603f4a Initialize hash as unpacked if it contains string keys 2014-04-22 21:33:49 +02:00
Nikita Popov
4912bec514 Fix zts 2014-04-22 19:39:13 +02:00
Nikita Popov
3d3a55cbcb Pass expected array size hint in INIT_ARRAY
To avoid unnecessary rehashes
2014-04-22 18:57:03 +02:00
Xinchen Hui
decda0dabe Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-23 00:18:18 +08:00
Xinchen Hui
97381369a3 Refactored sqlite3 (all tests passes) 2014-04-23 00:17:29 +08:00
Dmitry Stogov
7584ae3200 Fixed compilaation warnings 2014-04-22 18:52:59 +04:00
Dmitry Stogov
5864ce8a44 Fixed compilation warnings 2014-04-22 17:46:34 +04:00
Xinchen Hui
c0b49a701a Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-22 19:10:19 +08:00
Xinchen Hui
8581dd56af Fixed segfault cause EG(This) is modified 2014-04-22 19:08:58 +08:00
Dmitry Stogov
9cb24c47e1 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-22 14:38:00 +04:00
Xinchen Hui
09dd780c60 USE ZEND_HASH_FOREACH_* macros 2014-04-22 18:29:56 +08:00
Xinchen Hui
207f2431e8 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-22 18:23:47 +08:00
Xinchen Hui
bdfef93b42 Refactor PDO (only compilable now) 2014-04-22 18:23:03 +08:00
Dmitry Stogov
e295518bf3 Fixed typo 2014-04-22 13:11:07 +04:00
Dmitry Stogov
32e6e89887 Optimized ZEND_SEND_REF 2014-04-22 13:10:53 +04:00
Dmitry Stogov
5d479ef693 ZEND_SEND_* optimization 2014-04-22 12:33:00 +04:00
Dmitry Stogov
022fee2166 Cache knowledge about missing property_info 2014-04-22 10:11:41 +04:00
Xinchen Hui
89d89b9586 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-22 11:59:53 +08:00
Dmitry Stogov
fa588a5c82 Use shorter call chain 2014-04-22 02:34:34 +04:00
Dmitry Stogov
b886d9ce1e Use fast comparison function 2014-04-22 02:03:10 +04:00
Dmitry Stogov
1f181c0f4c Chiper __autoload() function caching 2014-04-22 01:41:40 +04:00
Dmitry Stogov
a821009a6e Avoid string duplication 2014-04-22 01:41:09 +04:00
Dmitry Stogov
ff6dc3e1f2 zend_isset_isempty_dim_prop_obj_handler() split into separate handlers. (Actually, it shared near nothing) 2014-04-22 00:32:29 +04:00
Dmitry Stogov
9610977d10 Reverted chunk committed by mistake 2014-04-21 23:32:36 +04:00
Dmitry Stogov
b9d45cc0a9 Handle references in "slow path" 2014-04-21 23:30:19 +04:00
Dmitry Stogov
4ed452c1b5 Convert zval_get_string() into "fast path" macro and "slow path" function 2014-04-21 22:36:01 +04:00
Dmitry Stogov
8ad8254a16 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-21 21:39:15 +04:00
Dmitry Stogov
4533269839 Fast path for pre/post inc/dec 2014-04-21 21:38:44 +04:00