示例#1
0
  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]) . ' ~~~';
        }) . '
';
    }) . '';
};