App: manual - Page: miscellaneous/handling
App: regression/framework - Page: lenient/a_trim_count_that_is_no_number_takes_nothing_off
PHP
lenient/a_trim_count_that_is_no_number_takes_nothing_off.php
|
HTML
lenient/a_trim_count_that_is_no_number_takes_nothing_off.pad
|
Result
|
<?php
// The lenient walk under test: with the syntax check off, what cannot run passes the // value through or yields empty, and the walk carries on.
$padCheckSyntax = FALSE;
?>
|
{sequence '1..6', trim, right='x'}{$sequence} {/sequence}|{sequence '1..6', trim, both=2.5, left=1}{$sequence} {/sequence}
|
|
App: regression/framework - Page: options/right_trims_only_the_back
PHP
|
HTML
options/right_trims_only_the_back.pad
|
Result
|
|
{data 'n'} [1,2,3,4,5,6] {/data} {n trim=2, right} {$n}, {/n}
|
|
App: regression/framework - Page: sequence/an_action_in_an_expression_reads_no_option_of_the_tag_around_it
PHP
|
HTML
sequence/an_action_in_an_expression_reads_no_option_of_the_tag_around_it.pad
|
Result
|
|
[{sequence '1..3', eval='php:count(sequence:trim([1,2,3,4,5,6]))'}{$sequence} {/sequence}][{sequence '1..3', trim, right=1, eval='php:count(sequence:trim([1,2,3,4,5,6]))'}{$sequence} {/sequence}][{sequence '1..3', randomize=3, duplicates, eval='php:count(sequence:randomize([1,2,3], 5))'}{$sequence} {/sequence}][{sequence '1..6', trim, right=2}{$sequence} {/sequence}]
|
|
App: regression/framework - Page: sequence/trim_0_on_the_right_takes_nothing_off
PHP
|
HTML
sequence/trim_0_on_the_right_takes_nothing_off.pad
|
Result
|
|
{seqFixture trim=0, right} {$seqFixture}, {/seqFixture}
|
|
App: regression/framework - Page: sequence/trim_on_the_right_only
PHP
|
HTML
sequence/trim_on_the_right_only.pad
|
Result
|
|
{seqFixture trim=2, right} {$seqFixture}, {/seqFixture}
|
|
App: sequence - Page: specials/trim
|