mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
13 lines
361 B
PHP
13 lines
361 B
PHP
--TEST--
|
|
Extendig DatTime and calling __set_state without args
|
|
--CREDITS--
|
|
Gabriel Caruso (carusogabriel34@gmail.com)
|
|
--FILE--
|
|
<?php
|
|
class MyDateTime extends DateTime {
|
|
public static function __set_state() {}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Declaration of MyDateTime::__set_state() must be compatible with DateTime::__set_state(array $array) in %s on line %d
|