summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/php/func2.php
blob: 64ea7959efe1b2caf9d3b9ad35c43b6ef91d3436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
old_function blah (
  static $hey=0,$yo=0;

  echo "hey=".$hey++.", ",$yo--."\n";
);

blah();
blah();
blah();
if (isset($hey) || isset($yo)) {
  echo "Local variables became global :(\n";
}