mirror of
https://github.com/php/php-src.git
synced 2024-09-30 14:26:12 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
18 lines
210 B
PHP
18 lines
210 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";
|
|
?>
|
|
--EXPECT--
|
|
Done
|