1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 14:31:19 +02:00

More tests

git-svn-id: file:///svn/phpbb/trunk@9100 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Chris Smith
2008-11-23 22:39:31 +00:00
parent 500eb05c48
commit 6e2d2f85b5
7 changed files with 147 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
<?php
echo "testing included php";

View File

@@ -8,6 +8,7 @@
<!-- IF 32 is odd -->fail<!-- ELSE -->pass<!-- ENDIF -->
<!-- IF 32 is div by 16 -->pass<!-- ELSE -->fail<!-- ENDIF -->
<!-- IF 24 == 24 -->pass<!-- ELSE -->fail<!-- ENDIF -->
@@ -83,3 +84,5 @@
<!-- IF 6 % 4 == 2 -->pass<!-- ELSE -->fail<!-- ENDIF -->
<!-- IF 24 mod 12 == 0 -->pass<!-- ELSE -->fail<!-- ENDIF -->
<!-- IF not (43 > 53) -->pass<!-- ELSE -->fail<!-- ENDIF -->

View File

@@ -1,5 +1,7 @@
<!-- IF S_VALUE -->
1
<!-- ELSEIF S_OTHER_VALUE -->
2
<!-- ELSE -->
0
<!-- ENDIF -->

View File

@@ -0,0 +1 @@
<!-- INCLUDEPHP _dummy_include.php -->

View File

@@ -9,10 +9,15 @@
{loop.VARIABLE}
<!-- IF loop.VARIABLE -->set<!-- ENDIF -->
<!-- IF loop.S_LAST_ROW -->last<!-- ENDIF -->
<!-- BEGIN inner -->
{inner.S_ROW_NUM}
<!-- IF inner.S_LAST_ROW and inner.S_ROW_NUM and inner.S_NUM_ROWS -->last inner<!-- ENDIF -->
<!-- END inner -->
<!-- END loop -->
<!-- IF .loop.inner -->inner loop<!-- ENDIF -->

View File

@@ -0,0 +1 @@
<!-- PHP -->echo "test";<!-- ENDPHP -->