mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +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
|