mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
20 lines
289 B
PHP
20 lines
289 B
PHP
--TEST--
|
|
redefining constructor (__construct first)
|
|
--INI--
|
|
error_reporting=8191
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
function __construct() {
|
|
}
|
|
function test() {
|
|
}
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Strict Standards: Redefining already defined constructor for class test in %s on line %d
|
|
Done
|