summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-04-18 09:29:00 +0000
committerXuefer <xuefer@gmail.com>2015-04-18 09:29:00 +0000
commit4279f1bc10ff36f32df9f63b77de11b051f21f0d (patch)
treeefec0e8237168cce107d635c761e7d5b42466544 /devel
parent4619a3c6c16b9bd9ab2468d5b990655b7d349488 (diff)
downloadxcache-4279f1bc10ff36f32df9f63b77de11b051f21f0d.tar.gz
xcache-4279f1bc10ff36f32df9f63b77de11b051f21f0d.zip
merge code from some guy. fix exit(1)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1584 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rw-r--r--devel/sample.cpp.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/sample.cpp.php b/devel/sample.cpp.php
index 6fe624d..3d16ad9 100644
--- a/devel/sample.cpp.php
+++ b/devel/sample.cpp.php
@@ -522,6 +522,8 @@ do {
} while (0);
#endif
+list($a, $b) = array(1, 2);
+
if ('if()') {
echo 'if';
@@ -544,6 +546,10 @@ else {
echo 'else';
}
+if (!'if(!)') {
+ echo 'if(!)';
+}
+
while (false) {
echo 'while';
}
@@ -695,5 +701,6 @@ $callback = function($quantity, $product) use($tax, &$total) {
};
#endif
exit();
+exit(1);
?>