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