mirror of
https://github.com/php/php-src.git
synced 2024-12-17 13:59:28 +08:00
19 lines
210 B
PHP
19 lines
210 B
PHP
--TEST--
|
|
redefining constructor (__construct first)
|
|
--INI--
|
|
error_reporting=8191
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
function __construct() {
|
|
}
|
|
function test() {
|
|
}
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
Done
|