summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/php/nestif.php
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl-framework/t/htdocs/php/nestif.php')
-rw-r--r--debian/perl-framework/t/htdocs/php/nestif.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/perl-framework/t/htdocs/php/nestif.php b/debian/perl-framework/t/htdocs/php/nestif.php
new file mode 100644
index 0000000..6b0654a
--- /dev/null
+++ b/debian/perl-framework/t/htdocs/php/nestif.php
@@ -0,0 +1,15 @@
+<?php $a=1; $b=2;
+ if($a==0):
+ echo "bad";
+ elseif($a==3):
+ echo "bad";
+ else:
+ if($b==1):
+ echo "bad";
+ elseif($b==2):
+ echo "good";
+ else:
+ echo "bad";
+ endif;
+ endif?>
+