mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
20 lines
290 B
Plaintext
20 lines
290 B
Plaintext
|
--TEST--
|
||
|
redefining constructor (__construct second)
|
||
|
--INI--
|
||
|
error_reporting=8191
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class test {
|
||
|
function test() {
|
||
|
}
|
||
|
function __construct() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
echo "Done\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Strict Standards: Redefining already defined constructor for class test in %s on line %d
|
||
|
Done
|