Beispiel #1
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '<ul class="items">
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('items')), $in, true, function ($cx, $in) {
        return '		<li>' . LCRun3::encq($cx, $in) . ' for ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('root', 'user'))) . '</li>
';
    }) . '</ul>
';
};
Beispiel #2
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
each partial....
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, true, function ($cx, $in) {
        return '' . '  Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
  This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
  Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . '--
' . '  <div class="yui3-u-1-2 member-status">
   <ul class="h-list">
' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('login_status')), $in, function ($cx, $in) {
            return '' . (LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('is_login'))) ? '     <li><a href="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('edit_account_link'))) . '">Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('username'))) . '</a></li>
     <li><a href="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('logut_link'))) . '">Logout</a></li>
' : '') . '' . (!LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('is_login'))) ? '     <li>New User? <a href="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('register_link'))) . '">Register Now</a></li>
     <li><a href="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('login_link'))) . '">Login</a></li>
' : '') . '';
        }) . '    <li><a>About Auction</a></li>
   </ul>
  </div>
' . '';
    }) . 'end each.

if + with + partial:
' . (LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('test'))) ? 'w>' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('people')), $in, function ($cx, $in) {
        return '
  p>' . 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
Beispiel #3
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array('helper1' => function ($args, $named) {
        $u = isset($args[0]) ? $args[0] : 'undefined';
        $t = isset($args[1]) ? $args[1] : 'undefined';
        return "<a href=\"{$u}\">{$t}</a>";
    }), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!

. Test 1: ' . LCRun3::ch($cx, 'helper1', array(array(LCRun3::v($cx, $in, array('url')), LCRun3::v($cx, $in, array('text'))), array()), 'raw') . '
. Test 2: ' . LCRun3::ch($cx, 'helper1', array(array(LCRun3::v($cx, $in, array('url')), LCRun3::v($cx, $in, array('text'))), array()), 'encq') . '
. Test 3: ' . LCRun3::ch($cx, 'helper1', array(array(LCRun3::v($cx, $in, array('test', 'url')), LCRun3::v($cx, $in, array('test', 'text'))), array()), 'encq') . '
. Test 4: ' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, true, function ($cx, $in) {
        return '
  * ' . LCRun3::ch($cx, 'helper1', array(array(LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('url')), LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('text'))), array()), 'encq') . ' <= ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('url'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('text'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('url'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('text'))) . ' !!
  * ' . LCRun3::ch($cx, 'helper1', array(array(LCRun3::v($cx, $in, array('url')), LCRun3::v($cx, $in, array('text'))), array()), 'encq') . ' <= ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('url'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('text'))) . ' , ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('url'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('text'))) . ' :D
';
    }) . '';
};
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
include this:
' . '    Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
    This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
    Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . 'end include.
section partial....
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, false, function ($cx, $in) {
        return '' . '  Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
  This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
  Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . '';
    }) . 'end section.

Winners: ' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, false, function ($cx, $in) {
        return '' . LCRun3::encq($cx, $in) . '(' . LCRun3::raw($cx, $in) . ') = ' . LCRun3::encq($cx, $in) . '(' . LCRun3::raw($cx, $in) . ')';
    }) . '

Partial1:' . 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . '
Partial2:' . 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . '
Partial3:' . 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('empty_var'))) . '中文
Test \\on \'spacing in mustache: Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . '
Partial4:' . 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
' . $sp . '			        class="mw-ui-button mw-ui-constructive"
' . $sp . '			        data-flow-interactive-handler="apiRequest"
' . $sp . '			        data-flow-api-handler="submitReply"
' . $sp . '			        data-flow-api-target="< .flow-topic"
' . $sp . '			        data-flow-eventlog-action="save-attempt"
' . $sp . '			>' . htmlentities((string) (isset($in['actions']['reply']['text']) && is_array($in['actions']['reply']) ? $in['actions']['reply']['text'] : null), ENT_QUOTES, 'UTF-8') . '</button>
' . $sp . '' . LCRun3::p($cx, 'flow_form_cancel_button', array(array($in), array()), '			') . '			<small class="flow-terms-of-use plainlinks">' . LCRun3::ch($cx, 'l10nParse', array(array('flow-terms-of-use-reply'), array()), 'encq') . '</small>
' . $sp . '		</div>
' . $sp . '	</form>
' . $sp . '' : '') . '';
    }, 'flow_post_replies' => function ($cx, $in, $sp) {
        return '' . $sp . '<div class="flow-replies">
' . $sp . '' . LCRun3::sec($cx, isset($in['replies']) && is_array($in) ? $in['replies'] : null, $in, true, function ($cx, $in) use($sp) {
            return '' . LCRun3::hbch($cx, 'eachPost', array(array(isset($cx['sp_vars']['root']['rootBlock']) && is_array($cx['sp_vars']['root']) ? $cx['sp_vars']['root']['rootBlock'] : null, $in), array()), $in, false, function ($cx, $in) use($sp) {
                return '			<!-- eachPost nested replies -->
' . $sp . '			' . LCRun3::ch($cx, 'post', array(array(isset($cx['sp_vars']['root']['rootBlock']) && is_array($cx['sp_vars']['root']) ? $cx['sp_vars']['root']['rootBlock'] : null, $in), array()), 'encq') . '
' . $sp . '';
            }) . '';
        }) . '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['postId']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['postId'] : null, '===', isset($in['postId']) && is_array($in) ? $in['postId'] : null), array()), $in, false, function ($cx, $in) use($sp) {
            return '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['action']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['action'] : null, '===', 'reply'), array()), $in, false, function ($cx, $in) use($sp) {
                return '' . LCRun3::p($cx, 'flow_reply_form', array(array($in), array()), '			') . '';
            }) . '';
        }) . '</div>
