xref: /php-src/Zend/tests/bug30407.phpt (revision f8d79582)
1--TEST--
2Bug #30407 (Strange behaviour of default arguments)
3--FILE--
4<?php
5
6function haricow($a = 'one') {
7    var_dump($a);
8    $a = 'two';
9}
10
11haricow();
12haricow();
13?>
14--EXPECT--
15string(3) "one"
16string(3) "one"
17