Paweł Słowik
2012-08-31 ffb160147a324f4b8744d13c97e1ca4177a8167a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--TEST--
Test of prefix comments handling
--SKIPIF--
--FILE--
<?php
include '../lib/rcube_sieve_script.php';
 
$txt = '
# this is a comment
# and the second line
 
require ["variables"];
set "b" "c";
';
 
$s = new rcube_sieve_script($txt, array(), array('variables'));
echo $s->as_text();
 
?>
--EXPECT--
# this is a comment
# and the second line
 
require ["variables"];
set "b" "c";