[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.101.119: ~ $
--TEST--
Twig supports the "starts with" operator
--TEMPLATE--
{{ 'foo' starts with 'f' ? 'OK' : 'KO' }}
{{ not ('foo' starts with 'oo') ? 'OK' : 'KO' }}
{{ not ('foo' starts with 'foowaytoolong') ? 'OK' : 'KO' }}
{{ 'foo' starts      with 'f' ? 'OK' : 'KO' }}
{{ 'foo' starts
with 'f' ? 'OK' : 'KO' }}
{{ 'foo' starts with '' ? 'OK' : 'KO' }}
{{ '1' starts with true ? 'OK' : 'KO' }}
{{ '' starts with false ? 'OK' : 'KO' }}
{{ 'a' starts with false ? 'OK' : 'KO' }}
{{ false starts with '' ? 'OK' : 'KO' }}
--DATA--
return []
--EXPECT--
OK
OK
OK
OK
OK
OK
KO
KO
KO
KO

Filemanager

Name Type Size Permission Actions
_self.test File 107 B 0644
array.test File 1.55 KB 0644
array_call.test File 230 B 0644
binary.test File 489 B 0644
bitwise.test File 207 B 0644
call_argument_defined_twice.test File 229 B 0644
call_positional_arg_after_named_arg.test File 272 B 0644
comparison.test File 280 B 0644
divisibleby.test File 268 B 0644
dotdot.test File 534 B 0644
ends_with.test File 538 B 0644
floats.test File 256 B 0644
grouping.test File 110 B 0644
literals.test File 207 B 0644
magic_call.test File 475 B 0644
matches.test File 221 B 0644
method_call.test File 480 B 0644
negative_numbers.test File 174 B 0644
not_arrow_fn.test File 159 B 0644
operators_as_variables.test File 242 B 0644
postfix.test File 266 B 0644
power.test File 226 B 0644
sameas.test File 323 B 0644
starts_with.test File 569 B 0644
string_operator_as_var_assignment.test File 221 B 0644
strings.test File 201 B 0644
ternary_operator.test File 342 B 0644
ternary_operator_noelse.test File 124 B 0644
ternary_operator_nothen.test File 130 B 0644
two_word_operators_as_variables.test File 245 B 0644
unary.test File 179 B 0644
unary_macro_arguments.test File 606 B 0644
unary_precedence.test File 153 B 0644