';
    }), 'scopes' => array(), 'sp_vars' => array('root' => $in), 'lcrun' => 'LCRun3');
    return '' . LCRun3::wi($cx, isset($in['revision']) && is_array($in) ? $in['revision'] : null, $in, function ($cx, $in) {
        return '	<div id="flow-post-' . htmlentities((string) (isset($in['postId']) && is_array($in) ? $in['postId'] : null), ENT_QUOTES, 'UTF-8') . '"
	     class="flow-post' . (LCRun3::ifvar($cx, isset($in['isMaxThreadingDepth']) && is_array($in) ? $in['isMaxThreadingDepth'] : null) ? ' flow-post-max-depth' : '') . '"
	     data-flow-id="' . htmlentities((string) (isset($in['postId']) && is_array($in) ? $in['postId'] : null), ENT_QUOTES, 'UTF-8') . '"
	>
' . (LCRun3::ifvar($cx, isset($in['isModerated']) && is_array($in) ? $in['isModerated'] : null) ? '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['showPostId']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['showPostId'] : null, '===', isset($in['postId']) && is_array($in) ? $in['postId'] : null), array()), $in, false, function ($cx, $in) {
' . $sp . '	     data-flow-id="' . htmlentities((string) (isset($in['postId']) && is_array($in) ? $in['postId'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '	>
' . $sp . '' . (LCRun3::ifvar($cx, isset($in['isModerated']) && is_array($in) ? $in['isModerated'] : null) ? '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['showPostId']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['showPostId'] : null, '===', isset($in['postId']) && is_array($in) ? $in['postId'] : null), array()), $in, false, function ($cx, $in) use($sp) {
                return '' . LCRun3::p($cx, 'flow_post_inner', array(array($in), array()), '				') . '';
            }, function ($cx, $in) use($sp) {
                return '				<div class="flow-post-main flow-post-moderated">
' . $sp . '					<span class="flow-moderated-post-content">
' . $sp . '' . LCRun3::p($cx, 'flow_post_moderation_state', array(array($in), array()), '						') . '					</span>
' . $sp . '				</div>
' . $sp . '';
            }) . '' : '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['action']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['action'] : null, '===', 'edit-post'), array()), $in, false, function ($cx, $in) use($sp) {
                return '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['rootBlock']['submitted']['postId']) && is_array($cx['sp_vars']['root']['rootBlock']['submitted']) ? $cx['sp_vars']['root']['rootBlock']['submitted']['postId'] : null, '===', isset($in['postId']) && is_array($in) ? $in['postId'] : null), array()), $in, false, function ($cx, $in) use($sp) {
                    return '' . LCRun3::p($cx, 'flow_edit_post', array(array($in), array()), '					') . '';
                }, function ($cx, $in) use($sp) {
                    return '' . LCRun3::p($cx, 'flow_post_inner', array(array($in), array()), '					') . '';
                }) . '';
            }, function ($cx, $in) use($sp) {
                return '' . LCRun3::p($cx, 'flow_post_inner', array(array($in), array()), '				') . '';
            }) . '') . '
' . $sp . '' . LCRun3::p($cx, 'flow_post_replies', array(array($in), array()), '		') . '	</div>
' . $sp . '';
        }) . '';
    }), 'scopes' => array(), 'sp_vars' => array('root' => $in), 'lcrun' => 'LCRun3');
    return '<div class="flow-board">
