xref: /php-src/tests/lang/static_basic_002.phpt (revision 0b1d750d)
1--TEST--
2Multiple declarations of the same static variable
3--FILE--
4<?php
5
6static $a = 10;
7static $a = 11;
8
9?>
10--EXPECTF--
11Fatal error: Duplicate declaration of static variable $a in %s on line %d
12