summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
Commit message (Collapse)AuthorAgeFilesLines
...
* IS_REFERENCE with refcount==1 should be handled as ordinal valueDmitry Stogov2014-03-061-1/+6
|
* Handle interned strings as non-refcounted scalarsDmitry Stogov2014-03-051-1/+1
|
* Converting from reference to regular valueDmitry Stogov2014-02-281-1/+16
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-191-0/+2
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-191-1/+3
|
* Use better data structures (incomplete; able to run bench.php)Dmitry Stogov2014-02-181-0/+10
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-171-3/+74
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-141-3/+1
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-121-7/+7
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-67/+72
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Constant expressions refactoringDmitry Stogov2013-11-061-5/+3
|
* Working commit for constant scalar expressions (with constants).Bob Weinand2013-10-311-0/+10
| | | | Tests will follow.
* Provide more macros for handling of interned stringsNikita Popov2013-09-131-1/+1
| | | | | | | | | | | | | * str_erealloc behaves like erealloc for normal strings, but will use emalloc+memcpy for interned strings. * str_estrndup behaves like estrndup for normal strings, but will not copy interned strings. * str_strndup behaves like zend_strndup for normal strings, but will not copy interned strings. * str_efree_rel behaves like efree_rel for normal strings, but will not free interned strings. * str_hash will return INTERNED_HASH for interned strings and compute it using zend_hash_func for normal strings.
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-181-0/+2
|\
| * better fix for #63055Xinchen Hui2012-10-181-0/+2
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * separate properties of internal classes in ZTS mode fully,Sascha Schumann2010-08-121-0/+11
| | | | | | | | | | | | otherwise multiple threads will modify the zvals' contents without any synchronisation.
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | scalar types cleanupStanislav Malyshev2011-06-031-1/+0
| |
* | - Fixed bug #54358 (Closure, use and reference)Dmitry Stogov2011-04-081-0/+1
| | | | | | | | | | - Fixed bug #54039 (use() of static variables in lambda functions can break staticness)
* | Fixed Bug #53958 (Closures can't 'use' shared variables by value and by ↵Dmitry Stogov2011-02-141-7/+14
| | | | | | | | reference)
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Fixed issue with statics in traits.Stefan Marr2010-06-081-0/+37
| | | | | | | | | | | | #Please review this change, I moved the routine which copies statics from the closure code to zend_variables.c #Please also have a look to check whether the TSRMLS_DC is correct, and whether it fits with the rest in zend_variables, because there you are using some macro magic and I am not exactly sure what the reason is for that.
* | Fixed a memory leakIlia Alshanetsky2010-05-201-0/+1
| |
* | Added concept of interned strings. All strings constants known at compile ↵Dmitry Stogov2010-04-201-2/+4
|/ | | | time are allocated in a single copy and never changed.
* Fixed bug #50519 (segfault in garbage collection when using ↵Dmitry Stogov2010-01-111-7/+7
| | | | set_error_handler and DomDocument)
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* Fixed bug #50519 (segfault in garbage collection when using ↵Dmitry Stogov2009-12-251-0/+3
| | | | set_error_handler and DomDocument)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Added macros for managing zval refcounts and is_ref statusesYiduo (David) Wang2007-10-071-1/+1
|
* NamespacesDmitry Stogov2007-09-281-3/+3
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Speedup array/HashTable copying. (Matt W)Dmitry Stogov2006-10-031-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Use zval_ctor_func() for wrapper and update the prototype to voidAndi Gutmans2004-09-271-2/+2
|
* - Make zval_copy_ctor() return void like dtor(). No one ever checks theAndi Gutmans2004-09-271-3/+2
| | | | | - return value which is SUCCESS always.
* - Apply Thies and Sterling's patch which doesn't call ctor/dtor functionsAndi Gutmans2004-09-261-5/+2
| | | | | | - for types which don't require it (BOOL/NULL/LONG/DOUBLE) - Breaks serialization!!!
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-15/+1
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* - Better stability during premature shutdown of request startupAndi Gutmans2004-07-101-3/+5
|
* Object cloning in ze1 compatibility mode (zend.ze1_compatibility_mode) was ↵Dmitry Stogov2004-03-241-6/+1
| | | | reimplemented (Dmitry, Andi)
* - Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only ↵Zeev Suraski2004-02-251-1/+1
| | | | | | | | | | | affect auto-clone). - Perform implementation checks even with simple inheritance (off when compatibility mode is enabled). - Restore default arguments in interfaces and handle it correctly. - Move registration of internal classes later in the startup sequence in order to have INI options available.
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - Provide appropriate way to destroy internal zval's.Marcus Boerger2003-08-241-0/+37
| | | | | | - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor.
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-1/+2
|