' . LCRun3::sec($cx, isset($in['roots']) && is_array($in) ? $in['roots'] : null, $in, true, function ($cx, $in) {
        return '' . LCRun3::hbch($cx, 'eachPost', array(array(isset($cx['sp_vars']['root']) && is_array($cx['sp_vars']) ? $cx['sp_vars']['root'] : null, $in), array()), $in, false, function ($cx, $in) {
            return '' . LCRun3::p($cx, 'flow_moderate_post', array(array($in), array()), '			') . '' . LCRun3::p($cx, 'flow_post', array(array($in), array()), '			') . '';
        }) . '';
    }) . '</div>
';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('grand_parent_id'))) . '
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('parent_contexts')), $in, false, function ($cx, $in) {
        return '  ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('parent_id'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('grand_parent_id'))) . ')
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('child_contexts')), $in, false, function ($cx, $in) {
            return '    ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('child_id'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('parent_id'))) . ' << ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('grand_parent_id'))) . ')
';
        }) . '';
    }) . '';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => false, 'jsobj' => false, 'spvar' => true, 'prop' => false, 'method' => false, 'mustlok' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array('block' => 'Flow\\TemplateHelper::block'), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array(), 'sp_vars' => array('root' => $in), 'lcrun' => 'LCRun3');
    return '' . LCRun3::sec($cx, isset($in['blocks']) && is_array($in) ? $in['blocks'] : null, $in, true, function ($cx, $in) {
        return '	' . LCRun3::ch($cx, 'block', array(array($in), array()), 'encq') . '
';
    }) . '<div class="flow-ui-load-overlay"></div>
<div style="clear: both"></div>
';
};
' . $sp . '' . (LCRun3::ifvar($cx, isset($in['actions']['reply']) && is_array($in['actions']) ? $in['actions']['reply'] : null) ? '' . LCRun3::hbch($cx, 'ifCond', array(array(isset($cx['sp_vars']['root']['submitted']['postId']) && is_array($cx['sp_vars']['root']['submitted']) ? $cx['sp_vars']['root']['submitted']['postId'] : null, '===', isset($in['postId']) && is_array($in) ? $in['postId'] : null), array()), $in, false, function ($cx, $in) use($sp) {
            return '' . LCRun3::p($cx, 'flow_reply_form', array(array($in), array()), '			') . '';
        }, function ($cx, $in) use($sp) {
            return '' . LCRun3::hbch($cx, 'progressiveEnhancement', array(array(), array('type' => 'replace', 'target' => '~ a')), $in, false, function ($cx, $in) use($sp) {
                return '' . LCRun3::p($cx, 'flow_reply_form', array(array($in), array()), '				') . '';
            }) . '			<a href="' . htmlentities((string) (isset($in['actions']['reply']['url']) && is_array($in['actions']['reply']) ? $in['actions']['reply']['url'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '			   title="' . htmlentities((string) (isset($in['actions']['reply']['title']) && is_array($in['actions']['reply']) ? $in['actions']['reply']['title'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '			   class="flow-ui-input-replacement-anchor mw-ui-input"
' . $sp . '			>' . LCRun3::ch($cx, 'l10n', array(array('flow-reply-topic-title-placeholder', isset($in['properties']['topic-of-post']) && is_array($in['properties']) ? $in['properties']['topic-of-post'] : null), array()), 'encq') . '</a>
' . $sp . '';
        }) . '' : '') . '</div>
';
    }, 'flow_topiclist_loop' => function ($cx, $in, $sp) {
        return '' . $sp . '' . LCRun3::sec($cx, isset($in['roots']) && is_array($in) ? $in['roots'] : null, $in, true, function ($cx, $in) use($sp) {
            return '' . LCRun3::hbch($cx, 'eachPost', array(array(isset($cx['sp_vars']['root']) && is_array($cx['sp_vars']) ? $cx['sp_vars']['root'] : null, $in), array()), $in, false, function ($cx, $in) use($sp) {
                return '' . LCRun3::p($cx, 'flow_topic', array(array($in), array()), '		') . '';
            }) . '';
        }) . '';
    }, 'flow_load_more' => function ($cx, $in, $sp) {
        return '' . $sp . '' . (LCRun3::ifvar($cx, isset($in['loadMoreObject']) && is_array($in) ? $in['loadMoreObject'] : null) ? '	<div class="flow-load-more">
' . $sp . '		<div class="flow-error-container">
' . $sp . '		</div>
' . $sp . '
' . $sp . '		<div class="flow-ui-loading"><div class="mw-ui-icon mw-ui-icon-before mw-ui-icon-advanced"></div></div>
' . $sp . '
' . $sp . '		<a data-flow-interactive-handler="apiRequest"
' . $sp . '		   data-flow-api-handler="' . htmlentities((string) (isset($in['loadMoreApiHandler']) && is_array($in) ? $in['loadMoreApiHandler'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '		   data-flow-api-target="< .flow-load-more"
' . $sp . '		   data-flow-load-handler="loadMore"
' . $sp . '		   data-flow-scroll-target="' . htmlentities((string) (isset($in['loadMoreTarget']) && is_array($in) ? $in['loadMoreTarget'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '		   data-flow-scroll-container="' . htmlentities((string) (isset($in['loadMoreContainer']) && is_array($in) ? $in['loadMoreContainer'] : null), ENT_QUOTES, 'UTF-8') . '"
Beispiel #10
0
~IF~
   ' . (LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('testval'))) ? 'YES' : '') . '
   ' . (!LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('testval'))) ? 'NO' : '') . '
~SEC~
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test2')), $in, false, function ($cx, $in) {
                return '    ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('loopval'))) . '
';
            }) . '~EACH~
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test3')), $in, true, function ($cx, $in) {
                return '    ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('loopval'))) . '
';
            }) . '~END~
';
        }) . 'WITH~
