--TEST--
Looped regression test (may take a while)
--FILE--
-<?php
+<?php
for ($jdk=0; $jdk<50; $jdk++) {
?><html>
<head>
*/
?>
*** Testing assignments and variable aliasing: ***
-<?php
+<?php
/* This test tests assignments to variables using other variables as variable-names */
- $a = "b";
- $$a = "test";
- $$$a = "blah";
+ $a = "b";
+ $$a = "test";
+ $$$a = "blah";
${$$$a}["associative arrays work too"] = "this is nifty";
?>
This should read "blah": <?php echo "$test\n"; ?>
*************************************************
*** Testing integer operators ***
-<?php
+<?php
/* test just about any operator possible on $i and $j (ints) */
$i = 5;
$j = 3;
*********************************
*** Testing real operators ***
-<?php
+<?php
/* test just about any operator possible on $i and $j (floats) */
$i = 5.0;
$j = 3.0;
*** Testing if/elseif/else control ***
-<?php
+<?php
/* sick if/elseif/else test by Andi :) */
$a = 5;
if ($a == "4") {
*** Seriously nested if's test ***
** spelling correction by kluzz **
-<?php
+<?php
/* yet another sick if/elseif/else test by Zeev */
$i=$j=0;
echo "Only two lines of text should follow:\n";
} elseif (2-2) { /* as long as 2-2==0, this isn't supposed to be executed either */
$i = ++$j;
echo "hmm, this shouldn't be displayed #2\n";
- if (1) {
+ if (1) {
$j = ++$i;
if (0) {
$j = $i*2+$j*($i++);
?>
*** C-style else-if's ***
-<?php
+<?php
/* looks like without we even tried, C-style else-if structure works fine! */
if ($a=0) {
echo "This shouldn't be displayed\n";
*************************
*** WHILE tests ***
-<?php
+<?php
$i=0;
$j=20;
while ($i<(2*$j)) {
*** Nested WHILEs ***
-<?php
+<?php
$arr_len=3;
$i=0;
*********************
*** hash test... ***
-<?php
+<?php
/*
$i=0;
**************************
*** Hash resizing test ***
-<?php
+<?php
$i = 10;
$a = "b";
while ($i > 0) {
*** break/continue test ***
-<?php
+<?php
$i=0;
echo "\$i should go from 0 to 2\n";
<?php include("023-2.inc"); ?>
********************************
-<?php
+<?php
{
echo "Tests completed.\n"; # testing some PHP style comment...
}
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>
*** Nested file include test ***
<html>
-This is Finish.phtml. This file is supposed to be included
+This is Finish.phtml. This file is supposed to be included
from regression_test.phtml. This is normal HTML.
and this is PHP code, 2+2=4
</html>