1
0
Fork 0
Commit Graph

64 Commits

Author SHA1 Message Date
Xuefer bbde30a43a tests/bug52160.phpt: report multiple error correctly
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@829 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 08:38:00 +00:00
Xuefer 5daf260872 initial PHP_5_4 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@822 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 16:22:37 +00:00
Xuefer 0e72928f44 fix false assertion for empty while (1) {}
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@785 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 06:53:01 +00:00
Xuefer ed71049c18 decompiler: refix FETCH_CONSTANT for PHP_5_3 instead of messing up with UCLASS
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@778 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-20 16:14:55 +00:00
Xuefer 13e183586f fix type of op_type mismsatch for PHP 5-, assert before changing opline_num
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@769 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 07:45:56 +00:00
Xuefer cccdfd61aa decompiler: massive improvements for php 5 and 5.3
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@749 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-16 19:01:39 +00:00
Xuefer 4271653af9 PHP 6: initial catch up with php 6 literals and trait
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@716 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 07:07:48 +00:00
Xuefer fe1b49296b fix builtin constant memory leak on compile
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@705 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-03-19 14:33:02 +00:00
Xuefer 888824c874 PHP_6: fix for function and class talbe similar to previous fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@682 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-08 03:25:58 +00:00
Xuefer f7aea863c0 PHP_6: new zend_constants.dtor which is used to free zend_constant.value on shutdown. cannot be used for XCache temp zend_constants table
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@681 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-08 03:17:51 +00:00
Xuefer 15d74bace5 remove superfluous code about auto_globals
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@679 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-07 08:10:48 +00:00
Xuefer 315914c5d4 move and add back compatibile function to utils.c
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@671 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-14 02:02:53 +00:00
Xuefer 86ca8105aa use XCACHE_ERROR_CACHING macro to simplify ifdefs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@669 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-07 02:31:12 +00:00
Xuefer 80634fd463 make #ifdef's looks better for E_DEPRECATED
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@668 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-07 02:26:35 +00:00
Xuefer 4bec45f41c PHP6 build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@660 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-03 04:41:05 +00:00
Xuefer 89f3a28486 make use of internal_constant_tail otherwise 1.3 will cache unwanted constants
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@651 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-20 05:24:38 +00:00
Xuefer 4dbfbd7e1e also cache/reproduce E_DEPRECATED
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@648 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-10 04:02:07 +00:00
Xuefer bc2a3aa184 copy only internal constant, clean constant on shutdown
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@640 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 14:43:38 +00:00
Xuefer c553ca6262 PHP_6: fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@637 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 10:05:40 +00:00
Xuefer f20aec667f avoid unused function warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@635 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 09:52:21 +00:00
Xuefer 010293a523 handle compile time new constant. fixed #208: null as default value for parameters with array type hint produces a fatal error
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@588 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-04-01 08:06:38 +00:00
Xuefer 9031c962d5 remove signed/unsigned warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@555 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-05-05 13:59:25 +00:00
Xuefer bedd56400a PHP_5_3 support: uses ZEND_COMPILE_IGNORE_INTERNAL_CLASSES and ZEND_COMPILE_DELAYED_BINDING stuffs for PHP_5_3 support finally
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@548 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-21 14:36:17 +00:00
Xuefer 8560c8fa43 fixed undefined symbol zend_vspprintf, use vspprintf instead
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@545 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-15 01:59:29 +00:00
Xuefer f304523f89 PHP_6: added goto support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@515 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 11:52:35 +00:00
Xuefer 470c2fcee8 PHP_4: fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@508 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 09:17:02 +00:00
Xuefer 7dcd2de319 optimized function_table/class_table by caching hash value
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@506 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 04:45:48 +00:00
Xuefer b36dbed007 PHP_6: updated support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@504 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 03:42:14 +00:00
Xuefer 7e8177b1d5 don't catch compiler error, just warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@500 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 14:42:36 +00:00
Xuefer 52c01c2e35 fixed #157: support user error handler for E_STRICT. E_STRICT is now cached
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@496 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 11:38:57 +00:00
Xuefer b96c159e8e 5.3 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@485 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-12-28 10:16:12 +00:00
Xuefer 513ae0523a typo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@434 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-30 05:04:55 +00:00
Xuefer 49984336de full ZendOptimizer compatibility
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@405 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-31 03:48:08 +00:00
Xuefer 5a15696e8a build with vc6 by fixing TRAC va_arg
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@349 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-12 07:48:57 +00:00
Xuefer 22e597e5a8 disable copying internal class temporarily
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@346 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-04 09:55:47 +00:00
Xuefer 69120fa668 copy function/class table correctly by using add_ref
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@345 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-04 08:15:00 +00:00
Xuefer bf38b8775c copy internal functions/classes into sandbox, they're needed by compiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@344 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-04 06:22:14 +00:00
Xuefer 1609bb2f30 TRACE() instead of ifdef/fprintf
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@305 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-08 16:11:19 +00:00
Xuefer c78b30ab6d remove warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@295 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-03 01:48:53 +00:00
Xuefer 4c1af68f24 trunk: kill warning on solaris compiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@294 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-02 02:40:00 +00:00
Xuefer 5c4b4a9ffb make [269] pass test cases
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@270 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-29 10:00:55 +00:00
Xuefer d8505b39e5 do not destruct shallow copied tmp_auto_globals. also improve copying of other hash tables
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@269 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-29 08:02:58 +00:00
Xuefer e80ab3c399 full compatible with auto_globals_jit, no need to disable it from now on
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@268 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-29 02:05:01 +00:00
Xuefer 83512c514b remove false assertion.
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@264 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-24 04:38:38 +00:00
Xuefer 784cff26d0 cacher: trick in_compilation state, don't trigger !__autoload at compile time
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@235 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-11 00:26:23 +00:00
Xuefer d1ecd8fba1 cacher: php4 fix for #36
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@226 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-07 10:57:44 +00:00
Xuefer 643ed26444 cacher: fixed #41, don't early bind class that implement interface
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@214 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-05 00:37:39 +00:00
Xuefer 4537ab156d fix undefined symnbol max
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@213 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-04 00:50:01 +00:00
Xuefer c9591dbe5b fixed #41, early class binding
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@212 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-04 00:38:45 +00:00
Xuefer b47072a8eb revert wrong commit in [209]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@210 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-02 01:11:40 +00:00