';
    }) . '_WITH PATH_
' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('login_status', 'test')), $in, function ($cx, $in) {
        return 'XTEST: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('testval'))) . ' - ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('textval'))) . '
IF: ' . (LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('testval'))) ? 'YES~' : '') . '' . (!LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('testval'))) ? 'NO!' : '') . '
SECTION::' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test2')), $in, false, function ($cx, $in) {
            return ' - loop: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('loopval'))) . '';
        }) . '
EACH::' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test3')), $in, true, function ($cx, $in) {
            return '	lp:' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('loopval'))) . '';
        }) . '
END!
';
    }) . ' </ul>
</div>
';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
<ul>
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ')</li>
';
    }) . '</ul>
' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . '
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return ' THIS:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('gender'))) . '
 PARENT: ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ' END ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . ' NAME ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '
';
    }) . 'Section This:
' . LCRun3::sec($cx, $in, $in, false, function ($cx, $in) {
        return ' <li>X~' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ')</li>
';
    }) . 'Section Var:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, false, function ($cx, $in) {
        return ' <li>XXXVAR' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ')</li>
';
    }) . 'Each Var:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, true, function ($cx, $in) {
        return ' <li>XXX-EACH-VAR' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ')</li>
';
    }) . '';
};
Beispiel #12
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '<div id="yauitqna">
    <table>
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return '        <tr>
            <td class="first" colspan="2">
            <h4><a name="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '"></a>問題 $p</h4>
            ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('yid'))) . ' 暱稱:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('userName'))) . ' ( ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('recommend'))) . ' )<p>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('comment'))) . '</p>
            </td>
            <td class="asktime">$askTime</td>
        </tr>                               
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('replyer')), $in, true, function ($cx, $in) {
            return '                <tr class="gray">
                    <td class="first" colspan="2">
                        <h4><a name="579997583"></a>答覆</h4>
                        <p><a href="http://tw.user.bid.yahoo.com/tw/user/Y7379251092">EYESCREAM</a>
                        ( <a href="http://tw.user.bid.yahoo.com/tw/show/rating?userID=Y7379251092">56141</a>
                        )</p>
                        <p>Lady您好:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('comment'))) . '</p>
                    </td>
                    <td class="asktime">' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('replyTime'))) . '</td>
                </tr>
';
        }) . '';
    }) . '    </table>
</div>
';
};
Beispiel #13
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
<ul>
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . '</li>
';
    }) . '</ul>
- ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . ' -
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return ' THIS:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('gender'))) . '
';
    }) . '==
';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '<h1>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('header'))) . '</h1>
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('notEmpty')), $in, false, function ($cx, $in) {
        return '<ul>
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('item')), $in, false, function ($cx, $in) {
            return '' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('current')), $in, false, function ($cx, $in) {
                return '    <li><strong>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '</strong></li>
';
            }) . '' . (LCRun3::isec($cx, LCRun3::v($cx, $in, array('current'))) ? '    <li><a href="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('url'))) . '">' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '</a></li>
' : '') . '';
        }) . '</ul>
