#
9eb89ddd |
| 23-May-2014 |
Dmitry Stogov |
Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.
|
#
1d8c499b |
| 23-May-2014 |
Nikita Popov |
Optimize int to string conversion Probably platform depedentant, but for me snprintf is terribly slow. The code for the long printing is taken from the smart string API.
|
#
6f0f8511 |
| 16-May-2014 |
Nikita Popov |
Assert that EMPTY_SWITCH_DEFAULT_CASE() cannot be reached in debug
|
#
f089d63d |
| 13-May-2014 |
Anatol Belski |
C89 compat
|
#
88c550a7 |
| 09-May-2014 |
Xinchen Hui |
Added vstrpprintf strpprintf to avoid duplicate string (the function name maybe improvement)
|
#
9343f874 |
| 09-May-2014 |
Nikita Popov |
Fix identical comparison of arrays with references Also commit a test I forgot.
|
#
42d4adab |
| 03-May-2014 |
Nikita Popov |
Fix SXE->string cast for __toString in inheriting class This issue was originally hacked around in zend_make_printable_zval. I've now moved the overridden __toString() handling into the
Fix SXE->string cast for __toString in inheriting class This issue was originally hacked around in zend_make_printable_zval. I've now moved the overridden __toString() handling into the SXE cast_object handler, so everything invoking that handler (zend_make_printable_zval, convert_to_string, zval_get_string, and various other more obscure usages) see the same behavior.
show more ...
|
#
d820ea9f |
| 01-May-2014 |
Nikita Popov |
Avoid superflous allocations in convert_to_string Taken from zval_get_string.
|
#
17d027ed |
| 30-Apr-2014 |
Dmitry Stogov |
Split IS_BOOL into IS_FALSE and IS_TRUE
|
#
5db9312e |
| 25-Apr-2014 |
Nikita Popov |
Add dst parameter to convert_object_to_type macro Avoids a ZVAL_DUP in the zval_get_* functions. Also improve object-to-array cast a bit by initializing the array with correct n
Add dst parameter to convert_object_to_type macro Avoids a ZVAL_DUP in the zval_get_* functions. Also improve object-to-array cast a bit by initializing the array with correct number of elements and not doing a alloc-init-free cycle when convert_object_to_type succeeds.
show more ...
|
#
778946b3 |
| 25-Apr-2014 |
Nikita Popov |
Use convert_scalar_to_array only for arrays
|
#
93f9518a |
| 25-Apr-2014 |
Nikita Popov |
Align zval_get_long/double with zval_get_string
|
#
5864ce8a |
| 22-Apr-2014 |
Dmitry Stogov |
Fixed compilation warnings
|
#
fa588a5c |
| 21-Apr-2014 |
Dmitry Stogov |
Use shorter call chain
|
#
4ed452c1 |
| 21-Apr-2014 |
Dmitry Stogov |
Convert zval_get_string() into "fast path" macro and "slow path" function
|
#
0d43a277 |
| 21-Apr-2014 |
Nikita Popov |
Use zval_get_string in a few more places
|
#
5c869718 |
| 21-Apr-2014 |
Nikita Popov |
Bring zval_get_string implement in line with make_printable_zval As make_printable_zval is the "main" string cast, match that one.
|
#
72c287bd |
| 21-Apr-2014 |
Dmitry Stogov |
Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
|
#
7a1a6092 |
| 15-Apr-2014 |
Nikita Popov |
Add functions for extracting long/double/string from zval These function get the long / double / string value of a zval with usual cast semantics, but without actually modifying the zval
Add functions for extracting long/double/string from zval These function get the long / double / string value of a zval with usual cast semantics, but without actually modifying the zval. Didn't go on a killing spree for convert_to_* yet...
show more ...
|
#
050d7e38 |
| 15-Apr-2014 |
Dmitry Stogov |
Cleanup (1-st round)
|
#
a0690ff2 |
| 15-Apr-2014 |
Xinchen Hui |
Fixed zend_object_get_t in simpleXML
|
#
20f2e598 |
| 09-Apr-2014 |
Nikita Popov |
Fix ZTS build This only makes it compile, it doesn't actually work, presumably because interned strings are assumed in some places.
|
#
76cc99fe |
| 03-Apr-2014 |
Dmitry Stogov |
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
|
#
d8099d04 |
| 02-Apr-2014 |
Dmitry Stogov |
Changed data layout to allow more efficient operations
|
#
a25a1ba0 |
| 01-Apr-2014 |
Dmitry Stogov |
STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.
|