mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
18 lines
212 B
PHP
18 lines
212 B
PHP
--TEST--
|
|
No more errmsg: can now change initial value of property
|
|
--FILE--
|
|
<?php
|
|
|
|
class test1 {
|
|
static protected $var = 1;
|
|
}
|
|
|
|
class test extends test1 {
|
|
static $var = 10;
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Done
|