';
    }) . '' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('isEmpty')), $in, false, function ($cx, $in) {
        return '<p>The list is empty.</p>
';
    }) . '';
};
' . $sp . '' . (LCRun3::ifvar($cx, isset($in['links']['diff-prev']) && is_array($in['links']) ? $in['links']['diff-prev'] : null) ? '			<a href="' . htmlentities((string) (isset($in['links']['diff-prev']['url']) && is_array($in['links']['diff-prev']) ? $in['links']['diff-prev']['url'] : null), ENT_QUOTES, 'UTF-8') . '" title="' . htmlentities((string) (isset($in['links']['diff-prev']['title']) && is_array($in['links']['diff-prev']) ? $in['links']['diff-prev']['title'] : null), ENT_QUOTES, 'UTF-8') . '">' . htmlentities((string) (isset($in['links']['diff-prev']['text']) && is_array($in['links']['diff-prev']) ? $in['links']['diff-prev']['text'] : null), ENT_QUOTES, 'UTF-8') . '</a>' : '' . LCRun3::ch($cx, 'l10n', array(array('last'), array()), 'encq') . '') . '</span>' . (LCRun3::ifvar($cx, isset($in['links']['topic']) && is_array($in['links']) ? $in['links']['topic'] : null) ? '		<span><a href="' . htmlentities((string) (isset($in['links']['topic']['url']) && is_array($in['links']['topic']) ? $in['links']['topic']['url'] : null), ENT_QUOTES, 'UTF-8') . '" title="' . htmlentities((string) (isset($in['links']['topic']['title']) && is_array($in['links']['topic']) ? $in['links']['topic']['title'] : null), ENT_QUOTES, 'UTF-8') . '">' . htmlentities((string) (isset($in['links']['topic']['text']) && is_array($in['links']['topic']) ? $in['links']['topic']['text'] : null), ENT_QUOTES, 'UTF-8') . '</a></span>' : '') . ')
' . $sp . '</span>
' . $sp . '
' . $sp . '' . LCRun3::ch($cx, 'historyTimestamp', array(array($in), array()), 'encq') . '
' . $sp . '
' . $sp . '<span class="mw-changeslist-separator">. .</span>
' . $sp . '' . LCRun3::ch($cx, 'historyDescription', array(array($in), array()), 'encq') . '
' . $sp . '
' . $sp . '' . (LCRun3::ifvar($cx, isset($in['size']) && is_array($in) ? $in['size'] : null) ? '	<span class="mw-changeslist-separator">. .</span>
' . $sp . '	' . LCRun3::ch($cx, 'showCharacterDifference', array(array(isset($in['size']['old']) && is_array($in['size']) ? $in['size']['old'] : null, isset($in['size']['new']) && is_array($in['size']) ? $in['size']['new'] : null), array()), 'encq') . '
' . $sp . '' : '') . '
' . $sp . '<ul class="flow-history-moderation-menu">
' . $sp . '' . LCRun3::p($cx, 'flow_moderation_actions_list', array(array($in), array('moderationType' => 'history', 'moderationTarget' => 'post', 'moderationTemplate' => 'post', 'moderationMwUiClass' => 'mw-ui-anchor', 'moderationIcons' => false)), '	') . '</ul>
';
    }), 'scopes' => array(), 'sp_vars' => array('root' => $in), 'lcrun' => 'LCRun3');
    return '<div class="flow-board-history">
' . LCRun3::p($cx, 'flow_errors', array(array($in), array()), '	') . '
	<div class="flow-topic-histories">
		' . (LCRun3::ifvar($cx, isset($in['navbar']) && is_array($in) ? $in['navbar'] : null) ? '' . LCRun3::ch($cx, 'html', array(array(isset($in['navbar']) && is_array($in) ? $in['navbar'] : null), array()), 'encq') . '' : '') . '

		<ul>
' . LCRun3::sec($cx, isset($in['revisions']) && is_array($in) ? $in['revisions'] : null, $in, true, function ($cx, $in) {
        return '				<li>' . LCRun3::p($cx, 'flow_history_line', array(array($in), array())) . '</li>
';
    }) . '		</ul>

		' . (LCRun3::ifvar($cx, isset($in['navbar']) && is_array($in) ? $in['navbar'] : null) ? '' . LCRun3::ch($cx, 'html', array(array(isset($in['navbar']) && is_array($in) ? $in['navbar'] : null), array()), 'encq') . '' : '') . '
	</div>
</div>
';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '<ul>
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, true, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('key'))) . ' : ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' [from ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('first'))) . ' to ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('last'))) . ']</li>
';
    }) . '</ul>
';
};
Beispiel #17
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '
Children for ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ':

' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('child')), $in, true, function ($cx, $in) {
        return '' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('key')), $in, function ($cx, $in) {
            return '       The value is = ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('key'))) . ' !!
';
        }, function ($cx, $in) {
            return '        key is empty or null
';
        }) . '';
    }, function ($cx, $in) {
        return '  ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ' has no children.
';
    }) . '';
};
Beispiel #18
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test')), $in, false, function ($cx, $in) {
        return 'This is true! won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!!
