mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
* Zend/*: fix a bunch of typos * Zend/tests/try/try_catch_finally_005.phpt: update string length
15 lines
231 B
PHP
15 lines
231 B
PHP
--TEST--
|
|
Property hooks cannot have explicitly visibility
|
|
--FILE--
|
|
<?php
|
|
|
|
class Test {
|
|
private $prop {
|
|
public get;
|
|
}
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use the public modifier on a property hook in %s on line %d
|