summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/php/eval4.php
blob: f19c1c8c01cd25f04480be0d4647cbc211e05f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

error_reporting(0);

eval("function test() { echo \"hey, this is a function inside an eval()!\\n\"; }
");

$i=0;
while ($i<10) {
  eval("echo \"hey, this is a regular echo'd eval()\\n\";");
  test();
  $i++;
}