';
    }) . '' . (LCRun3::isec($cx, LCRun3::v($cx, $in, array('test'))) ? 'No, this is fake! not win $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!!
' : '') . '';
};
  NOTE A: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' : ' . LCRun3::encq($cx, $in) . ' != ' . LCRun3::encq($cx, $cx['scopes'][count($cx['scopes']) - 1]) . '
S~' . LCRun3::encq($cx, $in) . '~' . LCRun3::bch($cx, 'helper3', array(array(), array()), $in, false, function ($cx, $in) {
            return '
  NOTE B: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' : ' . LCRun3::encq($cx, $in) . ' != ' . LCRun3::encq($cx, $cx['scopes'][count($cx['scopes']) - 1]) . '
';
        }) . 'E
';
    }) . '
. Test 4: ' . LCRun3::bch($cx, 'helper3', array(array(), array()), $in, false, function ($cx, $in) {
        return 'ABC';
    }) . '

. Test 5: ' . LCRun3::bch($cx, 'helper4', array(array(), array('val' => '123', 'odd' => '1')), $in, false, function ($cx, $in) {
        return '~~~' . LCRun3::encq($cx, $in) . '~~~';
    }) . '

. Test 6: ' . LCRun3::bch($cx, 'helper4', array(array(), array('val' => LCRun3::v($cx, $in, array('people')), 'odd' => LCRun3::v($cx, $in, array('test')))), $in, false, function ($cx, $in) {
        return 'TRY~~~' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, $cx['scopes'][count($cx['scopes']) - 1]) . ' ~~~';
    }) . '

. Test 7: ' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, true, function ($cx, $in) {
        return ' 
 OK! 1 ' . LCRun3::bch($cx, 'helper3', array(array(), array('val' => LCRun3::v($cx, $in, array('name')), 'odd' => LCRun3::v($cx, $in, array('value')))), $in, false, function ($cx, $in) {
            return 'TRY ?!??!!~~~' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, $cx['scopes'][count($cx['scopes']) - 1]) . ' ~~~';
        }) . '
 OK! ' . LCRun3::bch($cx, 'helper4', array(array(), array('val' => LCRun3::v($cx, $in, array('name')), 'odd' => LCRun3::v($cx, $in, array('value')))), $in, false, function ($cx, $in) {
            return 'TRY ?!~~~' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, $cx['scopes'][count($cx['scopes']) - 1]) . ' ~~~';
        }) . '
';
    }) . '';
};
Beispiel #20
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
<ul>
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people', 'boss')), $in, true, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . ')</li>
';
    }) . '</ul>
' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . '
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people', 'boss')), $in, false, function ($cx, $in) {
        return ' THIS:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('gender'))) . '
 PARENT: ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('name'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('value'))) . ', ' . LCRun3::raw($cx, LCRun3::v($cx, $in, array('end'))) . '
';
    }) . '';
};
    }) . 'end each.

##2 start each+if:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, true, function ($cx, $in) {
        return '' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('test')), $in, function ($cx, $in) {
            return '' . '  Name:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', Value:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . ', This: ' . LCRun3::encq($cx, $in) . ', Test: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('test'))) . '
' . '';
        }) . '';
    }) . 'end each+if.

##3 start each+if+with:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, true, function ($cx, $in) {
        return '' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('test')), $in, function ($cx, $in) {
            return '' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('people')), $in, function ($cx, $in) {
                return '' . '   Name:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', Value:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . ', This: ' . LCRun3::encq($cx, $in) . ', Test: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('test'))) . '
' . '';
            }) . '';
        }) . '';
    }) . 'end each+if+with.

##4 start each+with+if:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, true, function ($cx, $in) {
        return '' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('people')), $in, function ($cx, $in) {
            return '' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('test')), $in, function ($cx, $in) {
                return '' . '   Name:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', Value:' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . ', This: ' . LCRun3::encq($cx, $in) . ', Test: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('test'))) . '
' . '';
            }) . '';
        }) . '';
    }) . 'end each+with+if.
';
};
Beispiel #22
0
			color: #29AECB;
			text-decoration: none;
			border-bottom: solid 1px #eee;
		}
		ul{
			padding: 0;
			margin: 0;
		}
		li{
			list-style-type: none;
			padding: 5px;
			border-bottom: solid 1px #eee;
		}
	</style>
</head>
<body>
	<h1>List User</h1>
	<ul>
	<!-- Each User -->
		<!-- print user.nama, link user.id -->
		' . LCRun3::hbch($cx, 'formatDate', array(array(LCRun3::v($cx, $in, array('date')), 'y m d'), array()), 'encq', '$in') . '
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('user')), $in, true, function ($cx, $in) {
        return '' . (!LCRun3::ifvar($cx, LCRun3::v($cx, $in, array('show'))) ? '				<a href="./user/' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '"><li>' . LCRun3::hbch($cx, 'json', array(array($in), array()), 'encq', '$in') . ' </li></a>
' : '				<li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('nama'))) . '</li>
') . '
';
    }) . '
	</ul>
