summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-05-27 15:48:37 +0000
committerXuefer <xuefer@gmail.com>2014-05-27 15:48:37 +0000
commit5f8c3d0ee3de8611a8b98367da46ea28179435db (patch)
tree27722843f645f61ccde23215f8da454edb489bc9 /devel
parent23d83bef264dfe8129df2a628127a1918fc9f59f (diff)
downloadxcache-5f8c3d0ee3de8611a8b98367da46ea28179435db.tar.gz
xcache-5f8c3d0ee3de8611a8b98367da46ea28179435db.zip
Decompiler PHP_5_6: updated support for zend_ast
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1488 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rw-r--r--devel/sample.cpp.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/sample.cpp.php b/devel/sample.cpp.php
index 1eec32e..5e3264b 100644
--- a/devel/sample.cpp.php
+++ b/devel/sample.cpp.php
@@ -44,6 +44,12 @@ abstract class ClassName
static public $static_const10 = array(CONST_VALUE => CONST_VALUE);
static public $static_const11 = array(self::CONST_VALUE => self::CONST_VALUE);
static public $static_const12 = array(ClassName::CONST_VALUE => ClassName::CONST_VALUE);
+ static public $ast_binop = ClassName::CONST_VALUE + ClassName::CONST_VALUE;
+ static public $ast_and = ClassName::CONST_VALUE && 1;
+ static public $ast_or = ClassName::CONST_VALUE || 2;
+ static public $ast_select = ClassName::CONST_VALUE ? a : b;
+ static public $ast_unaryPlus = +ClassName::CONST_VALUE;
+ static public $ast_unaryMinus = -ClassName::CONST_VALUE;
/** doc */
static public $public_static = array(2, 'str');
/** doc */