Commit Graph
79136 Commits
Author SHA1 Message Date
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
Nikita Popov 0d43a277b8 Use zval_get_string in a few more places 2014-04-21 17:55:58 +02:00
Nikita Popov bda96e3c58 Use zval_get_string in print_zval and propagate TSRMLS 2014-04-21 17:55:58 +02:00
Nikita Popov 5c8697184f Bring zval_get_string implement in line with make_printable_zval
As make_printable_zval is the "main" string cast, match that one.
2014-04-21 17:55:58 +02:00
Dmitry Stogov 72c287bd23 Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word 2014-04-21 18:25:34 +04:00
Dmitry Stogov afe66d89a1 Cleanup 2014-04-21 16:34:40 +04:00
Dmitry Stogov acd77dec81 Use alloca() for temporary allocation 2014-04-21 15:18:19 +04:00
Dmitry Stogov fd24614cd9 Inline simple function 2014-04-21 15:18:05 +04:00
Dmitry Stogov 3c42593735 Removed duplicate code 2014-04-21 15:17:48 +04:00
Dmitry Stogov dd464fb582 Use ZEND_HASH_FOREACH_* macros 2014-04-21 14:20:05 +04:00
Dmitry Stogov f71da39210 Use ZEND_HASH_FOEACH_* instead of zend_hash_apply_* 2014-04-21 13:55:25 +04:00
Dmitry Stogov e9f4d822b0 Avoid useles copy ctor 2014-04-21 13:19:52 +04:00
Xinchen Hui e48b9ad197 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-21 14:14:00 +08:00
Dmitry Stogov 54d9ad53f4 More ZEND_HASH_FOREACH_* related changes 2014-04-19 00:08:14 +04:00
Dmitry Stogov 277f8f6391 ZEND_HASH_FOREACH_* usage 2014-04-18 21:49:07 +04:00
Dmitry Stogov c1e900e4c0 Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2 2014-04-18 19:20:39 +04:00
Nikita Popov 85f537bfc0 Revert "Fix include/eval with custom zend_execute"
This reverts commit ead8a6636d.
2014-04-18 17:19:46 +02:00
Nikita Popov f76c683d37 Revert "Fix zend_eval_string (and as such assert + dom tests)"
This reverts commit 64cc5a72e2.
2014-04-18 17:19:31 +02:00
Dmitry Stogov 7652a977a8 Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family. 2014-04-18 19:18:11 +04:00
Nikita Popov 64cc5a72e2 Fix zend_eval_string (and as such assert + dom tests) 2014-04-18 14:35:59 +02:00
Nikita Popov ead8a6636d Fix include/eval with custom zend_execute 2014-04-18 13:44:19 +02:00
Dmitry Stogov ea2e1bb1eb Optimized zend_leave_helper() 2014-04-18 13:46:36 +04:00
Nikita Popov 8a14276701 Fix libxml external entity loading 2014-04-18 00:15:13 +02:00
Nikita Popov c3c47c431e Move libxml_destroy_fci to RSHUTDOWN
If this is only done in post shutdown and the function name is
an object (e.g. closure), the object will already be freed during
zend_deactivate.

I left the rest of the shutdown procedure in post shutdown, as it
presumably has a reason to be there...
2014-04-18 00:15:13 +02:00
Nikita Popov 59d45e69f4 Fix libxml/sxe/dom node import/export
Also fix sxe zts.
2014-04-18 00:15:13 +02:00