</body>
</html>';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => false, 'jsobj' => false, 'spvar' => true, 'prop' => false, 'method' => false, 'mustlok' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array('l10n' => 'Flow\\TemplateHelper::l10n', 'html' => 'Flow\\TemplateHelper::htmlHelper', 'escapeContent' => 'Flow\\TemplateHelper::escapeContent'), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array('flow_header_title' => function ($cx, $in, $sp) {
        return '' . $sp . '<h2 class="flow-board-header-title">
' . $sp . '	<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-speechBubbles"></span>
' . $sp . '	' . LCRun3::ch($cx, 'l10n', array(array('flow-board-header'), array()), 'encq') . '
' . $sp . '</h2>
';
    }, 'flow_errors' => function ($cx, $in, $sp) {
        return '' . $sp . '<div class="flow-error-container">
' . $sp . '' . (LCRun3::ifvar($cx, isset($cx['sp_vars']['root']['errors']) && is_array($cx['sp_vars']['root']) ? $cx['sp_vars']['root']['errors'] : null) ? '	<div class="flow-errors errorbox">
' . $sp . '		<ul>
' . $sp . '' . LCRun3::sec($cx, isset($cx['sp_vars']['root']['errors']) && is_array($cx['sp_vars']['root']) ? $cx['sp_vars']['root']['errors'] : null, $in, true, function ($cx, $in) use($sp) {
            return '				<li>' . LCRun3::ch($cx, 'html', array(array(isset($in['message']) && is_array($in) ? $in['message'] : null), array()), 'encq') . '</li>
' . $sp . '';
        }) . '		</ul>
' . $sp . '	</div>
' . $sp . '' : '') . '</div>
';
    }, 'flow_header_detail' => function ($cx, $in, $sp) {
        return '' . $sp . '<div class="flow-board-header-detail-view">
' . $sp . '	<div class="flow-board-header-nav">
' . $sp . '' . (LCRun3::ifvar($cx, isset($in['revision']['actions']['edit']) && is_array($in['revision']['actions']) ? $in['revision']['actions']['edit'] : null) ? '			<a href="' . htmlentities((string) (isset($in['revision']['actions']['edit']['url']) && is_array($in['revision']['actions']['edit']) ? $in['revision']['actions']['edit']['url'] : null), ENT_QUOTES, 'UTF-8') . '"
' . $sp . '			   data-flow-api-handler="activateEditHeader"
' . $sp . '			   data-flow-api-target="< .flow-board-header"
' . $sp . '			   data-flow-interactive-handler="apiRequest"
' . $sp . '			   class="mw-ui-button mw-ui-progressive  mw-ui-quiet flow-ui-tooltip-target"
' . $sp . '			   title="' . htmlentities((string) (isset($in['revision']['actions']['edit']['title']) && is_array($in['revision']['actions']['edit']) ? $in['revision']['actions']['edit']['title'] : null), ENT_QUOTES, 'UTF-8') . '">
' . $sp . '					<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-edit flow-board-header-icon"></span>' . LCRun3::ch($cx, 'l10n', array(array('flow-edit-header-link'), array()), 'encq') . '
' . $sp . '			</a>
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!

##0 start section:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, false, function ($cx, $in) {
        return '  - EACH 1- ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '
';
    }) . 'end section.

##1 start each:
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('winners')), $in, true, function ($cx, $in) {
        return '  - EACH 2 - ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '
';
    }) . 'end each.

##3 Index
Index ?: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('winners', 'name'))) . '
Index 0: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('winners', '0', 'name'))) . '
Index 1: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('winners', '1', 'name'))) . '
';
};
        }, function ($cx, $in) {
            return '  BAD! ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('badchild'))) . ' ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' - ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' Y ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . ' = ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('end'))) . '
';
        }) . '' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('good')), $in, function ($cx, $in) {
            return '    WITH: ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . ' , ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('end'))) . '
';
        }) . '';
    }) . '----------SECTION .
' . LCRun3::sec($cx, $in, $in, false, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' (' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('value'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('end'))) . ')</li>
' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('good')), $in, function ($cx, $in) {
            return '  GOOD! ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('goodchild'))) . ' ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' - ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' X ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . ' ~ ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('end'))) . '
';
        }, function ($cx, $in) {
            return '  BAD! ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('badchild'))) . ' ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' - ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' Y ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . ' = ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('end'))) . '
';
        }) . '' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('good')), $in, function ($cx, $in) {
            return '    WITH: ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('gender'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . ' , ' . LCRun3::raw($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('end'))) . '
';
        }) . '';
    }) . '</ul>
WITH TEST>
' . LCRun3::wi($cx, LCRun3::v($cx, $in, array('people')), $in, function ($cx, $in) {
        return ' single: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . ' , p -> ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . '
 ' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
            return 'loop: ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' - ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('name'))) . ' - ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 2], array('name'))) . '';
        }) . '
';
    }) . '' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . '
';
};
Beispiel #26
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return '' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('specs')), $in, true, function ($cx, $in) {
        return '   <div class="item-spec">
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('options')), $in, true, function ($cx, $in) {
            return '' . LCRun3::ifv($cx, LCRun3::v($cx, $in, array('icon')), $in, function ($cx, $in) {
                return '        <div class="spec">
            <div class="spec-overlay"></div>
            <input type="radio" id="spec-' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '-' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '" value="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '" name="' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '" alt="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '" data-name="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '"/>
            <label class="spec-label icon" for="spec-' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '-' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '" style="background-image:url(' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('icon'))) . ');">
            </label>
        </div>
';
            }, function ($cx, $in) {
                return '        <div class="spec">
            <div class="spec-overlay"></div>
            <input type="radio" id="spec-' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '-' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '" value="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '" name="' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '" data-name="' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '"/>
            <label class="spec-label" for="spec-' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '-' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '">' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . '</label>
        </div>
';
            }) . '        <script>
            document.getElementById(\'spec-' . LCRun3::encq($cx, LCRun3::v($cx, $cx['scopes'][count($cx['scopes']) - 1], array('id'))) . '-' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('id'))) . '\').className += \'hidden\';
        </script>
';
        }) . '    </div>
';
    }) . '';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'A
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
        return '=> ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('key'))) . ' , ' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('last'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('key'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('last'))) . ' # ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('index'))) . ' - ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('key'))) . ' .
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
            return ' =>> ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('key'))) . ' , ' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('last'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('key'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('last'))) . ' # ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('index'))) . ' - ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('key'))) . ' .
' . LCRun3::sec($cx, $in, $in, true, function ($cx, $in) {
                return '  =>>> ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('key'))) . ' , ' . LCRun3::encq($cx, $in) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars'], array('last'))) . ' , ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('index'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('key'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('first'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent'], array('last'))) . ' # ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('index'))) . ' - ' . LCRun3::encq($cx, LCRun3::v($cx, $cx['sp_vars']['_parent']['_parent'], array('key'))) . ' .
';
            }) . '';
        }) . '';
    }) . '';
};
Beispiel #28
0
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
This is next line.
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test')), $in, false, function ($cx, $in) {
        return 'This is true! won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!!
';
    }) . '';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '!
<ul>
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('people')), $in, false, function ($cx, $in) {
        return ' <li>' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ' is a ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('gender'))) . '</li>
';
    }) . '</ul>
' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('end'))) . '
';
};
<?php

return function ($in, $debugopt = 1) {
    $cx = array('flags' => array('jstrue' => true, 'jsobj' => true, 'spvar' => true, 'prop' => true, 'method' => false, 'mustlok' => false, 'mustsec' => false, 'echo' => false, 'debug' => $debugopt), 'constants' => array(), 'helpers' => array(), 'blockhelpers' => array(), 'hbhelpers' => array(), 'partials' => array(), 'scopes' => array($in), 'sp_vars' => array('root' => $in));
    return 'Hello ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('winner', 'name'))) . ', you have just won $' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('winner', 'value'))) . '!
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test')), $in, false, function ($cx, $in) {
        return 'Line 1
';
    }) . 'This is a test, test = ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('test'))) . '
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test')), $in, false, function ($cx, $in) {
        return 'Line 2
';
    }) . '' . (LCRun3::isec($cx, LCRun3::v($cx, $in, array('test'))) ? 'Line 3
' : '') . '' . (LCRun3::isec($cx, LCRun3::v($cx, $in, array('test'))) ? 'Line 4
' : '') . '' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('test')), $in, false, function ($cx, $in) {
        return 'Line 5
';
    }) . '' . (LCRun3::isec($cx, LCRun3::v($cx, $in, array('test'))) ? 'Line 6
' : '') . '---- double section ----
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('sec')), $in, false, function ($cx, $in) {
        return '' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ':' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '
' . LCRun3::sec($cx, LCRun3::v($cx, $in, array('sec')), $in, false, function ($cx, $in) {
            return '-- ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('name'))) . ', ' . LCRun3::encq($cx, LCRun3::v($cx, $in, array('value'))) . '--';
        }) . '
';
    }) . '';
};